• Resolved samluc

    (@samluc)


    Hi,

    I have found many posts telling me how to replace header site name with logo that clicks back to homepage but what I would like to do is:

    Add a small logo in header which is clickable to different website URL AND also keep the current site name in Header.

    In addition my Tagline doesnt seem to be showing up.

    I am using the Thesis (17) Theme

    Any help would be much appreciated.

    Thank you

    Sam

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="https://site you wish to link to"><img src="https://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

    Thread Starter samluc

    (@samluc)

    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

    Thread Starter samluc

    (@samluc)

    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

    Thread Starter samluc

    (@samluc)

    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??

    Thread Starter samluc

    (@samluc)

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

    Insert following into Header.php

    <?php
    echo "<a href=\"https://<strong>site you wish to link to</strong>\"><img src=\"https://<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 ‘Clickable Logo (different URL) in Header Keep Sitename’ is closed to new replies.