Hello Everyone,
Here is how the dropdown from my mega menu currently looks:
I would like to change it to full width as in here:
Is there any way to do so?
Any response is highly appreciated.
Goal: make a Shopify mega menu dropdown span full width on hover, then center its items; later ask about adding an image.
What was done
Status/outcomes
Recent update / open issue
Notes
Hello Everyone,
Here is how the dropdown from my mega menu currently looks:
I would like to change it to full width as in here:
Is there any way to do so?
Any response is highly appreciated.
@jonela Please provide website url.
Hello Hardik2903,
Here is the url: https://352124.myshopify.com/
Password: dewhin
Thank you very much,
Jonela
Please go to
If my solution works, then please accept it as a solution.
It works now, thank you!!!
Is there a way to center the text rather than aligning to the left? Also, would you know how to add an image (possibly the image for the highlighted collection) next to the text?
Thanks a million!
I have provided code to move the menus to center. However, adding images to the Mega Menu is a bit complicated process which can take some time for coding.
Please go to
If my solution works, then please accept it as a solution.
Hello,
I’ve added the code like this:
.list-menu li ul.header__submenu { position: fixed; left: 0; width: 100%; } .list-menu li ul.header__submenu li.header__submenu a { justify-content: center; }Unfortunately, it did not work.
Please replace my second code with this one.
Thank you, this worked. I will start another thread for adding an image.
Hi, I’m having the same issue. I applied the same code as above but it didn’t work. Would you mind letting me know where I’ve gone wrong. We require exactly the same thing as the original poster. Full width on hovering on collection.
Theme is Gem. Code on theme.liquid.
Top half of the code looks like this.
{%- if settings.favicon != blank -%}
{%- endif -%}{%- render ‘seo-title’ -%}
{%- if page_description -%}
{%- endif -%}
{%- render ‘social-meta-tags’ -%}
Any help would be appreciated! - I hope OP doesn’t mind. Only question I have seen which matches exactly what I need.
Thanks ![]()