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

template editing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-13-2009, 12:44 AM
 
CTC CTC is offline
 

Advanced Member
  
Join Date: Nov 2006
Posts: 60
 

Default template editing

Hi Members, what file controls the top of the page where the image is on a fresh 4.2 install.

In both the customer page and the normal page.

It is auto sizing the image and I want the height to be the size of the image on both the admin and customer page.

thanks in advance.
__________________
There are 3 types of ppl in the world those who can add and those who can not.

Running X-Cart Gold V 4.2
Reply With Quote
  #2  
Old 04-13-2009, 12:50 AM
 
CTC CTC is offline
 

Advanced Member
  
Join Date: Nov 2006
Posts: 60
 

Default Re: template editing

stop looking i found it

/head_admin.tpl

Sorted out the admin one but the main page is still shrinking the image. Which one controls the header?
__________________
There are 3 types of ppl in the world those who can add and those who can not.

Running X-Cart Gold V 4.2
Reply With Quote
  #3  
Old 04-13-2009, 04:01 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: template editing

You need to use Webmaster Mode to tell you which template is which, and Firebug to tell you which classes are which.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 04-13-2009, 06:00 AM
 
CTC CTC is offline
 

Advanced Member
  
Join Date: Nov 2006
Posts: 60
 

Default Re: template editing

i use webmaster mode and click where the logo is and it refreshes the page.
I installed that firebug and that of no help either.

i can see that customer/head.tpl shows it pulling in the logo called xcart.gif but not quite clear in that template where it sizes it up.
__________________
There are 3 types of ppl in the world those who can add and those who can not.

Running X-Cart Gold V 4.2
Reply With Quote
  #5  
Old 04-13-2009, 06:24 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: template editing

You don't click - you use the debug console and move your mouse around - it will highlight the template name, or vice versa.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 04-14-2009, 08:15 AM
 
buyfroma buyfroma is offline
 

Member
  
Join Date: Apr 2009
Posts: 10
 

Default Re: template editing

Did you check the skin1/main.css? If not look under "header styles"
__________________
X-cart Pro 4.2.0
Reply With Quote
  #7  
Old 04-15-2009, 06:59 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: template editing

Ok I'm having the same issue.

However after modding the main.css to fit the new size of my clients logo. It pushed the top Search/Advanced bar down into Categories and Your Cart menu.

Any help?
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #8  
Old 04-15-2009, 07:36 PM
 
buyfroma buyfroma is offline
 

Member
  
Join Date: Apr 2009
Posts: 10
 

Default Re: template editing

just change the margin-top under content container... for example

#content-container {
clear: both;
float: left;
overflow: hidden;
position: relative;
width: 100%;
padding-bottom: 39px;
margin-top: 184px;
__________________
X-cart Pro 4.2.0
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 09:58 AM.

   

 
X-Cart forums © 2001-2020