Shopify themes, liquid, logos, and UX
Hi all, I can't seem to find a way to centre my menu bar. It is currently aligned to the left. Same goes for my log but frankly I have given up on that!
https://velvetpearvintage.com/
Solved! Go to the solution
This is an accepted solution.
Hi, just add one more line to the CSS you just added
padding-left: 20vw;
this is a workaround, ideally there will be some setting in theme customizer too, please check that option as well.
This is an accepted solution.
Hi, just add one more line to the CSS you just added
padding-left: 20vw;
this is a workaround, ideally there will be some setting in theme customizer too, please check that option as well.
Wow, you're a star! That worked. Couldn't do it in the customize theme. Your code worked.
Hi @Lescalla
Hope you're having a great day!
By following the steps above, add the following CSS to the bottom of theme.css.liquid or theme.css, and hit Save. The name of the stylesheet can vary for different themes, so if you cannot find theme.scss.liquid, then look for one of the following:
ul#AccessibleNav {
text-align: center;
}
Result:
If you found this comment useful, hit the 'Like' and 'Accepted solution' buttons.
User | RANK |
---|---|
71 | |
66 | |
65 | |
53 | |
46 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023