Studio theme blog grid spacing

Solved

Studio theme blog grid spacing

Bebby
Excursionist
19 0 6

Hi Everyone

I am building a blog for our website but would like to make the size of the images smaller and the space between the grid larger.  This is what it looks like at the moment -

Bebby_0-1739893194321.png

Many thanks for any help.

Accepted Solution (1)
Abdosamer
Shopify Partner
1040 188 225

This is an accepted solution.

@Bebby , You can find it in the assets folder of your theme, or you can add it to theme.liquid file at the end of it before the </body> tag like this :

<style>
@media(min-width:750px){

.blog-articles {
  
    column-gap: 8rem !important;
}

}

</style>
Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work

View solution in original post

Replies 10 (10)

Abdosamer
Shopify Partner
1040 188 225

Hi @Bebby , can you share your store url?

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
Bebby
Excursionist
19 0 6

Hi Abdosamer

The url is https://www.oxfordcamera.co.uk/blogs/oxford-in-focus

I have looked for the blog css file in the coding, please could you tell me where I might find it ?

Many thanks

Abdosamer
Shopify Partner
1040 188 225

This is an accepted solution.

@Bebby , You can find it in the assets folder of your theme, or you can add it to theme.liquid file at the end of it before the </body> tag like this :

<style>
@media(min-width:750px){

.blog-articles {
  
    column-gap: 8rem !important;
}

}

</style>
Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
Bebby
Excursionist
19 0 6

Thank you so much this has worked great 😀

Abdosamer
Shopify Partner
1040 188 225

You're very welcome!

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
Bebby
Excursionist
19 0 6

Many thanks for your help with the Blog grid.

I have just put a blog section on the home page and have the same problem there.

Is there a fix for this ?

Many thanks

Abdosamer
Shopify Partner
1040 188 225

@Bebby , Go to your theme.liquid file and add the following code before the </body> tag :

<style>
@media(min-width:750px){
.blog__posts.articles-wrapper {
    gap:8rem !important;
}
}
</style>

Result:

Abdosamer_0-1739898304778.png

 


 

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work
Bebby
Excursionist
19 0 6

Once again, many thanks for your help 😀

 

Abdosamer
Shopify Partner
1040 188 225

Hi @Bebby , Go to section-main-blog.css file and add the following code :

@media(min-width:750px){

.blog-articles {
  
    column-gap: 8rem !important;
}

}

Result:

Abdosamer_0-1739894346405.png

 


 

Buy me a Coffee
Email : abdelrahamansamer71@gmail.com
Chat on WhatsApp
My work

Made4uo-Ribe
Shopify Partner
10038 2387 3014

Hi @Bebby 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media screen and (min-width: 750px) {
   .blog-articles .card-wrapper {
    width: 70% !important;
}

.blog-articles__article.article.scroll-trigger.animate--slide-in {
    justify-content: center;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1739896090759.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.