Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #706277

    Hello,

    I am trying to setup a mega menu. I would like the background of the mega menu to be 100% of the window and keep the links inside the container. Like they have on https://www.progressive.com/ under their Insurance dropdown etc.

    Would that be possible?

    Thanks!

    #706353

    Hey Pappasdg,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Jordan

    #706437

    Sure

    #707172

    Hi,

    try this code inside Quick CSS field:

    .avia_mega_div {
    width: 817% !important;
    right: -549% !important;
    }

    and adjust as needed. Hope this helps!

    Best regards,
    Andy

    #707780

    Hey Andy,

    Tried it out however its not working. It’s still not 100% width of the window.

    Thanks,

    #708213

    Hi,

    as far as I can see it, it got much better. So now you just need to adjust the values in my code, until you’re happy.

    Best regards,
    Andy

    #763691

    Hi there

    I’d like the same full width mega menu as requested by @Pappasdg on my blog. Adjusting the values in the code provided by @Andy seems to work but will it be full width on a different screen resolution as well?

    Merci :)

    • This reply was modified 7 years, 8 months ago by iclo.
    #764025

    Hi,

    I think it should be yes, what screen resolutions did you check it on?

    Best regards,
    Rikard

    #765973

    Hi @Rikard!

    Well first of all I have troubles to find the exact size to fit my own screen resolution (1440px). Then, I realize it’s not responsive…

    Merci :)

    #767334

    Hi,

    you need to play with different values in my code and if you want to have different results on different screen sizes then you need to add some media queries as well:

    @media only screen and (max-width: 767px) {
    .avia_mega_div {
    width: 817% !important;
    right: -549% !important;
    }}

    For more information about media queries: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/

    Best regards,
    Andy

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.