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

    Hi

    Ive created a mega menu on my webpage. My goal is to use images only in a row.
    The problem is that i cant get rid of the padding outside the pictures in my dropdown mega menu row.

    Problem

    #312171

    Hi venturephoto!

    Thank you for using Enfold.

    Do you mind if we take a look at the actual page? You can somehow remove the padding with this:

    #header .avia_mega_div .units {
    padding: 0;
    }

    You might still need to adjust the width of the mega menu units.

    Cheers!
    Ismael

    #312328

    Hi! Thank you for responding

    Here is the link – http://www.sfn.academy/
    Youll find the menu im talking about under “SFN ACADEMY”, and i would like to remove all of the green surface so its just the pictures visable.

    One second thing aswell. Do you perhaps know how to remove the top border visable on the advanced layerslider.
    as you can see, it doesnt play well with the picture in the slider.

    Thanks so much!
    Cheers
    Joakim

    #312377

    Hi!

    Please add following code to Quick CSS as well

    #top #header .avia_mega_div > .sub-menu > li { padding: 0; border: none; width: auto!important; }
    #header .avia_mega_div { width: auto; }

    Best regards,
    Yigit

    #312436

    Hello,

    It didnt work. you can see the result at http://www.sfn.academy
    it just shrunk the pictures, and there´s still padding around it.

    #312445

    Hey!

    Please add following code to Quick CSS as well

    #top #header .avia_mega_div > .sub-menu { padding: 0; }

    and change following line

    #top #header .avia_mega_div > .sub-menu > li { padding: 0; border: none; width: auto!important; }

    to

    #top #header .avia_mega_div > .sub-menu > li { padding: 0; border: none; width: 100%; }

    Cheers!
    Yigit

    #312478

    Ive changed it, still problems. now only one is visable

    #312486

    I am currently using following tags in my quick CSS

    #top #header .avia_mega_div > .sub-menu { padding: 0; }

    #top #header .avia_mega_div > .sub-menu > li { padding: 0; border: none; width: 100%; }

    #header .avia_mega_div { width: auto; }

    #312623

    Hey!

    Thank you for the update.

    I checked the website again but the mega menu only got one image on it and there is a weird bright green color on the submenu. Please add the images again on the mega menu. We need to inspect it.

    Cheers!
    Ismael

    #313082

    Hi!

    I used a bright green color as a BG color just to make it more clear if the padding is gone.
    There are currently 3 pictures/menu items. You can only see one as a result of the quick css you gave me :)

    Thank you

    #313083

    I just noticed one thing, when im previewing the page in Firefox, all of the (3) images are visable.
    But only one when previewing in chrome.

    #314236

    Hey!

    To make the images appear on Chrome, use this:

    .avia_mega_div .mega_menu_title img {
        min-width: 125px;
    }

    Regarding the padding question, there is actually no padding, the problem is that your header has a white space at the bottom, something like this does the trick:

    nav.main_menu li a{
        max-height: 125px;
    }

    Cheers,
    Josue

    #314456

    Hey!

    Thanks alot, that did the trick. Looks great

    Have a nice day!

    #314507

    You are welcome, you too :)

    Regards,
    Josue

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Mega menu padding (with images)’ is closed to new replies.