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

How do I change the logo/header size

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-22-2013, 02:10 PM
 
benmackie benmackie is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 52
 

Default 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.
__________________
X-Cart 5
Reply With Quote
  #2  
Old 05-22-2013, 04:57 PM
 
benmackie benmackie is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 52
 

Default 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.
__________________
X-Cart 5
Reply With Quote
  #3  
Old 05-22-2013, 09:27 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default 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
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #4  
Old 05-23-2013, 10:42 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default 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.

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #5  
Old 05-23-2013, 11:23 AM
 
benmackie benmackie is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 52
 

Default 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?
__________________
X-Cart 5
Reply With Quote
  #6  
Old 05-23-2013, 11:42 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default 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.

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #7  
Old 05-28-2013, 08:23 AM
 
benmackie benmackie is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 52
 

Default 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
__________________
X-Cart 5
Reply With Quote
  #8  
Old 05-28-2013, 10:29 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default 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.


---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
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:36 AM.

   

 
X-Cart forums © 2001-2020