-
AuthorPosts
-
March 29, 2015 at 4:52 am #419948
Hello I am seeking for a css code to change the height of header when responsive.
I am using the latest Enfold.
Thanks!
March 30, 2015 at 2:32 pm #420435Hi szzyp!
Could you provide us with a link to the site in question so that we can take a closer look please? Also, a description of how you want it to look and/or screenshots or a mockup. If you want to have a go yourself you can use the following CSS media queries:
/* Smaller than standard 960 (devices and browsers) */ @media only screen and (max-width: 959px) {} /* Tablet Portrait size to standard 960 (devices and browsers) */ @media only screen and (min-width: 768px) and (max-width: 959px) {} /* All Mobile Sizes (devices and browser) */ @media only screen and (max-width: 767px) {} /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ @media only screen and (min-width: 480px) and (max-width: 767px) {} /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */ @media only screen and (max-width: 479px) {}
Regards,
RikardMarch 30, 2015 at 2:35 pm #420439This reply has been marked as private.March 31, 2015 at 7:03 am #420963Hi!
Great, thanks for the link. Could you please provide us with screenshots highlighting how you want it to look instead? It’s difficult for us to help you unless you are as specific as possible.
Cheers!
RikardApril 1, 2015 at 4:17 am #421715This reply has been marked as private.April 1, 2015 at 4:23 am #421719This reply has been marked as private.April 2, 2015 at 4:52 am #422258Hey!
Looks like logging in is required to view the page, could you please provide us with a temporary admin login so that we can take a closer look? You can post the details here as a private reply.
Best regards,
RikardApril 2, 2015 at 6:40 am #422281This reply has been marked as private.April 2, 2015 at 8:32 am #422329When you finished admin use please let me know Thanks!
April 2, 2015 at 4:50 pm #422594Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
#advanced_menu_toggle { right: 5%; color: white; } #advanced_menu_toggle:after { content: 'Menu'; font-size: 18px; position: relative; top: -4px; left: 5px; color: white; }
Regards,
YigitApril 3, 2015 at 6:17 am #422883I have applied the code but the height problem is still exist…
April 3, 2015 at 6:23 am #422886so let’s just focus on this question – how could I make the header FIXED 50px under any condition… especially when responsive?
April 3, 2015 at 2:05 pm #423025Hey!
I added following code to Quick CSS
@media only screen and (max-width: 767px) { #header_main .container { max-height: 50px; } #header_main { height: 50px; } .responsive .logo img { max-height: 50px; } .responsive .logo a { vertical-align: top; }}
Please review your website now
Regards,
YigitApril 3, 2015 at 11:10 pm #423295Thanks! Please consider this as resolved!
April 4, 2015 at 7:44 am #423388 -
AuthorPosts
- The topic ‘Change Header Height when Responsive’ is closed to new replies.