How to put in the center the featured collection called "Explore our collection:"

Solved

How to put in the center the featured collection called "Explore our collection:"

VisarK
Pathfinder
95 0 20

I need in featured collection called " Explore Our Collection: to put on the center align its on homepage.

Screenshot_20240705_145106_Chrome.jpg

Accepted Solution (1)
BSSCommerce-HDL
Shopify Partner
1111 379 448

This is an accepted solution.

Hi @VisarK, pls try again with this code: 

 

{% if template.name == 'index' %}
<style>
.collection .collection__title .title {
    text-align: center;
}
</style>
{% endif %}

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 6 (6)

BSSCommerce-HDL
Shopify Partner
1111 379 448

Hi @VisarK

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

{% if template.name == 'index' %}
<style>
.collection .collection__title .title {
    text-align: center;
}
</style>
{% end %}

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
VisarK
Pathfinder
95 0 20

Doesnt work @BSSCommerce-HDL  

BSSCommerce-HDL
Shopify Partner
1111 379 448

This is an accepted solution.

Hi @VisarK, pls try again with this code: 

 

{% if template.name == 'index' %}
<style>
.collection .collection__title .title {
    text-align: center;
}
</style>
{% endif %}

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
VisarK
Pathfinder
95 0 20

Thanks finally it works @BSSCommerce-HDL 

BSSCommerce-HDL
Shopify Partner
1111 379 448

@VisarK No problem, Have a good day 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
VisarK
Pathfinder
95 0 20

Thanks you too @BSSCommerce-HDL