-
AuthorPosts
-
sakari Friend
sakari
- Join date:
- February 2009
- Posts:
- 171
- Downloads:
- 111
- Uploads:
- 79
- Thanks:
- 43
- Thanked:
- 15 times in 1 posts
May 30, 2014 at 11:50 am #198316Hello friends,
have a question for you! 🙂Can you fix the whole menu header fixed this template?
Just like the Tempalte JA Muzic where the whole menu stops when scrolling!Were that possible, if so, what would you change?
Actually, you should this possibility all the Templates Future be selectable!
Thanks in advance.
regards 🙂
Sakarifmfame Friendfmfame
- Join date:
- October 2013
- Posts:
- 228
- Downloads:
- 4
- Uploads:
- 39
- Thanks:
- 8
- Thanked:
- 25 times in 1 posts
May 30, 2014 at 1:04 pm #537233Hi sakari,
It is possible. BUT…..
Every template has its own style and header layout. In decor template for example, the header has a height o 80px and the content inside has its own alignment. So if you will fix this header you have to style the header to lower height or you have to use the 80px height (and thats very much for a fixed header)
We have much different styles with and without fixed headers, so users can choose which template and layout is cool for the project they use.
however, to fix the header you can add custom.css in templates/css and add the line:
.t3-header{
position:fixed;
}So thats the easiest way to fix the header in all device widths.
But maybe you dont want to use the height of 80px, so you have to customize many other css parameters for navigation height, alignment, displaying overflowing elements etc..
I hope you understand what i mean.
1 user says Thank You to fmfame for this useful post
sakari Friendsakari
- Join date:
- February 2009
- Posts:
- 171
- Downloads:
- 111
- Uploads:
- 79
- Thanks:
- 43
- Thanked:
- 15 times in 1 posts
May 31, 2014 at 5:18 pm #537303No, it’s enough for me with the whole height of the header!
It works great!
Thanks for the help! 🙂
sakari Friendsakari
- Join date:
- February 2009
- Posts:
- 171
- Downloads:
- 111
- Uploads:
- 79
- Thanks:
- 43
- Thanked:
- 15 times in 1 posts
June 24, 2014 at 2:05 pm #540030Have overlooked something! : (
Fixation problem with the iPhone with header!
Header bar with logo is not displayed!
Please Look at the screenshots, then you can see what I mean!Without header fixation!
With header fixation!
Can anyone help? 🙂
Thanks in advance
Regards 🙂
Sakari
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 26, 2014 at 10:08 am #540259I see you added this declaration below in the custom.css file:
.t3-header{
position:fixed;
}
That’s reason why the header bar is always fixed on top of your site.
sakari Friendsakari
- Join date:
- February 2009
- Posts:
- 171
- Downloads:
- 111
- Uploads:
- 79
- Thanks:
- 43
- Thanked:
- 15 times in 1 posts
June 30, 2014 at 8:07 am #540590I’ve also added this code, but in the iPhone the logo is no longer displayed!
Am I doing this code out again, then the logo is displayed!
What happens when your inserting it?Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
July 1, 2014 at 9:19 am #540768This tweak will help to fix the problem on mobile phone.
Open templates/ja_decor/css/custom.css file and add this rule:
@media screen and (max-width: 992px) {
.t3-header {
position: relative !important;
}
}1 user says Thank You to Ninja Lead for this useful post
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by sakari 10 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum