Jump to content
Sign in to follow this  
bryanscottphoto

Custom Content Area BG color

Recommended Posts

bryanscottphoto

My home page (http://www.ardentstory.com) uses the content area on a custom page. I want the background of that content area transparent, like it is. The problem is that the CSS also makes the background in my blog section transparent. Both use the same class. Is there a way to assign a unique identifier for the home page content area or duplicate it in the template set up? It would be a good idea in page creation to have a custom CSS identifier for the elements on the page.

Share this post


Link to post
Share on other sites
Jenny
Is the content area active on your blog right now? If so, what is in it (so I can find it :))?

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
bryanscottphoto
Yes it is (http://ardentstory.com/blog/). I want a white container behind my posts/sidebar, etc. but the CSS controlling the container on my home page also makes the blog container transparent. #pagelines_content { background-color: transparent; } I need to be able to create a custom content area for the home page with unique CSS selectors.

Share this post


Link to post
Share on other sites
kastelic
Look in the body tag and you will see some CSS classes that are unique to any given page. For example, on the home page, you have "home" as a class in the body tag. [code].home #pagelines_content { background-color: transparent; }[/code]

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  

×