D5 Creation Forum

Open Forum for D5 Creation's Members and Visitors

Before requesting any support Please search the Forum First. You may find your desired answer. This will save your waiting time and will save our working hour. We may not answer the question which we have already answered. You should also read our Support Policy

Add a background image in all H1 title

Front Page D5 Creation Forum General Support Add a background image in all H1 title

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #7881
    haber stephane
    Participant

    Hello,
    I would like to add a background image to all H1 and H2 title of my Innovation Extend theme. Could you tell me where to insert the code? thank you a lot
    ( http://www.arcanes-technology.fr )

    #7884
    D5 Creation
    Keymaster

    You can do such these styling easily using This Technique

    #7885
    haber stephane
    Participant

    Hi,
    I try and retry but without result for making it permanent. (but working good in google dev tool)
    I paste this in custom code within head area, like your technique:

    <style>
    #h1 {
    padding-left: 60px;
    background-image: url(“/wp-content/uploads/2015/09/bouclierH1.png”);
    background-repeat: no-repeat;
    }
    </style>

    But what’s wrong?
    Thanks a lot your help!

    #7886
    D5 Creation
    Keymaster

    /wp-content/uploads/2015/09/bouclierH1.png
    This should be full URL like http://domain.com/wp-content/uploads/2015/09/bouclierH1.png

    #7888
    haber stephane
    Participant

    Hi,
    First, thanks for your help.

    i try this:

    <style>
    }
    #h1.page-title, h1.arc-post-title {
    font-size: 40px;
    text-shadow: -1px -1px 3px #FFFFFF;
    text-align: left;
    color: #076896;
    font-weight: 500;
    padding-left: 60px;
    background-image: url(“http://www.arcanes-technology.fr/wp-content/uploads/2015/09/bouclierH1.png&#8221;);
    background-repeat: no-repeat;
    }
    </style>

    It’s working with google dev tools (with safari too) but nothing in permanent mode in custom code within head area. (no padding, no background…!!!)

    Are you sure that is possible to modify h1 styles?

    #7890
    D5 Creation
    Keymaster

    This is not #h1.page-title
    This should be h1.page-title

    #7901
    haber stephane
    Participant

    Thanks for your help. Now it’s working.

    #7902
    D5 Creation
    Keymaster

    🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.