Change size on store logo

LiteCart Fan
Van Sweden
Lid sedert Des. 2013

How can I change the size on the store logo?

LiteCart Fan
Van Sweden
Lid sedert Jul. 2013

Hi
In layouts/default.inc.php file 



       
LiteCart Fan
Van Sweden
Lid sedert Des. 2013

Thank you

Van Onbekend
Lid sedert Des. -0001

eeem... dear friends... i was looking for change the Logo size on litecart, and found this.
BUT, when i change the size in default.inc.php troubles happend.

What should i do?
Thank you

Geskrap
Van Onbekend

You need to tweak the size constraints there are two files same name, but only one with txt  in
/includes/templates/default.catalog/layouts/default.inc.php

For example multiply the max-width & max-height original values by 1.5 for approx 1.5x sizing:

LiteCart Fan
Van Australia
Lid sedert Des. 2018

For 2.1.6, I followed these steps and they worked well.  I have upgraded to 2.2.0 and I followed the same steps and I thought they worked well.

<?php echo document::href_link('images/logotype.png'); ?>" style="max-width: 360px; max-height: 56px;" alt=...
The logo was the perfect size on the Desktop, and it was the perfect size on my mobile.

But, then I realized on the mobile it wasn't right.  Whilst initially appearing correct, I noticed the shopping cart bag had gone off the screen, so I had to scroll right to see the shopping cart bag.

Is there anyway to increase the size of the logo on the desktop site without increasing it as much on the mobile site?

Thanks

LiteCart Fan
Van Australia
Lid sedert Des. 2018

Just in case anyone else is searching for this, I solved my own problem.  To change the logo size, edit includes/templates/default.catalog/css/app.css . Change the 250px width below to the width you want the logo (eg. 350px)

@media (min-width: 992px) {
  #header {
    grid-template-columns: 250px auto 250px;

LiteCart Fan
Van Australia
Lid sedert Apr. 2023

maybe not working in LiteCart® 2.5.2?

Hierdie draad is gesluit weens lang onaktiwiteit. Om dit te plaas is nie moontlik nie.
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.