Home › Forums › WoodMart support forum › Default view to dhow dropdown
Default view to dhow dropdown
- This topic has 5 replies, 2 voices, and was last updated 3 years ago by
Luke Nielsen.
-
AuthorPosts
-
February 21, 2022 at 10:15 am #354762
VikashParticipanthi
for mobile navigation menu, is there a way to default show the breakdown of the categories like in the second image ? rather than how its looking now currently in the first image
mening, when someone clicks on the Categories button, it default shows a breakdown of Wallpaper product categories, Fabric Product categories etc.
tq
Attachments:
You must be logged in to view attached files.February 21, 2022 at 1:35 pm #354827
Luke NielsenKeymasterHello,
The best way to show the breakdown of the categories is to use the below CSS code. Enter it to the “Global Custom CSS” area that is situated in Theme Settings -> Custom CSS.
.mobile-categories-menu .wd-sub-menu, .mobile-categories-menu .sub-sub-menu{ display: block !important; } .mobile-categories-menu .wd-nav-opener:after { transform: rotate(90deg); color: #fff; } .mobile-nav .mobile-categories-menu .wd-nav-opener { background-color: var(--wd-primary-color); pointer-events: none; } .mobile-nav .menu-item-object-product_cat.menu-item-has-children>a { background-color: var(--nav-mobile-link-bg-active); }
Please let us know if there is anything further we can assist you with!
Kind Regards
February 21, 2022 at 2:44 pm #354852
VikashParticipanthi, ive added the code into globas custom css but its still not showing on the mobile accordingly
Attachments:
You must be logged in to view attached files.February 21, 2022 at 3:17 pm #354861
Luke NielsenKeymasterJudging by your screenshot, you have added the custom code to the preset’s custom CSS area so your code doesn’t work globally. First of all, navigate to the global theme settings by clicking on the “To global settings” button.
https://monosnap.com/file/nxR78FVMnKbqlbFZT1tgU7x4IAeG0j
And only then navigate to the “Custom CSS” tab and paste the code to the appropriate field.
Kind Regards
February 22, 2022 at 1:52 am #354970
VikashParticipanthi, its working now thank you.
another question, for some reason my icons is showing oversized/cropped out. can advise what is the recommended dimensions to fit properly ? i tried 100 x 100 all the way to 10×10 but doesnt seem to fit still
Attachments:
You must be logged in to view attached files.February 22, 2022 at 7:37 am #355014
Luke NielsenKeymasterHello,
In your case, these images by default are cropped. So try to upload new correct images and check the issue again.
https://gyazo.com/5544e88ef6a6ca6572941fe077cc9d03
Generally, a size of 20px is recommended for icons in the “Browse Categories” section but you can set any size you need.
If there’s anything else we can do, please get in touch.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register