Add .jpg or .png in front of page title

Discussion in 'Andrina WordPress Theme' started by hohohaha, Mar 7, 2013.

  1. hohohaha

    hohohaha New Member

    Joined:
    Mar 4, 2013
    Messages:
    12
    Likes Received:
    0
    Hi, I would like to add a small graphic in front of each page title. I know i need to do something in the page.php.

    How can I change the php or html to add that?

    Thanks
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .main-content .gallery h1, .main-content .page-content h1.contact, h1.single-heading, .page-content h1.page_title, .main-content .full-width h1.fullwidth-heading{
    background-image:url(Enter your image address);
    background-repeat:no-repeat;
    background-position:200px 0;
    }
     
  3. hohohaha

    hohohaha New Member

    Joined:
    Mar 4, 2013
    Messages:
    12
    Likes Received:
    0
    I added the code ,and put the img in the images folder as other images. It still doesn't work..

    Please see apexsred.com
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    We have checked your website and seems that you have not entered the correct address of the image, Enter correct address of image, This will solve your issue.
     
  5. hohohaha

    hohohaha New Member

    Joined:
    Mar 4, 2013
    Messages:
    12
    Likes Received:
    0
    I used the code:
    .main-content .gallery h1, .main-content .page-content h1.contact, h1.single-heading, .page-content h1.page_title, .main-content .full-width h1.fullwidth-heading{
    background-image:url(images/page-title-background.png);
    background-repeat:no-repeat;
    background-position:200px 0px;
    }

    The address of the img should be correct, as the image is under "images" folder. All of other imgs from the same folder use the same address path.

    Can you be more specific, in what address path i should use?

    Thanks
     
  6. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Please provide the following information listed below.

    Thread Link:
    Your Website URL:
    WordPress Username:
    WordPress Password:

    Send this information on our email at [email protected]

    and also send that image.
     

Share This Page