Text behaviour varies according to page width

Text behaviour varies according to page width

Boops
Shopify Partner
30 0 15

Hi, I noted in product grid that some of the text on my product cards does not behave as expected - if the screen is too wide.

All text is set to the left underneath the card.

On a full screen, the text on the outer products appears to centre itself.

If I shrink the width of the screen slightly, the text moves to the left and looks as it should.

 

webpage is https://boops.co.uk/collections/kits

 

Many thanks, Kristian

 

Replies 4 (4)

prakashVt
Shopify Partner
268 23 36

Sorry I did not understand your issue. 
Are you referring to the product text under the image? or text in the image itself? 
Could you share screenshots? 

- Enhanced your Cart Drawer for free, Shipping Protection included -VTN Cart Drawer Pro
- Feel free to Contact for more help (Free Support): prakash.prabhakar@vtnetzwelt.com

BSSCommerce-HDL
Shopify Partner
2305 835 910

Hi @Boops

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:

<style>
.card__content {
    justify-content: flex-start !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1724260506242.png

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Boops
Shopify Partner
30 0 15

Hi, thanks for the nudge in the right direction. I went to the theme.liquid file above the /head tag and found the below code...! Deleted and all is working fine now. It must had been there for a reason so I imagine I've broken something else

 

<style>
.card__content {
justify-content: center;
}
</style>

BSSCommerce-HDL
Shopify Partner
2305 835 910

@Boops, Did you fix it?

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now