Home › Forums › WoodMart support forum › Customise Categories button on the header
Customise Categories button on the header
- This topic has 10 replies, 2 voices, and was last updated 1 month, 1 week ago by Hung Pham.
-
AuthorPosts
-
December 24, 2024 at 5:13 pm #625146
Ram HegdeParticipantI am trying to replace Sticky navigation with the Categories mega menu. It works fine, but I am unable to find an option to customize the button. Check the screenshot below. I want to have the same-styled button for the Categories menu with all rounded corners instead of only top rounded corners.
Please help.
December 24, 2024 at 5:20 pm #625149December 26, 2024 at 10:57 am #625418
Hung PhamKeymasterHi kaigalmane,
Thanks for reaching to us.
Please provide URL of the mentioned page, so I can take a closer look.
Regards,
December 26, 2024 at 11:08 am #625427
Ram HegdeParticipantI am making changes continuously so the page looks different now. However, to replicate it, apply the Vegetables prebuilt website and add the categories element to the Main header.
Also, let me know how I can adjust the width of that dropdown button.
December 27, 2024 at 9:34 am #625611
Hung PhamKeymasterHi kaigalmane,
You can use the below custom CSS code and paste it to the Theme Settings > Custom CSS > Global CSS section:
.wd-header-cats.wd-style-1 span.menu-opener { border-radius: 42px; min-width: auto; } .wd-header-cats.wd-style-1 span.menu-opener:after{ margin-left: 10px; }
Regards,
December 27, 2024 at 12:00 pm #625650
Ram HegdeParticipantThat works. Can you also help me make the top corners of the dropdown menu rounded? I need to make them rounded just like bottom corners. Check the screenshot.
Attachments:
You must be logged in to view attached files.December 27, 2024 at 2:06 pm #625707
Hung PhamKeymasterHi kaigalmane,
Please use below code:
div.wd-dropdown-cats{ border-top-left-radius: var(--wd-brd-radius); border-top-right-radius: var(--wd-brd-radius); }
Regards,
December 27, 2024 at 2:57 pm #625721
Ram HegdeParticipantStill same. It didn’t change anything.
December 29, 2024 at 6:16 pm #626000
Hung PhamKeymasterHi kaigalmane,
Thanks for your patience.
Please remove above code and use below code:
div.wd-dropdown-cats, div.wd-dropdown-cats .wd-nav-vertical{ border-top-left-radius: var(--wd-brd-radius); border-top-right-radius: var(--wd-brd-radius); }
Regards,
December 29, 2024 at 7:18 pm #626013
Ram HegdeParticipantI used the Menu element with the “Aside” option and it looks much better now.
December 30, 2024 at 1:33 pm #626182
Hung PhamKeymasterHi kaigalmane,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
Regards,
-
AuthorPosts
Tagged: header
- You must be logged in to create new topics. Login / Register