Home › Forums › WoodMart support forum › Change color on mega menu
Change color on mega menu
- This topic has 15 replies, 2 voices, and was last updated 3 years, 3 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
October 12, 2021 at 7:47 am #324500
leosefParticipantHello!
I would like to change this color (look picture) I added a CSS with another background but when I refresh the site it goes back to the original color, and if I refresh back again it goes back to this (blue color) I know I can change it in settings in theme. But I want the text for products to be black. Only the header and small icon on right to be blue.Here are my CSS codes:
.menu-opener:not(.has-bg) { background-color: rgba(133, 144, 170, 1); } .menu-opener { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; min-width: 200px; max-width: 320px; height: 50px; color: #333; text-transform: var(--wd-header-el-transform); letter-spacing: .4px; font-weight: var(--wd-header-el-font-weight); font-style: var(--wd-header-el-font-style); font-size: var(--wd-header-el-font-size); font-family: var(--wd-header-el-font); line-height: 1; transition: all 0.25s ease; } .wd-header-cart.wd-design-4 .wd-cart-number { display: inline-block; padding: 0 2px; width: 19px; height: 19px; border-radius: 50%; background-color: rgba(133, 144, 170, 1); color: #FFF; text-align: center; font-weight: 700; font-size: 10px; line-height: 19px; }
Attachments:
You must be logged in to view attached files.October 12, 2021 at 7:48 am #324502
leosefParticipantEDIT: Same with the WIDTH of the mega menu. it’s a bit smaller, but when i refresh it goes to orignal size, if i refresh again it goes back to smaller.
October 12, 2021 at 8:15 am #324509
Aizaz Imtiaz AwanKeymasterHello,
Could you please provide a video explaining the issue to check it myself and help you out accordingly?
Because I am unable to see the issue on your website.
Regards.
Xtemos Studios.October 12, 2021 at 8:26 am #324517
leosefParticipantHere is the video.
October 12, 2021 at 8:26 am #324518
leosefParticipantEdit:
October 12, 2021 at 8:27 am #324519
leosefParticipantHere is link:
October 12, 2021 at 8:56 am #324530
Aizaz Imtiaz AwanKeymasterHello,
Please replace your Custom CSS with the following to change the background color of the menu dropdown and cart number then check back.
.wd-header-cats .menu-opener { background: red; }
.wd-header-cart.wd-design-4 .wd-tools-text .wd-cart-number { background-color: red; }
Best Regards.
October 12, 2021 at 8:59 am #324531
leosefParticipantHmm.. Still same problem.
October 12, 2021 at 9:01 am #324532
leosefParticipantEdit: The cart is working good, same with WIDTH on mega menu, but color keep chahing from black to blue, to blue to black.
October 12, 2021 at 10:40 am #324576
Aizaz Imtiaz AwanKeymasterHello,
Please provide the admin panel login details of the website to check it myself and help you out accordingly.
Regards.
Xtemos Studios.October 12, 2021 at 10:47 am #324579
leosefParticipantHere is it
October 12, 2021 at 12:28 pm #324604
Aizaz Imtiaz AwanKeymasterHello,
Your issue has been Resolved. Please clear cache and check back.
Best Regards.
October 12, 2021 at 12:31 pm #324605
leosefParticipantThanks! Works perfect. Got another question. About the menu. I know I can use “html blocks” to make the menu how I want. But it wont show on the mobile device. Will just show all the products, you can’t choose category.
October 12, 2021 at 12:45 pm #324611
Aizaz Imtiaz AwanKeymasterHello,
You are Most Welcome.
Sorry but the Html Block set to work only for Desktop devices doesn’t work for Mobile devices.
Best Regards.
October 12, 2021 at 12:55 pm #324616
leosefParticipantHow can you make html blocks on desktop, and regular on mobile? So people can choose categories on phone, so they don’t have to look through the whole category.
October 13, 2021 at 6:13 am #324789
Aizaz Imtiaz AwanKeymasterHello,
You can try creating separate menu for mobile categories and then add sub-menu items to it and add it as the categories menu for mobile by editing from the Woodmart >> Header Builder >> Edit Mobile header.
Screenshot for Clarification: https://gyazo.com/1a7f6b73642e0c14c311a8d381befd4d
I am currently marking this topic as Resolved. If you have other questions then create a new topic for each of your issues to avoid any confusion.
Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.
Have a wonderful day.
Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘Change color on mega menu’ is closed to new replies.
- You must be logged in to create new topics. Login / Register