Jump to content


Photo
- - - - -

Box settings per page...


  • Please log in to reply
3 replies to this topic

#1 dhrose

dhrose

    Super Member

  • Members

  • 159 posts
  • LocationCharlotte NC
  • Framework Version:2.4.4
  • Country: Country Flag

Posted 28 April 2013 - 02:06 PM

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!

 

Please Login or Register to see this Hidden Content

 

Thanks...



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 28 April 2013 - 02:16 PM

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:

Please Login or Register to see this Hidden Content

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

Please Login or Register to see this Hidden Content

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.



#3 dhrose

dhrose

    Super Member

  • Members

  • 159 posts
  • LocationCharlotte NC
  • Framework Version:2.4.4
  • Country: Country Flag

Posted 28 April 2013 - 02:42 PM

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



#4 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 28 April 2013 - 02:45 PM

Anytime!