Jump to content
Sign in to follow this  
vandlo

How do I add custom CSS to one page but not the others?

Recommended Posts

vandlo

I want to change the size of boxes to run the whole content width - but just on one page. I was given this code: .dcol_2{width:960px;} but where do I type it to have it affect only one page and not all boxes across the whole site? thx

Share this post


Link to post
Share on other sites
cmunns

The page itself should actually allow you to decide how many columns of boxes to show on each page. If you want a full-width box then I would go with a different section. If you want though to do it this way you can precede the css with a unique page id e.g. `.page-id-xx .dcol_2...` view the source of the page in question and look for page-id and you'll see it attached to the opening body tag

Share this post


Link to post
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

Sign in to follow this  

×