Hi Team,
where can I change the visible height of the header picture and the width of the primary navigation?
Thanks for helping.
11 replies · opened Dec 11, 2019
Hi Team,
where can I change the visible height of the header picture and the width of the primary navigation?
Thanks for helping.
While testing here:
http://www.keineart.de/index-boxed.html
I'd like to change the height px of the visible header picture. For example half of the height.
And can I change separately the header height for desktop view, tablet and smartphone ?
And I would like to have the opened primary navigation mega menu not full screen (from left to right) but only the width of the content, for example like here:
http://themes.semicolonweb.com/html/canvas/alternate-mobile-menu.html
I mean the width of the opened menu at Pages, Portfolio, Blog or Shortcodes.
How can I do this? I didn't find it.
Thanks for your help.
Hello,
Apologies about the misunderstanding, however, we are not really sure about your query. It would be great if you can please provide us with more detailed instructions or a screenshot of what you are trying to edit so that we can provide you with a more accurate reply.
Meanwhile, regarding your queries:
Consider using this CSS Generator for your Custom Header Height: http://support.semicolonweb.com/header-height-css-generator/ .
To change the Width of the Primary Menu, simply use the following code:
#primary-menu { max-width: 700px; }Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Hi, please see the attached screenshots and read my explainings again. I hope you understand then.
Thanks for your help.
I found the menu width question:
I replaced:
<header id="header" class="transparent-header full-header" data-sticky-class="not-dark">
simply with:
<header id="header">
Now it's the menu width I wanted.
By the way: why it's no possible that I edit my last post? When I click "EDIT" I get the error message:
You do not have a License for Reply To: Header height and navigation width to Add New Replies. Please Purchase or Renew your License.
?
Hello,
Thank You so much for providing us with a more explained example.
...
This will automatically make the Header and the Menu within the Container.
This will definitely work fine. Hope this Helps!
Currently, you cannot edit the Replies after creating them to avoid discrepancies. We will introduce more options for this in the Future.
Let us know if we can help you with anything else or if you find any further issues.
Perfect, thank you, now I can change the height of the desktop view.
And how can I change the height of the slider area in other screens (tablet and mobile) ? See my attachment for better understanding.
Thank you for your help.
Suggestion for the reply function: you could enable this, only BEFORE you answer the question, so there would be no discrepancies for you, I think.
Hello,
You can simply add the following attributes to the .slider-element DIV to set heights according to the Devices:
You can change the Values according to your needs.
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Hi,
thank you but it didn't work.
I just replaced your above code
<section id="slider" class="slider-element slider-parallax swiper_wrapper clearfix" style="height: 300px;">
with your code from the last message
<section id="slider" class="slider-element slider-parallax swiper_wrapper clearfix" data-height-xl="300" data-height-lg="300" data-height-md="300" data-height-sm="300" data-height-xs="300">
but this doesn't have any effect in the other screen sizes.
Could you please check it again?
Or did you mean I should write this into the style.css file ?
Hello,
You will need to add this Code replacing the older #slider Codes in the HTML Page. Also the data-height-*="300", where the ***** stands for Device Size, you will need to change the Value 300 according to the Height you want to display in Each Device. Suppose, if you want to display 300px in XL (>1200px) Device and 400px in LG Device (991px) then you will have to use data-height-xl="300" and data-height-lg="400". This goes the same way for other device sizes.
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Hi,
this is exactly what I did, but it doesn't have any effect.
To test it and to see the results clearly I wrote all devices with 600:
<section id="slider" class="slider-element slider-parallax swiper_wrapper clearfix" data-height-xl="600" data-height-lg="600" data-height-md="600" data-height-sm="600" data-height-xs="600">
Please check the result here:
http://www.keineart.de/index-boxed.html
Only the desktop screen has 600px. For the other devices the code has no effect (and there should be also 600px everywhere, but it isn't).
Hello,
Oh Wow! We Really Apologize about the Inconveniences caused regarding this along with the unnecessary delays. We will run more tests as to why this is not working as expected. Meanwhile, consider using the CSS Code below:
.device-xl #slider { height: 400px !important; }
.device-lg #slider { height: 400px !important; }
.device-md #slider { height: 400px !important; }
.device-sm #slider { height: 400px !important; }
.device-xs #slider { height: 400px !important; }This will definitely work fine. The Responsive Classes are as follows:
.device-xl – Class for Large Devices >=1200px
.device-lg – Class for Medium Devices >=992px to 1199px
.device-md – Class for Tablets
.device-sm – Class for Landscape Mobiles or Phablets.
.device-xs – Class for Portrait Mobiles
You will need to add any Custom CSS codes in the css/custom.css File. Additionally, make sure that you have checked out the Documentation > Start > Customization Section for complete details on how to use the css/custom.css File.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard