X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Logo size on Mobile (https://forum.x-cart.com/showthread.php?t=75515)

Cincheetah 07-19-2017 06:35 AM

Logo size on Mobile
 
1 Attachment(s)
Hi -

I'm trying to figure this out and need some help. We increased our logo size in the header, it's fine on phones and the actual site, on ipad it is larger than the page width. How/where do I fix this? I'm in altskin file but not sure what to change in there.
http://dev.ashleyfoods.com/

user dev
pword letmein

Thanks in advance for your help!

qualiteam 07-20-2017 10:23 PM

Re: Logo size on Mobile
 
I think you can use something like this to fit the logo into the column:
Code:

@media screen and (min-width: 768px) and (max-width: 959px) {
  #header .line1 .logo a img {
    height: auto;
    max-width: 100%;
  }
}


However, you may have to override other styles too (for example, you may have to adjust the height of the header).


All times are GMT -8. The time now is 02:03 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.