Jump to content
Sign in to follow this  
dhrose

Box settings per page...

Recommended Posts

dhrose+    3
dhrose

I want to adjust box spacing per page with different box sets... I see the setting is .pp4, .pp5, pp3 etc. But I'm currently adjusting all settings and not per page. Is that a function, div, change or css? Or something scarier? Ha!

 

http://test.dhrcreative.com/?page_id=267

 

Thanks...

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

When a static page is created, WordPress assigns it a unique ID number.  You can find this when you look at the Edit screen for the page as Admin. It will be somewhere in the URL in the address bar of your browser.

 

So, let's assume we're dealing with page 77.   In front of your CSS, you can attach a unique identifier for that page.  It's written thus:

.page-id-77

Now, if you want to change something on that particular page, like boxes -- for example, a background color, you'd write:

.page-id-77 #boxes {background-color: #C00000;}

This would make all the boxes on that page have a dark-red background color.

 

Use the unique page ID to achieve your goal, and I'm sure you'll be most pleased.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
dhrose+    3
dhrose

Sweet! I wanted to assign specific spacing for some box sets but keep others tight... That should do it. Thanks!

Share this post


Link to post
Share on other sites
Rob    547
Rob

Anytime!


Former PageLines Moderator, Food Expert and Raconteur

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  

×