Jump to content

Adding Custom CSS to your CMS Page


David Di Pasquale

Recommended Posts

Hello everyone, i am trying to include my custom .css file to a CMS page, and when i do it (Copy and paste the index code)

and it works great BUT, the styling of the general theme gets affected by the styling of the sheet i am embedding into the prestashop page.

 

bellow i attached the examples of what i mean, at first i thought that it was a Jquery conflict (wich it was) but was also a .css sheet conflict.

 

Please help´?

 

Thanks

post-1175719-0-00742600-1459294697_thumb.jpg

post-1175719-0-22381800-1459294705_thumb.jpg

Link to comment
Share on other sites

  • 4 weeks later...

Hi

 

Yes you can,  firstly you do need to make sure that no left and right columns are hooked on the CMS pages. Goto back Office - Preferences / Themes / amd then click "Advanced Settings" button to view column settings (see screen shot). You can see in the screen shot we have CMS page with no left or right column activated. 

 

If when you do this it is still not 100% width, you can target the CMS page with CSS using body#cms. 

 

Hope this may help. 

 

Nick

post-269828-0-16243900-1461854891_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...