• Resolved peter.toutoute

    (@petertoutoute)


    I am having trouble applying the proper padding for the columns I’ve made inside the secondary menu of my website. For some odd reason, the only property that affects the spacing of columns in my favor is the “menu item padding” from the menu themes. I’ve tried to change the padding by writing some css in the css editor but nothing seems to be affected. The only selectors that I see that change are the ones that are for the “flyout menu” but I can’t affect the selectors for the “mega menu.” What can I do to change the spacing (or padding) to create the distance I want in between the columns?

    Here is the website where I have the mega menu:
    https://petemanncoolcreations.com/schooltest/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Right now column width is 16.66667%, increase it to 49.66% if your theme provide option for that or add the following code in stylesheet:

    #mega-menu-wrap-secondary-177 #mega-menu-secondary-177 > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-columns-1{
    width:49.66667%!important;
    }
    Thread Starter peter.toutoute

    (@petertoutoute)

    Wow! How did you do that? I’ve been working on this for hours but nothing worked. How did you know which selector to choose? If you’ve learned this from wpbeginner, then by all means send me the link!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘padding for columns’ is closed to new replies.