Adjust the width of 2 column section (text and image) into small and big columns (Be Yours Theme)

CJames
Tourist
4 0 0

Hi Coders, 

 

I'm trying to adjust the width of a 'text and image' section that is currently 2 equal columns, into columns of varying sizes. for example, the first column should be smaller (about 1/3 of the page width on desktop) and the second column larger (about 2/3)  

Screenshot 2024-05-04 at 21.16.37.jpg

Screenshot 2024-05-04 at 21.17.05.jpg

 

I believe you can use 'calc' - for instance I see that grid item width for each column currently uses -- calc(50% - var(--grid-horizontal-spacing) / 2)... etc But, I'm not sure how to write what I want in CSS. 

 

My site is: https://706707-15.myshopify.com/?_ab=0&_fd=0&_sc=1

 

Reply 1 (1)

BSSTech-Venture
Shopify Expert
385 91 100

Hi @CJames ,

 

We checked the site but could not find the section you mention above. Can you give us more info on the location of the section on the page?

The info can be page name, section name, etc.

 

Thank you!

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

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development