Tagged: mega menu
-
AuthorPosts
-
October 31, 2016 at 4:34 pm #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!
October 31, 2016 at 5:51 pm #706353Hey 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,
JordanOctober 31, 2016 at 7:39 pm #706437Sure
November 2, 2016 at 3:45 pm #707172Hi,
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,
AndyNovember 3, 2016 at 3:39 pm #707780Hey Andy,
Tried it out however its not working. It’s still not 100% width of the window.
Thanks,
November 4, 2016 at 3:17 pm #708213Hi,
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,
AndyMarch 20, 2017 at 4:45 pm #763691March 21, 2017 at 6:52 am #764025Hi,
I think it should be yes, what screen resolutions did you check it on?
Best regards,
RikardMarch 24, 2017 at 8:00 am #765973Hi @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 :)
March 27, 2017 at 11:13 am #767334Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.
