Jump to content
Sign in to follow this  
hakatours

How Can you Change CSS on One Page's Sidebar and Not Another?

Recommended Posts

hakatours

I have this code on my sidebar but I only want it to work on certain pages and not the home page.

#sidebar-wrap #sidebar_universal {
	position: relative;
	top: 42px;
	right: 10px;
	}

How is it done?

Share this post


Link to post
Share on other sites
Kate

Hi Ellen, If you look at the body page for the specific page you want to change, you'll see a unique class with the page ID. You can use at the beginning of your declaration to specify the page.

Share this post


Link to post
Share on other sites
hakatours

awesome! I had been looking for it but was looking for an ID rather than a class. ta!

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  

×