How can I increase the number of blog post columns to 5 in a row?

Ammzish
Shopify Partner
30 1 6

Hello there, I can't find any option to change the blog post columns from 3 to 5 in Customizer. I think it can only be solved with custom code. If anyone can provide a code for this, that would be helpful.

Website: https://marketingpropertee.com/blogs/news?page=1

Replies 7 (7)

AnneLuo
Shopify Partner
597 120 121

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the </head> tag

<style>
 .page-content {
    max-width: unset !important;
 }
 @media only screen and (min-width: 769px) {
   .medium-up--one-third {
     width: 20% !important;
   }
 }

</style>

Step 3: Find the theme.css file and replace here with 5n+1

AnneLuo_0-1716423673085.png


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

Ammzish
Shopify Partner
30 1 6

Hi @AnneLuo, Thank you for providing the code. I followed the instructions you gave and it worked. However, I encountered a new issue. The problem is that it is changing all grids from the Home page to the product page, I only want to change the grid column on the article page.

AnneLuo
Shopify Partner
597 120 121

Okay, got it. Can I become a collaborator and directly help you with the modifications, otherwise it would be a waste of time. I can help you modify it in a few minutes.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

Ammzish
Shopify Partner
30 1 6

Sure, but it is my client's Shopify account. I can't give you account access, but I can add you to my Shopify partner team. please provide me with your email address.

Ammzish
Shopify Partner
30 1 6
AnneLuo
Shopify Partner
597 120 121

Oh, sorry. We have our own Shopify partner team. So I can't join your team.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

Ammzish
Shopify Partner
30 1 6

Okay, I can ask my client to add you. What's your email address?