bg pages

Discussion in 'Covera WordPress Theme' started by sociald, Sep 8, 2014.

Thread Status:
Not open for further replies.
  1. sociald

    sociald Guest

    Joined:
    Mar 20, 2014
    Messages:
    18
    Likes Received:
    1
    How do I change the background of every page with an image with the exception of the home page?
    Thank you
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,
    For this you need to follow two steps.

    Step-1:
    Replace <body> tag from header.php with this code
    PHP:
    <body <?php body_class(); ?>>
    Follow below image.

    Step-2:
    Paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    .home
    {
    background: none;
    }
    body
    {
    background: url(../../images/header-bg-green.png) repeat #0057A4;
    }
    Adjust color or image according to your requirement.
    Thanks & Regards
    Pramod
     

    Attached Files:

    • 111.png
      111.png
      File size:
      156.5 KB
      Views:
      4
    smith likes this.
  3. sociald

    sociald Guest

    Joined:
    Mar 20, 2014
    Messages:
    18
    Likes Received:
    1
    Thank You
     
    smith likes this.
Thread Status:
Not open for further replies.

Share This Page