body class and permalinks (3 posts)

  1. geekstyle
    Posted 6 years ago #

    I am trying to either set up a separate css style sheet for each permalink page or change the background image for each permalink page.
    I first tried to do this using the ClassyBody plugin and got no love.
    Is it obsolete in the latest version of wordpress or is it just it doesn't work with permalink names?

    Now I am trying to figure out how in the header to check what page I am on then add a custom BG or style sheet.
    Any help is appreciated.

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    Have a look at:


    Should be simple to use the same approach for the background/class changes on each permalink page.

  3. geekstyle
    Posted 6 years ago #

    I tried that yesterday and it doesn't seem to do anything with the permalinks as

    body.vlog #body url{background-image:url(images/wpBG2.jpg;}

    how would this work do change the whole stylesheet?
    I really appreciate any help I can get.

Topic Closed

This topic has been closed to new replies.

About this Topic