• Resolved milkos

    (@milkos)


    hello and sorry for my english.
    i need to add two little png logo to my wp theme header.
    i have just read and applied this topic but nothing happens, no image appear on my header…

    this is my code:
    <div id="istituzio"></div> inside footer.php, and

    #istituzio {
    width:292px;
    height:40px;
    background:url(wp-content/uploads/2015/05/loghi_istituzionali_low.png) no-repeat top left;
    position:absolute;
    top:0;
    left:420;
    z-index:100;}

    inside custom css personalization section of my theme.

    where do i wrong ?
    please help me, thx.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter milkos

    (@milkos)

    i’ve found a way to add my logo in the header of my template.
    in the custom css i have inserted this:

    #istituzio {
    margin-top:0px;
    margin-left:350px;
    position:relative;
    z-index:100;}

    …and in the footer.php:

    <div id="istituzio">
    <img src="https://www.villapojanatrastoriaearte.it/wp-content/uploads/2015/05/loghi_istituzionali_low.png" alt="" width="292px" height="40px" border="0"/ >
    </div>

    but the white ribbon in the header cover the logo even if i use position:absolute; and z-index:100;
    why ?

    if i position margin-top:100px i can see logo image appearing below the white ribbon in the header…
    thx

    Thread Starter milkos

    (@milkos)

    solved: i’ve just set z-index to 2010…

    sorry

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘adding image logo to header – unable’ is closed to new replies.