Custom title header for category pages

Support Forums for LiveMesh Themes & Plugins Forums Squash Theme Support Custom title header for category pages

Tagged: , ,

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1105
    livemesh
    Keymaster

    You can either use the category slug or the id to achieve this. As an example, if the category id is 3 or the name is inspiration, you can input the following into Custom CSS tab in theme options panel –

    .category-inspiration #before-content-area-wrap {
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-position: center top;
        background-image: url(http://example.com/bg1.jpg);
        background-color: transparent;
        background-size: cover;
        border: none;
        box-shadow: none;
        padding: 115px 0; /* Control the height of the header */
        }
    

    or use the category id

    .category-3 #before-content-area-wrap {
    ....
        background-image: url(http://example.com/bg1.jpg);
    ....
        padding: 115px 0; /* Control the height of the header */
        }
    
Viewing 1 post (of 1 total)
  • The forum ‘Squash Theme Support’ is closed to new topics and replies.