how I adjust the image ratio of my blog

Solved

how I adjust the image ratio of my blog

Jim
Explorer
66 2 23

2d5ab790b3a841b7ae447579fc60648.png

Accepted Solution (1)

BSS-TekLabs
Shopify Partner
2401 695 831

This is an accepted solution.

Hi @Jim,

Here are the steps you can follow:

1, Navigate to Online Store > Themes > Edit Code.

2, Locate and open the base.css (or theme.css, custom.css) file.

3, Paste the code snippet provided below at the bottom of the file, then save your changes.

.card__inner.ratio {
    /* You can adjust this value according to your preference */
    aspect-ratio: 1/1 !important;
}

Here is the result

BSSTekLabs_0-1723864767564.png

We hope this assists in resolving the issue.

If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!

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


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


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

View solution in original post

Replies 2 (2)

niraj_patel
Shopify Partner
2391 516 515

Hello @Jim 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 750px) {
   .main-blog h1.title--primary.scroll-trigger.animate--fade-in {
      text-align: center !important;
   }
   .blog-articles {
      display: flex !important;
       justify-content: space-between;
  }
}
</style>

niraj_patel_0-1723864494572.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

BSS-TekLabs
Shopify Partner
2401 695 831

This is an accepted solution.

Hi @Jim,

Here are the steps you can follow:

1, Navigate to Online Store > Themes > Edit Code.

2, Locate and open the base.css (or theme.css, custom.css) file.

3, Paste the code snippet provided below at the bottom of the file, then save your changes.

.card__inner.ratio {
    /* You can adjust this value according to your preference */
    aspect-ratio: 1/1 !important;
}

Here is the result

BSSTekLabs_0-1723864767564.png

We hope this assists in resolving the issue.

If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!

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


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


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