Jump to content

Logo Link in v 8.2


Recommended Posts

I have looked through this forum for information about changing the Logo link, but I can't find anything that is correct for v8.2.
I found the header.tpl file but there are no hrefs to be found.

Please can somebody help me find this as I need to change the link so that it points back to the main website.

Thank you in advance

Link to comment
Share on other sites

22 hours ago, LordLinhey said:

I have looked through this forum for information about changing the Logo link, but I can't find anything that is correct for v8.2.
I found the header.tpl file but there are no hrefs to be found.

Please can somebody help me find this as I need to change the link so that it points back to the main website.

Thank you in advance

 

Check if logo pint to 'index' in header.tpl

 

{block name='header_top'}
  <div class="header-top">
    <div class="container">
       <div class="row">
        <div class="col-md-2 hidden-sm-down" id="_desktop_logo">
          {if $shop.logo_details}
            {if $page.page_name == 'index'}
              <h1>
                {renderLogo}
              </h1>
            {else}
              {renderLogo}
            {/if}
          {/if}
        </div>
        <div class="header-top-right col-md-10 col-sm-12 position-static">
          {hook h='displayTop'}
        </div>
      </div>

 

Link to comment
Share on other sites

Check in file \themes\your_theme\templates\_partials\helpers.tpl - it should always link to index, example from classic theme

{function renderLogo}
  <a href="{$urls.pages.index}">
    <img
      class="logo img-fluid"
      src="{$shop.logo_details.src}"
      alt="{$shop.name}"
      width="{$shop.logo_details.width}"
      height="{$shop.logo_details.height}">
  </a>
{/function}

 

  • Like 1
Link to comment
Share on other sites

On 7/21/2025 at 2:46 PM, LordLinhey said:

Please can somebody help me find this as I need to change the link so that it points back to the main website.

 

Ideally, nothing needs to be changed for the same in the code. It should be correct.

If the links are not correct, then there might be some other issue. Share the details like what's the website URL and what's the link on the logo etc?

 

 

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