Shopify themes, liquid, logos, and UX
Hello Everyone!
I have added an image to the mega menu but in mobile mode the collection name is on the left. I want to keep it in the center. Please help me. Thank you.
Store: https://dream-candle-lights.myshopify.com/
Password: Admin
Solved! Go to the solution
This is an accepted solution.
@media screen and (max-width: 767px) {
.title {
display: flex;
justify-content: center;
}
}
hey @dreamtechzone_5 Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the <style> tag before the body ----->
if this code work please do not forget to like and mark it solution
This is an accepted solution.
@media screen and (max-width: 767px) {
.title {
display: flex;
justify-content: center;
}
}
hey @dreamtechzone_5 Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the <style> tag before the body ----->
if this code work please do not forget to like and mark it solution
Perfect. It worked. Thank you very much.
Hey @dreamtechzone_5
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.swiper .mega-menu__link .title {
text-align: center !important;
}
</style>
RESULT
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025