0

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.

1

You can add this style in your custom css file.

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

0

Simply edit your CSS file in skin>frontend>YourTheme>YourTheme>css>styles.css

Every page has its own unique class so in CSS you can style only specific pages by writing style like:

.category-myProducts .class-name-of-my-column
{
   width:400px;
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.