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/header size (https://forum.x-cart.com/showthread.php?t=66924)

benmackie 05-22-2013 02:10 PM

How do I change the logo/header size
 
Currently, it's too small for the business owner. He wants me to make it bigger.

I tried tinkering with the CSS (I am pretty well-versed with CSS/HTML).

I tired increasing the size of #header and .logo and it's not doing anything.

benmackie 05-22-2013 04:57 PM

Re: How do I change the logo/header size
 
I currently got the css worked out in firebug, but these cache/temp stylesheets ain't working for me.

carpeperdiem 05-22-2013 09:27 PM

Re: How do I change the logo/header size
 
1. webmaster mode is your friend

http://help.x-cart.com/index.php?title=X-Cart:Using_Webmaster_mode

2. you have learned that header images are oftentimes controlled in css -- but oftentimes they are controlled in templates, such as head.tpl

for example, in my skin (loosely based on books & magazines), my header image lives in the template, but controlled by css

/skin/books_and_magazines/customer/head.tpl

USE WEBMASTER MODE and you will learn much about where things live

gb2world 05-23-2013 10:42 AM

Re: How do I change the logo/header size
 
While you are in development, disable the "speed up tool for css" - then you will see the non-optimized css files in firebug. When you are done, you can enable the speed up tool again.

---

benmackie 05-23-2013 11:23 AM

Re: How do I change the logo/header size
 
Quote:

Originally Posted by gb2world
While you are in development, disable the "speed up tool for css" - then you will see the non-optimized css files in firebug. When you are done, you can enable the speed up tool again.

---


You mean, when inspect the page it shows me this really weirdly named CSS file, that's a result of the "speed up tool" being enabled?

gb2world 05-23-2013 11:42 AM

Re: How do I change the logo/header size
 
Yes. When you are in production mode, the speed up tool optimizes the css (and js) files. When you are in development, you can disable that so it is easier to make changes.

---

benmackie 05-28-2013 08:23 AM

Re: How do I change the logo/header size
 
How come when I add a new rule to CSS it doesn't show up? I can change the value of the declaration, but not add a completely new rule i.e. margin-top

gb2world 05-28-2013 10:29 AM

Re: How do I change the logo/header size
 
It is difficult to say where you are going wrong. There is nothing in x-cart that prevents you from adding new css rules.


---


All times are GMT -8. The time now is 05:27 AM.

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