fbpx
Welcome, Guest
Username: Password: Remember me

You can build one page sites with Astroid

Did you know that you can build one page website web Astroid, without using any 3rd party extension

Watch the tutorial

TOPIC: Sticky On Scroll Up for Topbar Section?

Sticky On Scroll Up for Topbar Section? 2 months 3 days ago #14688

Hello!
How to make Topbar Section as Sticky On Scroll Up?
The administrator has disabled public write access.

Sticky On Scroll Up for Topbar Section? 2 months 3 days ago #14691

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Posts: 2559
  • Thank you received: 390
  • Karma: 79
Hello,

It's not part of the header thus it's not possible to make it part of the sticky header. Why did we do it this way? Adding the bar will increase the height of the sticky bar, which means less content will be visible on smaller devices, which is not what you want.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Sticky On Scroll Up for Topbar Section? 2 months 3 days ago #14700

So, it's impossible to make it Sticky On Scroll Up ?
I mean not just Sticky, I mean Sticky On Scroll Up.
The administrator has disabled public write access.

Sticky On Scroll Up for Topbar Section? 2 months 3 days ago #14702

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Posts: 2559
  • Thank you received: 390
  • Karma: 79
Sticky only controls what's inside the header. Everything outside is kind of out of the reach of the sticky JS.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Sticky On Scroll Up for Topbar Section? 2 months 2 days ago #14707

Sticky only controls what's inside the header
So, may be it possible to place this section inside header?
The administrator has disabled public write access.

Sticky On Scroll Up for Topbar Section? 2 months 2 days ago #14709

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Posts: 2559
  • Thank you received: 390
  • Karma: 79
You can try moving the contents of topbar.php instead header.php and see if that works :-\.

The above isn't possible. The topbar isn't a layout. You'll have to hardcode the content of top bar into sticky.php file inside the header folder.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
Last Edit: 2 months 2 days ago by admin.
The administrator has disabled public write access.
Time to create page: 0.141 seconds

JD Builder - The Next Generation
Joomla Page Builder


Now Design any Layout with Drag and Drop Interface.