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)

BSSCommerce-HDL
Shopify Expert
713 233 244

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, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency