Jump to content

How to change standard logo.jpg size?


Recommended Posts

You can upload any size logo you want. It should work in the emails and PDFs. It is only the logo on the website that has CSS that affects how the logo is displayed. You need to change the following code on lines 195-199 of css/global.css in your theme's directory:

h1#logo {
   float: left;
   width: 27%;
   margin-top: 0.5em
}



By default, the logo is 27% of the width of the page and is 0.5em from the top of the website. You can increase that width, though you'll then need to decrease the width of the #header_right block below it (with a 73% width by default), otherwise the modules on the right will wrap around underneath the logo.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
  • 9 months later...
  • 5 months later...

Hello, i have just started using the shopping cart and going by your directions for this there is no

h1#logo {

line not does lines 195-199 have anything to do with the image, can you please update this information?

 

Thanks

 

for prestashop 1.5.3.1 in default theme

in Line 540 #header_logo

add {... width: .. ; height:...}

Link to comment
Share on other sites

  • 2 years later...

You can upload any size logo you want. It should work in the emails and PDFs. It is only the logo on the website that has CSS that affects how the logo is displayed. You need to change the following code on lines 195-199 of css/global.css in your theme's directory:

 

h1#logo {    float: left;    width: 27%;    margin-top: 0.5em}

By default, the logo is 27% of the width of the page and is 0.5em from the top of the website. You can increase that width, though you'll then need to decrease the width of the #header_right block below it (with a 73% width by default), otherwise the modules on the right will wrap around underneath the logo.

 

Hey! I need to increase the width of my logo, such that it appears as a banner... I checked global.css but couldn't find anything like this.

here is my site:

http://pinkierthanblue.com/index.php

 

Any help will be greatly appreciated! Thanks in advance

Link to comment
Share on other sites

You need to edit header.tpl of your theme and find 

<div class="header-bottom">
								<div class="row-fluid">
									<div class="span3">
								<a id="header_logo" href="/" title="Pinkierthanblue">
									<img class="logo" src="http://pinkierthanblue.com/img/my-store-1438937355.jpg" alt="Pinkierthanblue" width="5838" height="1181">
								</a>
									</div>
									<div class="span9">
										<div class="top-header">
											<div class="row-fluid">
												
											</div>
										</div>
									</div>
								</div>
								</div>

See two classes span3 and span9,  change both to span6 if you want logo to be 50% or span12 if you want full width.

Link to comment
Share on other sites

×
×
  • Create New...