Post by archie1_za » Mon Oct 16, 2017 10:41 pm

Hi There

I am a total newbie to opencart & to the forum.

I am trying to fix the top menu bar so when you scroll it stays fixed.

I have tried the solution on this forum

viewtopic.php?t=166117

But it doesn't seem to work. I am using version 3.0.2.0

Any help would be greatly appreciated.

Thanks

Newbie

Posts

Joined
Mon Oct 16, 2017 10:36 pm

Post by oc-extensions » Sun Oct 22, 2017 8:41 pm

Hi,

Depends on your theme, but you can do this by used css class for menu like this

Code: Select all

#menu {
position: fixed;
top: 0px;
}
Or if you want to make it fixed only after scroll x pixels you can use our method from oc-extensions.com
You can find code in js file (use view source from browser)

Wish you mane sales

Get access to 145+ extensions plus any future release


User avatar
Active Member

Posts

Joined
Fri Jan 06, 2012 11:31 pm
Who is online

Users browsing this forum: No registered users and 14 guests