Jump to content

[SOLVED] My logo has no hyperlink


Recommended Posts

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 by thaenzy (see edit history)
Link to comment
Share on other sites

  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

  • Like 1
Link to comment
Share on other sites

  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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...