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)
-   -   How do I change the logo "width" in X-Cart 5.1.5? (https://forum.x-cart.com/showthread.php?t=69814)

fixh 08-14-2014 01:03 PM

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

totaltec 08-15-2014 06:09 AM

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?

tony_sologubov 08-18-2014 06:41 AM

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.

perfekttension 10-07-2014 09:40 AM

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

totaltec 10-07-2014 10:59 AM

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

perfekttension 10-07-2014 07:08 PM

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

totaltec 10-07-2014 11:55 PM

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%;
  }
}


perfekttension 10-08-2014 12:01 AM

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 :-)

stinkyfeet 05-17-2015 04:54 AM

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

totaltec 05-17-2015 06:16 AM

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?


All times are GMT -8. The time now is 12:55 AM.

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