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
10036 2386 3012

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 4 (4)

BSSCommerce-B2B
Shopify Partner
1972 564 566

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! 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

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
10036 2386 3012

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
KoshIntl
Tourist
6 0 3

This is exactly how I need it. Thanks!