Home Forums WoodMart support forum Mega menu paddings

Mega menu paddings

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #564142

    hrabanekjakub
    Participant

    Hello,

    could you please help me change the padding between Main Categories example “Rukavice” and the sub categories like “boxerské rukavice”.

    Image included.

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #564277

    Hung Pham
    Keymaster

    Hi hrabanekjakub,

    Thanks for reaching to us.

    Please add the following Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:

    .wd-dropdown-menu .wd-sub-menu li>a {
    	padding-top: 18px;
    	padding-bottom: 18px;
    }

    Regards,

    #564287

    hrabanekjakub
    Participant

    Thanks you. This code affects everything though. Is there a way to be able to affect only the space between the main category and the subcategories? And also a code to be able to affect only paddings between subcategories?

    #564292

    Hung Pham
    Keymaster

    Hi hrabanekjakub,

    Please provide URL of the mentioned page, so I can take a closer look.

    Regards,

    #564400

    hrabanekjakub
    Participant

    I’m including the URL in Extra informations. thank you

    #564606

    Hung Pham
    Keymaster

    Hi hrabanekjakub,

    To assist you in the best possible manner, I kindly ask that you provide me temporary wp-admin info (wp-admin URL, username, password) to Private Content area, this will allow me to thoroughly investigate and address your concerns in a more efficient and I can give you more better assist.

    Regards,

    #564608

    hrabanekjakub
    Participant

    Hello Huang,

    I’m including it in the private content.

    Thank you.

    #564923

    Hung Pham
    Keymaster

    Hi hrabanekjakub,

    First of all, I’m really sorry have taken long time to reply you due to the weekend.

    Please remove previous code and use below one:

    .wd-dropdown-menu .wd-sub-menu.mega-menu-list li>a {
    	padding-top: 50px;
    	padding-bottom: 50px;
    }

    Regards,

    #564948

    hrabanekjakub
    Participant

    Hello Hung, like I mentioned. This code changes it globally throughout the megamenu. I need the code to affect only the space between Main category and Sub categories. Thank you

    #565026

    Hung Pham
    Keymaster

    Hi hrabanekjakub,

    The code applies to first and second menu items only because these are mega menu that have list menus inside. Or you want to apply code to specific item only?

    Regards,

    #565028

    hrabanekjakub
    Participant

    Hello, I have included an image. The code affect every item and this is what happens. I have marked with red square the padding I would like to affect separately. Green squares between sub categories can be fixed to the theme default but would also be great to have control over it (separately from the red square gap). Is it possible? Thanks.

    Attachments:
    You must be logged in to view attached files.
    #565361

    Hung Pham
    Keymaster

    Hi hrabanekjakub,

    First of all, I’m really sorry have taken long time to reply you due to the weekend.

    Please remove previous one and use below:

    /* For the Heading menu item */
    .wd-dropdown-menu .wd-sub-menu.mega-menu-list > li > a {
    	padding-top: 50px;
    	padding-bottom: 50px;
    }
    
    /* For the sub-sub menu item */
    .wd-dropdown-menu .wd-sub-menu.mega-menu-list ul.sub-sub-menu > li > a {
    	padding-top: 20px;
    	padding-bottom: 20px;
    }

    Regards,

    #565364

    hrabanekjakub
    Participant

    This works great. Thank you

    #565381

    Hung Pham
    Keymaster

    Hi hrabanekjakub,

    Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!

    If you have a quick minute we always appreciate a 5-star rating on our theme!

    https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492

    Your feedback is the motivation to improve our work and services.

    Regards,

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