thaenzy Posted February 18, 2014 Share Posted February 18, 2014 (edited) Hello, My website is www.uwdashcam.be I'm trying to make my logo link to the homepage. Already tried to set the a href and img href hardcoded to my website like this: <a id="header_logo" href="http://www.uwdashcam.be" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" href="http://www.uwdashcam.be" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> Unfortunately, it's not working yet. Does any of you guys have an idea? Thanks! Edited February 19, 2014 by thaenzy (see edit history) Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted February 18, 2014 Share Posted February 18, 2014 On 2/18/2014 at 8:12 PM, thaenzy said: Hello, My website is www.uwdashcam.be I'm trying to make my logo link to the homepage. Already tried to set the a href and img href hardcoded to my website like this: <a id="header_logo" href="http://www.uwdashcam.be" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" href="http://www.uwdashcam.be" src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> Unfortunately, it's not working yet. Does any of you guys have an idea? Thanks! You have it correct the logo is just layered behind another div (i.e. header_right). Find themes/default/css/global.css and change the following: #header_logo { display: block; float: left; margin-top: 12px; } Add the following: #header_logo { display: block; float: left; margin-top: 12px; position:relative; z-index:9; } That should solve your problem. Marty Shue 1 Link to comment Share on other sites More sharing options...
thaenzy Posted February 19, 2014 Author Share Posted February 19, 2014 On 2/18/2014 at 9:46 PM, Carolina Custom Designs said: You have it correct the logo is just layered behind another div (i.e. header_right). Find themes/default/css/global.css and change the following: #header_logo { display: block; float: left; margin-top: 12px; } Add the following: #header_logo { display: block; float: left; margin-top: 12px; position:relative; z-index:9; } That should solve your problem. Marty Shue Thanks a lot Marty! Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted February 19, 2014 Share Posted February 19, 2014 On 2/19/2014 at 7:17 AM, thaenzy said: Thanks a lot Marty! You are welcome! Hope it solved your problem. If it did kindly edit your original post and mark the thread title with [sOLVED]. Marty Shue Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now