WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Clickable Logo (different URL) in Header Keep Sitename

[Resolved] Clickable Logo (different URL) in Header Keep Sitename

Viewing 5 replies - 1 through 5 (of 5 total)
  • you need to edit the header.php file of your template to add the logo and the link.

    (apologies if you know html already) by adding the right locations to this code

    <a href="http://site you wish to link to"><img src="http://location of the logo you want to show up"></a>

    you will need to place this in the same header div, but you may need to alter the css to position in correctly – sorry I don’t have acess to the thesis theme to give you the exact code you need

    Thanks for the quick response – Ill give it a go.

    And, no apologies needed I dont know HTML very well

    Any ideas on why the tagline doesnt show up.

    Sam

    What I did:
    I got the above code > converted it to PHP (yellowpipe website) > inserted that into thesis using thesis/openhook/Header/Tick Execute PHP.
    Result:
    Logo in header & Clickable to different website. Vhappy
    but the site name is under logo now (no longer to right)
    And Tagline still missing.

    Checkout the site here tankremoval.com.au

    Almost there – What am i missing

    Thanks again

    I know why the Tagline is not showing

    I installed Plugin – Tagline Rotator which overides the tagline in General settings function. When you add a tagline to that plugin it wil show up.

    Still working on the header sitename to appear on the right of the logo rather than below it??

    Final Solution – Clickable Logo (different URL) in Header + Keep Sitename

    Insert following into Header.php

    <?php
    echo "<a href=\"http://<strong>site you wish to link to</strong>\"><img src=\"http://<strong>location of the logo you want to show up</strong>\" alt=\"Alternate Text Here\" width=\"<strong>127</strong>\" height=\"<strong>100</strong>\" hspace=\"5\" vspace=\"5\" align=\"left\" border=\"0\" />\n";
    ?>

    Add CSS to move placement up or down

    .custom #header { padding-top: 10px; }
    .custom #header { padding-bottom: 45px; }

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Clickable Logo (different URL) in Header Keep Sitename’ is closed to new replies.