Help with centering text and image in a collection

Solved

Help with centering text and image in a collection

KoshIntl
Tourist
6 0 3

https://koshys.shop/collections

 

How do I edit the page so the 'Certificates' text is same line as other text in the collection and the image is centered?

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
7609 1833 2245

This is an accepted solution.

Hi @KoshIntl 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

#shopify-section-template--23162073579811__main > div > ul > li:nth-child(2) > div > div {
    display: grid;
    grid-template-rows: 0.3fr 0.5fr;
}

.card.card--standard.card--media, .card__information {
    align-content: flex-end;
}

 

And Save. 

Result;

Made4uoRibe_0-1722972694758.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 4 (4)

BSSCommerce-B2B
Shopify Partner
1186 306 358

Hi @KoshIntl 
I have reviewed your requirement, are you want the store lock like this

BSSCommerceB2B_0-1722970777031.png

If it's correct 
Step 1: Go to Admin -> Online store -> Theme > Edit code:
BSSCommerceB2B_0-1722935986186.png

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

.card:not(.ratio)>.card__content {
    display: flex !important;
    justify-content: end;
    align-items: center;
    flex-direction: column;
}

Step 3: Save your code and reload this page.

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

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


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


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


BSS Commerce - Full-service eCommerce Agency
KoshIntl
Tourist
6 0 3

Not exactly, but it did fix the text and make it on the same line as the others.

Made4uo-Ribe
Shopify Partner
7609 1833 2245

This is an accepted solution.

Hi @KoshIntl 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

#shopify-section-template--23162073579811__main > div > ul > li:nth-child(2) > div > div {
    display: grid;
    grid-template-rows: 0.3fr 0.5fr;
}

.card.card--standard.card--media, .card__information {
    align-content: flex-end;
}

 

And Save. 

Result;

Made4uoRibe_0-1722972694758.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
KoshIntl
Tourist
6 0 3

This is exactly how I need it. Thanks!