Header link to outside site

  • Unknown's avatar

    Hi, I’m helping with the design of this author website: http://jeremydauber.com

    I want to make the large header image at the top link to the Amazon page for the book rather than the home page of the website.

    I know how to do this in a WordPress.org setup but can’t seem to find a way to do it in WordPress.com. Is there a trick I’m missing here? Thank you.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    That’s called a deceptive linking practice and no don’t help with that or with any blackhat SEO stuff here.

  • Unknown's avatar

    No it’s not if it’s an author’s own website trying to link to his own book.

  • Unknown's avatar

    With Oxygen being a responsive width theme, this is a tricky thing to do. What you would do is to create a transparent PNG image (no background color) the same size as your header image (940px x 150px), upload it to the media library, get the URL of that image and then put that URL, and the link to the website in the following code and put it into a text widget in the sidebar.

    <a title="" href="SITE_URL/"><img alt="" src="IMAGE_URL"></a>

    You then need to get the unique ID selector for that widget. Go to your site and view the source code and look for that widget. It will be in the div that begins, <div id=”tertiary”… After finding that text widget, you will see something like <aside id=”text-2″… That will be the unique widget ID selector. Replace the “text-5 in the CSS below with that.

    I’ve temporarily included a background declaration in the following CSS to aid in positioning it correctly. After you get the widget positioned correctly, remove the line that says, background: #CC0000;.

    #text-5 {
        position: absolute;
        background: #CC0000;
        top: 96px;
        left: 30px;
        width: 94%;
        height: auto;
    }
  • Unknown's avatar
  • Unknown's avatar
  • Unknown's avatar

    Howdy to you too. ;)

  • The topic ‘Header link to outside site’ is closed to new replies.