Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #261566

    I wanted to change the following code:

    body div#av_section_1 section.av_textblock_section div.avia_textblock {}

    to be page specific.

    I tried .page-id-666 body div#av_section_1 section.av_textblock_section div.avia_textblock {}

    and it didn’t work. getting really frustrated. can anyone help?

    #261598

    Hey!

    Change the selector to:

    body.page-id-666 div#av_section_1 section.av_textblock_section div.avia_textblock {}
    

    Is the body element who gets the page id class.

    Cheers!
    Josue

    #262016

    ah nice. so if i wanted to do anything pagespecific, i do the .page-id-666 after the first command?

    #262026

    Hey!

    No, the page-id-xx should be the first command. If you look closely it is in my code (it’s attached to the body element).

    Cheers!
    Josue

    #265001

    thanks! can close this.

    #265006

    You are welcome, glad we could help :)

    Regards,
    
Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Help with page specific css!’ is closed to new replies.