-
AuthorPosts
-
Amit Anand Friend
Amit Anand
- Join date:
- September 2014
- Posts:
- 16
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
November 1, 2013 at 1:19 pm #191903Is it possible to fix the top bar to display always while scrolling the site?
I want to see this section every time when someone is scrolling down the page.Thanks,
AA
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 1, 2013 at 4:00 pm #510910You can set the main nav to a “fixed” position by using a “fixed” property within the appropriate CSS rule.
I can take a look and try to test it out for you, but will need you to provide the url of the site you’re working on,
as well as temporarily set “Optimize CSS” to “No” within your Template Manager–General settings.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 2, 2013 at 4:34 am #510979<em>@thewebmaster 396139 wrote:</em><blockquote>Is it possible to fix the top bar to display always while scrolling the site?
I want to see this section every time when someone is scrolling down the page.Thanks,
AA</blockquote>
You can try with my below solution:
Open templates/ja_mendozite/css/template.css file
From
#ja-header { background: #222; }
#ja-mainnav { z-index: 9; background: #222; }
#ja-slideshow {
z-index: 8;
position: relative;
background: #222;
}Change to
#ja-header { background: #222; position: fixed;}
#ja-mainnav { z-index: 9; background: #222; margin-top: 70px; position: fixed;}
#ja-slideshow {
z-index: 8;
position: relative;
background: #222;
margin-top: 95px;
}
Always remember to clear cache from the Admin area after applying any changes
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 3 voices, and was last updated by Ninja Lead 11 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to Fix the Top Menu Bar
Viewing 3 posts - 1 through 3 (of 3 total)