Home › Forums › Jevelin Theme › sticky menu style 1 height adjustment
Home › Forums › Jevelin Theme › sticky menu style 1 height adjustment
Hi Shufflehound,
Can you tell me how do I adjust the height of the desktop sticky menu (style number 1)? There isn’t any padding around it now. Thanks.
Elton
Hi @greenbulb,
I hope you are well today and thank you for your question.
You can adjust it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
.sh-header:not(.sh-header-4):not(.sh-header-5):not(.sh-header-6) .sh-nav > li.menu-item > a { padding-top: 5px; padding-bottom: 5px; }
Best regards,
Shufflehound team
It is not working because of CSS specificity issue on your shared site so please try changing the above shared CSS code as following.
#page-container .sh-header:not(.sh-header-4):not(.sh-header-5):not(.sh-header-6) .sh-nav > li.menu-item > a { padding-top: 5px; padding-bottom: 5px; }
Sorry, looks like I have just found another firefox related bug. Please see the attached pic which is a comparison between the contact form input field of Firefox and Chrome on Windows 10. The same code running on Chrome display correctly but place holder text and user typed text is not displaced on Firefox. Please kindly help me fix it. Thanks.
Elton
I replaced the earlier CSS code with the latest one but the padding is still the same. Am I missing something?
I can see it is smaller now but if you want it more smaller then also use below custom CSS code.
.header-logo { padding: 0; }
Clear your browser cache to see the result.
Sorry, looks like I have just found another firefox related bug. Please see the attached pic which is a comparison between the contact form input field of Firefox and Chrome on Windows 10. The same code running on Chrome display correctly but place holder text and user typed text is not displaced on Firefox. Please kindly help me fix it. Thanks.
To help us keep support thread separates could you please create new thread for each of your other questions instead of asking them in your single thread as it makes the thread messy and hard to read.
If you want to you can also add reference of this thread in your newly created thread.
We would be more than happy to help you on your new thread.
Alright, after a lot of trial and error. I understand that it works. You need to add and !important to have it work.
.header-logo {
padding: 0 !important;
}
Also I want to have the sticky menu shrink down but keep the size of the default one. The CSS code should be
#page-container .sh-sticky-header-active:not(.sh-header-4):not(.sh-header-5):not(.sh-header-6) .sh-nav > li.menu-item > a {
padding-top: 5px;
padding-bottom: 5px;
}
My battle with the menu has come to an end. Thanks.
You are most welcome here š