Shopify themes, liquid, logos, and UX
Hi I added a custom code for a view counter but I need it centered as everything else is centered. Can someone possibly help id be so grateful. Store: https://studio-seductress.com/
Solved! Go to the solution
This is an accepted solution.
Hello @studioseductres
Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the top of the file.
Hello @studioseductres
Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the end of the file.
.live_visitors.no-js-hidden {
justify-content: center;
}
.live_visitors::before{
left:22%
}
.product-form__buttons {
margin: 0 auto;
}
Hi unfortunately this didnt work
Hello @studioseductres
Where did you add the CSS? Can you send me a screenshot?
This is an accepted solution.
Hello @studioseductres
Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the top of the file.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025