Magento – How to change the width of main column in 2 column layout in Magento 2

columncustomlayoutmagento2

I want to have a 2 column layout and I want to add some margin on the left to the main column and reduce it's width. And I want this feature only on selected pages so I made a custom layout for that, please help me to achieve this goal.

Best Answer

You can add this style in your custom css file.

.page-layout-2columns-left .column.main{width:80%;}

Related Topic