Jump to content


Photo
- - - - -

edit CSS for each page


Best Answer Danny , 14 February 2013 - 11:53 AM

The page-id-x is a class not an ID so you need to use it like this:

 

.page-id-40 .row, .row-fluid, .editor-row { }

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 benz_admin

benz_admin

    Advanced Member

  • Members
  • 65 posts
  • Country: Country Flag

Posted 14 February 2013 - 11:25 AM

Hi to all,

How can I edit css rules for a specifica page??

 

I tryed with

 

#page-id-40 .row, .row-fluid, .editor-row {
    width: 800px;
    height: 320px;
    float: left;
    margin-left: 10%;
}

 

but i doesn't work!

Any suggest please?

Thanks!



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 16392 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 14 February 2013 - 11:53 AM   Best Answer

The page-id-x is a class not an ID so you need to use it like this:

 

.page-id-40 .row, .row-fluid, .editor-row { }



#3 benz_admin

benz_admin

    Advanced Member

  • Members
  • 65 posts
  • Country: Country Flag

Posted 14 February 2013 - 12:04 PM

Thanks for your reply Danny, it works!!!