Jontee Posted August 14, 2018 Share Posted August 14, 2018 (edited) Hi! I have just updated my Prestashop version from 1.7.3.3 to 1.7.4.2 and everything is working fines as I can see it. But, the logo has no margin on top in responsive mode (only on the index page), because it is surrounded with h1-tags, why is that? The same problem in the demo on Prestashop.com. I have attached two screenshots. Thanks in advance. Best regards, Edited August 14, 2018 by Jontee (see edit history) Link to comment Share on other sites More sharing options...
Jontee Posted August 15, 2018 Author Share Posted August 15, 2018 This is the code in the header template file: {if $page.page_name == 'index'} <h1> <a href="{$urls.base_url}"> <img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}"> </a> </h1> {else} <a href="{$urls.base_url}"> <img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}"> </a> {/if} I guess the h1-tag is there for SEO purpose on the index page? Unfortunately it makes the logo placement weird in responsive mode, as you can see on the screenshots. Any solution to this? Best regards, 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