- This topic has 3 replies, 2 voices, and was last updated 6 years, 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Free Themes › WEN Business › Changing Menu CSS
Tagged: menu
I have 6 tabs on my menu and because there is so much space between the tabs and possibly because the tabs in the menu bar are all caps the menu bar is going onto two lines.
I need a CSS code that can make the necessary changes to fit my menu bar on one line.
Hello @swati98,
Thank you for using the theme.
Can you please provide your site URL so that we can provide the precise fix on this?
Thank you.
Regards!!
I am currently working on a staging site so im not sure if this will work
http://g1f.3b6.myftpupload.com/
I tried this code
.main-navigation ul ul {
top: 100%;
}
and it did not work.
Hello @swati98,
Currently, in the desktop version, all the menu items are displayed on the same line as you can see in the below given screenshot:
But if you want to display the menu item in the same line in responsive view then please add below given CSS by going to Admin Panel > Appearance > Customize > Additional CSS.
@media screen and (max-width: 1200px){
#site-navigation ul li a {
font-size: 11px;
padding: 5px 0px 15px;
}
}
Hope this helps.
Regards!!
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |