Jump to content

Center logo in prestashop 1.7.0.2


anelsagroup

Recommended Posts

Hi,I would like to center the site logo on Prestashop 1.7.0.2, and also put the general menu under the logo, anyone knows how to do it please? Thank you.

 

 

themes\classic\templates\_partials\header.tpl

 

Find 

<div class="col-md-2 hidden-sm-down" id="_desktop_logo">
<a href="{$urls.base_url}">
<img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}">
</a>
</div> 

Replace

<div id="_desktop_logo">
<a href="{$urls.base_url}">
<img class="logo img-responsive" src="{$shop.logo}" alt="{$shop.name}">
</a>
</div> 

and add style css in file - theme.css

#_desktop_logo {
text-align: center
}

#_desktop_logo a{
display: inline-block;
}

 

  • Thanks 1
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...