Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add Link to Header Image

  • @tts5

    Member

    I’m using a custom header image with the BP default theme. I’ve removed the default PHP code that generates a link to the site name because my header image has a logo in it. How can I make the header image link back to the home page when clicked?

Viewing 1 replies (of 1 total)
  • @mercime

    Participant

    so you removed
    `

    <a href="” title=””>

    `

    The easiest resolution is to return a portion of it in original location in your theme’s header.php
    `<a id="my-logo" href="” title=””>My Site Home link`
    – upload transparent image with height and width of your logo in header image and put that in img src above

    Position the link image over area where where the logo in header image is in your style.css
    For example:
    `#my-logo {
    height=100px;
    width=300px;
    position:absolute;
    left:30px;
    top:10px;
    }`

    Adjust to taste.

Viewing 1 replies (of 1 total)
  • The topic ‘Add Link to Header Image’ is closed to new replies.
Skip to toolbar