mallrat Posted June 27, 2022 Share Posted June 27, 2022 Hi there. I am running Prestashop 1.7.8.6 and am trying to centre the logo, make it larger and have the horizontal menu underneath the logo. I have found various instructions for earlier versions of Prestashop 1.7 and also 1.6 on how to do this but I cannot find anything that works on this version. I have tried the instructions on the attached thread from a while ago, but it no longer works. Can anyone offer any advice on this? Thanks! Link to comment Share on other sites More sharing options...
Ress Posted June 28, 2022 Share Posted June 28, 2022 Are you using the default theme? Link to comment Share on other sites More sharing options...
mallrat Posted June 28, 2022 Author Share Posted June 28, 2022 Hi Ress. Yes, it is the default theme. Sorry I forgot to mention it. Link to comment Share on other sites More sharing options...
Ress Posted June 29, 2022 Share Posted June 29, 2022 (edited) In your_prestashop/themes/classic/templates/_partials/header.tpl <div class="col-md-12 hidden-sm-down text-xs-center" id="_desktop_logo"> <div class="header-top-right col-md-12 col-sm-12 position-static"> Also add this css lines: #header .header-top > .container > .row:first-of-type { flex-wrap: wrap; } /*increase logo size */ #header .logo { width: 200px; } Edited June 29, 2022 by Ress (see edit history) 1 Link to comment Share on other sites More sharing options...
mallrat Posted June 30, 2022 Author Share Posted June 30, 2022 Many thanks. I could not get this to work at first. But when I tried again it worked perfectly. I really appreciate your quick solution to this problem. 1 Link to comment Share on other sites More sharing options...
Soha 8084 Posted January 20 Share Posted January 20 On 6/29/2022 at 9:11 AM, Ress said: In your_prestashop/themes/classic/templates/_partials/header.tpl <div class="col-md-12 hidden-sm-down text-xs-center" id="_desktop_logo"> <div class="header-top-right col-md-12 col-sm-12 position-static"> Also add this css lines: #header .header-top > .container > .row:first-of-type { flex-wrap: wrap; } /*increase logo size */ #header .logo { width: 200px; } Hello will this code work with v8 ? and where exactly to add the additional css at the tpl before which line? I tried this and the logo is left but larger and the menu not below it but at left of the logo squeezed top left any ideas? Link to comment Share on other sites More sharing options...
carinarochelle Posted July 2 Share Posted July 2 I would like to bump this, I have the same question as Soha 8084 Link to comment Share on other sites More sharing options...
Andrei H Posted July 4 Share Posted July 4 Hi @carinarochelle, Here is a more simplistic approach, assuming you are using the classic theme, as the OP. In your themes/classic/assets/css directory, create a file called custom.css Add the following content to it: #header .header-top>.container>.row:first-of-type { flex-direction: column; } #header .logo { width: 200px; } Refresh the cache. It should work at this point. 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