Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1224560
    JfantasyBooks
    Participant

    Hi Again!

    Details:

    Name: JFantasyBooks
    Site: Fantasy-Books
    Site Url: https://fantasy-books.live
    WordPress Version: 4.6.1
    X Version: 4.6.4
    Cornerstone Plugin Version: 1.3.3

    Problem:

    So, I know how to change the background image of individual posts.

    I can simply use the css down below in cornerstone.

    body {
    background-image:url(“image.jpg”);
    background-repeat:no-repeat;
    background-attachment:fixed;
    }

    Problem is, I want to do this not by post but by category.

    So far I know to get into each category you use:

    .category-antagonist-rewind {

    }

    But no matter what I do/ fill out within the brackets, I can’t seem to get it to work. Can you help me?

    #1224929
    Rupok
    Member

    Hi there,

    So you want to change the background color of single post based on their category? Unfortunately it’s not possible because there is no such selector on the body tag.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1224560 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>