Home Forums Azuma Pro Add an image in the header

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12201
    David Burns
    Participant

    I’m trying to add an image in header.php that will be behind the logo and navigation. Needs to float right but can’t bring the container up to top except with absolute positioning which looses the center alignment.

    http://northci1.wwwaz1-ss36.a2hosted.com

    #12208
    Andy
    Keymaster

    Try absolute positioning with something like this:

    .tree {
        position: absolute;
        top: 0;
        right: 30%;
    }

    Additional info, you may also need to give the menu a z-index value to make sure its background color doesn’t disappear behind the tree image:

    #site-navigation {
        z-index: 1;
    }
    • This reply was modified 4 years, 3 months ago by Andy. Reason: Added additional information
    #12211
    David Burns
    Participant

    That works. Thank you !!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add an image in the header’ is closed to new replies.