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

How do I change the logo "width" in X-Cart 5.1.5?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-14-2014, 01:03 PM
 
fixh fixh is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 71
 

Default How do I change the logo "width" in X-Cart 5.1.5?

How do I change the logo "width" in X-Cart 5.1.5?

My log is 450px в 66px and X-5 automatically (scaled to 285px в 42px).

The height will adjust to the proper size but the "width" does not.

Can someone give me detailed instructions?

Thanks,

Kevin
__________________
Version 4.1
Reply With Quote
  #2  
Old 08-15-2014, 06:09 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How do I change the logo "width" in X-Cart 5.1.5?

Kevin,
I would like to help, but I don't see any CSS constraints on the logo size. Can you provide a link to your store so I can see how it is displaying in the browser?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 08-18-2014, 06:41 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: How do I change the logo "width" in X-Cart 5.1.5?

Hi Kevin!

You can specify CSS rule as:

Code:
#logo img { width: 450px; }

so it would work as you need.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #4  
Old 10-07-2014, 09:40 AM
 
perfekttension perfekttension is offline
 

Newbie
  
Join Date: Oct 2014
Posts: 3
 

Default Re: How do I change the logo "width" in X-Cart 5.1.5?

I am having the same issue I have tried to change the CSS rule code the width but it does not seem to change. Which CSS code folder should I be changing I using xcart 5.1.6
__________________
X-Cart Free 5.1.6
Reply With Quote
  #5  
Old 10-07-2014, 10:59 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How do I change the logo "width" in X-Cart 5.1.5?

Quote:
Originally Posted by perfekttension
I am having the same issue I have tried to change the CSS rule code the width but it does not seem to change. Which CSS code folder should I be changing I using xcart 5.1.6
Can you please provide a link to your store, and explain what you tried changing already?

The code Tony posted above should work for you in the Look and Feel -> Custom CSS section
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #6  
Old 10-07-2014, 07:08 PM
 
perfekttension perfekttension is offline
 

Newbie
  
Join Date: Oct 2014
Posts: 3
 

Default Re: How do I change the logo "width" in X-Cart 5.1.5?

Quote:
Originally Posted by totaltec
Can you please provide a link to your store, and explain what you tried changing already?

The code Tony posted above should work for you in the Look and Feel -> Custom CSS section

The web site is http://perfekttension.com/LEDPOISON/

I have tried changing the width like requesteb it does not get any bigger than what it is now.. I can make it smaller and see that change but I want the banner to stretch across
__________________
X-Cart Free 5.1.6
Reply With Quote
  #7  
Old 10-07-2014, 11:55 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How do I change the logo "width" in X-Cart 5.1.5?

Try:
Code:
@media screen and (min-width:992px) { #logo { width: 100%; } }
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
benicebr (12-03-2015)
  #8  
Old 10-08-2014, 12:01 AM
 
perfekttension perfekttension is offline
 

Newbie
  
Join Date: Oct 2014
Posts: 3
 

Thumbs up Re: How do I change the logo "width" in X-Cart 5.1.5?

thanks that worked I am adjusting the percent to get the size I want
__________________
X-Cart Free 5.1.6
Reply With Quote

The following 2 users thank perfekttension for this useful post:
tony_sologubov (10-14-2014), totaltec (10-08-2014)
  #9  
Old 05-17-2015, 04:54 AM
 
stinkyfeet stinkyfeet is offline
 

Member
  
Join Date: Oct 2014
Posts: 14
 

Default Re: How do I change the logo "width" in X-Cart 5.1.5?

Quote:
Originally Posted by totaltec
Try:
Code:
@media screen and (min-width:992px) { #logo { width: 100%; } }

Hello matey

I hope you dont mind me asking you on this thread, I have done as you stated to the other poster and although it increases the size of the logo, it pushes down the webpage creating big white space beneath, is there a way around this please?
Big thank you
__________________
X-Cart 4
Reply With Quote
  #10  
Old 05-17-2015, 06:16 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How do I change the logo "width" in X-Cart 5.1.5?

Quote:
Originally Posted by stinkyfeet
Hello matey
I hope you dont mind me asking you on this thread, I have done as you stated to the other poster and although it increases the size of the logo, it pushes down the webpage creating big white space beneath, is there a way around this please?
Big thank you
It's best if you can provide a link to the page, so we can inspect what is happening. Is this possible?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
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 02:03 PM.

   

 
X-Cart forums © 2001-2020