Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How do I make a CSS file just for one page layout? 
 
Peter_09
Member
 
Total Posts:  40
Joined:  2009-01-19
 

Is it possible to make a special CSS just for one page layout.

For exaple: If I have the ‘’1 column’’ page layout and I want to remove the paddings just for this layout, is that possible without edditing this for all the page layouts?

Thanks?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brandlive_br
Guru
 
Avatar
Total Posts:  653
Joined:  2008-05-19
Buenos Aires, Argentina
 

You can add ‘.col1-layout’ to the start of all your modifications and it will only work when that class is present, which is when you use a 1 column layout.

Hope this helps

--
Ezequiel

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top