Shopify themes, liquid, logos, and UX
I applied the code below to center my navigation menu. As you can see, it’s somewhat successful, but I just can’t get the navigation menu perfectly centered. Does anyone have a solution?
@media screen and (min-width: 500px){
.header--middle-left {
grid-template-columns: unset !important;
}
} .header__inline-menu {
display: flex; justify-content: center;
}
Hey @tsswnkls
Share your store URL and password if enabled.
Best Regards,
Moeed
The issue has been resolved! I adjusted the code to the following, and it works perfectly.
@media screen and (min-width: 500px){
.header--middle-left {
grid-template-columns: unset !important;
}
}
.header__inline-menu {
display: flex;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
Okay great
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024