WordPress.org

Ready to get started?Download WordPress

Forums

Don't know where to add html for header image which has links (1 post)

  1. colibri
    Member
    Posted 3 years ago #

    Hi

    My website is http://www.melaniemurphy.co.uk

    I already have a header but I want to be able to click on the image so that it takes me to home page and I also want to place facebook icon on there which will take someone to my facebook page.

    I have mapped the image in gimp and I got the following html

    [please read http://codex.wordpress.org/Forum_Welcome#Posting_Code on how to mark code in your post]

    <img src="header-background.png" width="950" height="130" border="0" usemap="#map" />

    <map name="map">
    <!-- #$-:Image map file created by GIMP Image Map plug-in -->
    <!-- #$-:GIMP Image Map plug-in by Maurits Rijk -->
    <!-- #$-:Please do not edit lines starting with "#$" -->
    <!-- #$VERSION:2.3 -->
    <!-- #$AUTHOR:Nigel Wilson -->
    <area shape="rect" coords="849,80,914,113" href="http://www.facebook.com/pages/Melanie-Murphy-Kinesiology/115344621861776" />
    <area shape="poly" coords="4,6,870,11,942,13,943,74,840,75,845,122,103,120,3,127,4,9,102,5,167,8" href="http://www.melaniemurphy.co.uk/melaniemurphy/" />
    </map>

    I tried adding to stylesheet in header area but no change, also tried header section in editor but it adds it above my existing image, the link works but no image is visable, also tried adding it to mama press (theme) options in logo section the image didn't appear but there appeared to be a link.

    I also tried it in above areas and changed the html slightly to and included the rest as above

    <img src="header-background.png" width="950" height="130" border="0" usemap="#map" />

    to

    <img src="http://www.melaniemurphy.co.uk:/melaniemurphy/wp-content/themes/MammaPress/images/header-background.png" width="950" height="130" border="0" usemap="#map" />

    but that didn't work either

    I would really appreciate some help so that I can tidy up my site.

    I hope this make sense.

    Thank you in advance

    Melanie

Topic Closed

This topic has been closed to new replies.

About this Topic