WordPress.org

Ready to get started?Download WordPress

Forums

Adding image to footer (3 posts)

  1. ScrapbookSupplies
    Member
    Posted 6 years ago #

    Hi,
    I am trying to put an image on our footer, and I tried to do this by copying what our old tech person did when he added an image to the header, only tweaking the image path, dimensions and pixels, (the code is below, I bolded what I changed)

    <div style="float:right; clear:right;margin-right: 325px; display:inline">
    <img style="position:absolute; top: 525px;" width="118" height="124" src="/themes/theme331/images/image-file.jpg" /> </div>

    Obviously I didn't perform any rocket science and probably created a coder's nightmare.

    Can anyone tell me how to possibly change this or what I need to do to insert an image to the footer? This seemed to work but when people added to the page it didn't move with the footer, it stayed in place - I need the image stuck to the footer completely.

    If you can point me in the right direction or even give me some kind of guidelines I can probably run with it.

    Thank you so much!
    Jeanne

  2. ryanarrowsmith
    Member
    Posted 6 years ago #

    Jeanne -remove this bit of code: position:absolute; top: 525px;

    That's telling the browser how to position it.

  3. ScrapbookSupplies
    Member
    Posted 6 years ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags