Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Logo size on Mobile

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-19-2017, 06:35 AM
 
Cincheetah Cincheetah is offline
 

Member
  
Join Date: Jul 2015
Posts: 11
 

Default Logo size on Mobile

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!
Attached Thumbnails
Click image for larger version

Name:	logo too big.png
Views:	575
Size:	903.2 KB
ID:	4961  
__________________
4.73
ideal responsive
Reply With Quote
  #2  
Old 07-20-2017, 10:23 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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).
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:58 PM.

   

 
X-Cart forums © 2001-2020