WordPress.org

Ready to get started?Download WordPress

Forums

Make Background Image a Link (3 posts)

  1. prommafia
    Member
    Posted 3 years ago #

    How do I make my entire background image (bg.png) one giant link?

    Here is my code:
    'body {
    background-image: url('images/bg.png');
    background-position: center top;
    background-attachment: fixed;
    font-family: verdana, arial, tahoma, sans-serif;
    font-size: 8pt;
    margin:0px;
    color:#FFFFFF;
    }'

    Thanks!

  2. jimmyt1988
    Member
    Posted 3 years ago #

  3. prommafia
    Member
    Posted 3 years ago #

    Yeah, I found that in my initial search. The problem is that tells you how to do a header or logo link, but not the whole background image. I can't figure out where to place the link html because the background image is in the body and not a php page like the header.

    Where do I put the link html?

Topic Closed

This topic has been closed to new replies.

About this Topic