Forum Support

 
Advanced Search


[1]

Offline antic
Free Member
Posts: 402
Posted on: July 13, 2015, 02:28:45 AM

Is it possible to make the top menu of this template stick to the top while scrolling? Would you give me directions on how to accomplish this?
The url is www.olympic.rs
Thanking you in advance!
Alex
Logged

Offline mikenicoll
Free Member
Posts: 20162 WWW
Posted on: July 14, 2015, 02:42:25 AM

Hello,

Generally you should just be able to add a position:fixed call to the menu layer. The way you have it setup wouldn't work though as the header and menu are separate elements so the menu would float further down the page and not be locked at the top.

The type of change would require some custom programming changes in the index.php to combine both the menu and header block into a single <div>. Then you could specify a fixed position on that div so when you scroll down it will always be locked at the top.

Regards,
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.014 seconds with 22 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.