target specific pages CSS

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14324
    Segmant
    Member

    Hi Guys

    Trying to target specific elements on specific pages using

    body.page-id-xxxx

    or

    .page-id-5061

    But the CSS does not work, if i take the page-id out then the CSS works but it obviously is site wide.

    How do i target pages in Extinct theme? I use this CSS in many other themes and it always works.

    #14327
    Raghavendra
    Moderator

    I checked the demo site which has the latest version of the theme and I see that the above CSS of yours should work as you can see the relevant classes added to the body tag. Pls check here –

    https://www.livemeshthemes.com/extinct/about-us/

    And I checked your site too here –

    http://www.quirky-holidays-cornwall.co.uk/about-us/

    and the css –

    body.page-id-567 { display: none; }
    

    worked perfectly. Looks like somewhere there is something wrong with the css being applied. Pls check.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Extinct Theme Support’ is closed to new topics and replies.