How can I center a two-block text column with images?

Can you help me to center this section? I added text column and set it to 4 column, now I hide to blocks because i only need 2 and i want it to be centered.

Hi @marketingapt1b

This is Victor from PageFly - Shopify Page Builder App

Please share with me the URL - and password if password protected, i can help you on this concern by using few line of css.

Await for your response

Best regards,

Victor | PageFly

Hello,

Here’s the link:

https://kitchen1b.com/blogs/news

but i planned to add this section in every page. thanks!

Hi again @marketingapt1b

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


Hope this can help you solve the issue

Hello @marketingapt1b ,

You can follow these steps:

  1. Go to Online Store->Theme->Edit code

  1. Open your theme.liquid file, paste the below code before


I hope the above is useful to you.

Kind & Best regards,
GemPages Support Team

Hello,

THanks it works. however it affects other section with different design. can i put this on CSS section?

Yes, you can put in the section to make it work for the section only
@marketingapt1b
Thank you for confirmation

Hi,

Please see error:

i want to center the text and logos. thanks!

Hi @marketingapt1b

step 01:

  1. Go to your Store > Theme > click to edit code.
  2. find this file “theme.css” and open.

step 02:

  1. Paste the code at the of the file.
.css-slider-viewport .css-slider-container .grid-3 {
--visible-cols: 2;
}

I Hope this can help you and solve you get issue

Thank you!

hi @marketingapt1b

Please try this instead