Home Forums WoodMart support forum Default view to dhow dropdown

Default view to dhow dropdown

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #354762

    Vikash
    Participant

    hi

    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.
    #354827

    Luke Nielsen
    Keymaster

    Hello,

    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

    #354852

    Vikash
    Participant

    hi, 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.
    #354861

    Luke Nielsen
    Keymaster

    Judging 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

    #354970

    Vikash
    Participant

    hi, 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.
    #355014

    Luke Nielsen
    Keymaster

    Hello,

    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

Viewing 6 posts - 1 through 6 (of 6 total)