Shopify themes, liquid, logos, and UX
Hey together,
I would like to add images to my mega menu with my dawn theme. However, I would like to avoid using an app for it.
This is what it currently looks like. I added a "." as a sub-section to push all the menu items as a header.
If I do not add the "." it looks like this:
So my question would be how to 1. add images to each menu item 2. how to make all sections headers without having to add another sub menu item.
Thank you in advance
Hi @PhilLennart
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hi @PhilLennart
Please follow these steps:
- In the Admin page, Online Store => Theme => Edit Code
1. You want to add the background for the mega menu. Please find the file component-mega-menu.css.
And add the following code:
.mega-menu .mega-menu__content {
background-image: url("https://www.w3schools.com/howto/img_snow_wide.jpg");
background-size: 100% 100%;
}
You can change the path of the appropriate image
2. Create one more menu without a sub-menu item
Please go to Online Store => Navigation => Edit header menu.
- Add new item for services:
- Here is the result:
I hope that it will work for you.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is not exactly what I was asking for. I would like to add an image for each sub-menu item. So in this case an image for "Oxygen Bar", "Aqua Massage",...
Your solution adds a background to the whole menu
Also I meant that I would like to display the sub-menu items (oxygen bar, aqua massage,...) next to each other like the first screenshot I sent, however they do not show up like that if I do not add a sub-sub-menu item (the "." under "Oxygen Bar")
Hey, are you able to give the right solution?
Hi @PhilLennart
Because your request is quite complicated, if possible, please share your store access with us. Then we will check it and suggest you a solution.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Can I share it in private? It's a client website and don't want to reveal it
Hello there i would like to do the same can you plz teach me as will
I would like also like to add images to my web
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024