Forum Support

Shape 5
December 03, 2020, 08:32:59 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Floating menu  (Read 351 times)
antic
Jr. Member
**
Offline Offline

Posts: 402



« 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
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 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

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
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.