Shopify themes, liquid, logos, and UX
Can't seem to find a way to center the Featured Product Heading on the home page, have tried most solutions listed here for other themes.
I am using the 'Simple' theme
Help is very much appreciated!
@Bevang1999 share your URL site and password if its needed, and i will help you 🙂
add this to your css file
#featured-products {
text-align: center;
}
Unfortunately I have tried this, and does not work
go to your featured-products file, then search for :
<h2 class="small--text-center">Popular Products</h2>
left it like this,
<h2 class="small">Popular Products</h2>
and then put the code i posted into your css file
I was unable to find anywhere in 'featured-product.liquid' or 'featured-products.liquid' that indicates popular products.
take your featured-products.liquid and go to:
<div class="featured-products">
{% if section.settings.title != blank %}
<h2 class="small--text-center">{{ section.settings.title | escape }}</h2>
{% endif %}
remove it, and paste that code:
<div class="featured-products">
{% if section.settings.title != blank %}
<h2 class="small">{{ section.settings.title | escape }}</h2>
{% endif %}
then, put css code:
#featured-products {
text-align: center;
}
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024