Home › Forums › WoodMart support forum › responsive menu
responsive menu
- This topic has 17 replies, 4 voices, and was last updated 4 years ago by Artem Temos.
-
AuthorPosts
-
November 6, 2020 at 1:42 pm #239449
AndersParticipanthow to achieve this, see video
November 6, 2020 at 9:00 pm #239564
Elise NoromitMemberHello,
We can reduce the font size of the menu items at the point when the menu is broken:
Please add this code to the Theme Settings > Custom CSS > Global:
@media screen and (max-width:1438px){ body .woodmart-navigation .item-level-0>a { padding-right: 5px; padding-left: 5px; } } @media screen and (max-width:1329px){ body .whb-color-dark .navigation-style-bordered .item-level-0 > a { font-size: 11px; } } @media screen and (max-width:1235px){ body .whb-color-dark .navigation-style-bordered .item-level-0 > a { font-size: 8px; } }
Best Regards
November 8, 2020 at 10:46 am #239863
AndersParticipantcheck video
but so far so goodNovember 9, 2020 at 10:16 am #240123
Elise NoromitMemberHello,
Please comment all your custom CSS related to the menu. Remove the custom I have provided. Provide site admin access.
Best Regards
November 11, 2020 at 7:31 pm #240862
AndersParticipantdone š
November 12, 2020 at 8:26 am #240967
Elise NoromitMemberHello,
Please comment or remove all your custom CSS code related to the header main menu
Best Regards
November 12, 2020 at 8:28 am #240969
AndersParticipanti removed the code you gave me above ^^
November 12, 2020 at 12:39 pm #241043
Bogdan DonovanKeymasterIn the following reply we asked you to:
1. Remove custom code that we provided to you in this reply
2. Remove or disable your custom code related to the header main menu (for example height, background, font-size, colour and others: https://prnt.sc/vhz7zi, https://prnt.sc/vhz8j0, https://prnt.sc/vhz8xx)Your custom CSS code override theme styles and options which does not allow us to prepare custom code for you to make your menu justified and responsive like on the site you provided as an example.
Best Regards
November 12, 2020 at 3:15 pm #241078
AndersParticipantI would love to outcommen the css code, but since its a live running webshop, and i dont know when you guys will come with a soultion (this is not to be disrespectful) then my client does not wish to do that.
would it be possible to just add !important to all your custorm code ?
November 13, 2020 at 7:06 am #241215
Bogdan DonovanKeymasterTry to add the following code snippet to the General Custom CSS area in Theme Settings.
.woodmart-navigation .menu { display: flex; justify-content: space-between; padding-left: 8px; padding-right: 8px; flex-wrap: nowrap; } .woodmart-navigation .item-level-0 { flex-grow: 1; } .whb-header-bottom.whb-flex-flex-middle .whb-col-center { flex-basis: 100%; width: 100%; } @media (max-width: 1240px) { body .woodmart-navigation .menu .item-level-0 > a { font-size: 10px !important; padding-left: 5px; padding-right: 5px; } }
Best Regards
November 13, 2020 at 7:44 am #241227
AndersParticipantit sort of is really close.
November 13, 2020 at 8:16 am #241234
Bogdan DonovanKeymasterTry to replace previous custom code with this one:
.woodmart-navigation .menu { display: flex; justify-content: space-between; padding-left: 8px; padding-right: 8px; flex-wrap: nowrap; } .woodmart-navigation .item-level-0 { flex-grow: 1; display: flex; align-items: center; justify-content: center; } .woodmart-navigation .item-level-0:not(:last-child) { margin-right: 2px; } .whb-header-bottom.whb-flex-flex-middle .whb-col-center { flex-basis: 100%; width: 100%; } .woodmart-navigation .menu .item-level-0 > a { white-space: nowrap } .menu-item:not(:last-child) a { border:none; } @media (max-width: 1450px) { body .woodmart-navigation .menu .item-level-0 > a { font-size: 10px !important; } } @media (max-width: 1300px) { body .woodmart-navigation .menu .item-level-0 > a { font-size: 9px !important; padding-left: 5px; padding-right: 5px; } }
Best Regards
November 16, 2020 at 8:32 am #241857
AndersParticipantworks very well on my end, a tons of thanks from me and my client.
Today though he experince that on mac + chrome, that the megamneu dropdown, is pushed to the sideAttachments:
You must be logged in to view attached files.November 16, 2020 at 8:35 am #241864
AndersParticipantcould you
November 16, 2020 at 8:46 am #241872
AndersParticipantmac came with a big os update yesterday, those who didnt update it sees the mega menu fine, those who does, it will fuck up. even in chrome browser.
November 16, 2020 at 2:02 pm #242019
Elise NoromitMemberHello,
Please make the full backup of your site and update the theme and related plugins to the recent version. https://xtemos.com/docs/woodmart/update-theme-2/
Best Regards
November 17, 2020 at 7:37 am #242175
AndersParticipantHi Elise
we have updated the theme to the newest version and cleared catch.
client on the new mac update is still seeing the problems.November 17, 2020 at 2:18 pm #242315
Artem TemosKeymasterPlease, disable all external plugins that are not related to our theme so we can check.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register