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

Is this gradient going to be possible with X-Cart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-17-2005, 01:57 PM
 
jb1013 jb1013 is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 80
 

Default Is this gradient going to be possible with X-Cart

Is there any way to achieve the gradient effect I have here under the flash header

http://www.themarquistheater.com/calendar/index.htm

In the x-cart portion of the site:

http://www.themarquistheater.com/store/xcart/home.php

I managed to get in to the Invision Power Board portion of the site using a <div> that basically wraps everything, but I haven't been able to figure out a way to achieve this in X-cart.

http://www.themarquistheater.com/moments

Thanks for any insight you might be able to provide. I've got a few other skinning questions, but I'll keep them in individual posts.

JB
__________________
Jason Brantley
Axis Computer Conuslting
www.axiscc.com
Reply With Quote
  #2  
Old 05-17-2005, 11:02 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Can you edit skin1/customer/home.tpl and add a background to this <td> ?

Code:
<TD valign="top">
Reply With Quote
  #3  
Old 05-18-2005, 08:07 AM
 
jb1013 jb1013 is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 80
 

Default Didn't work

You can see the results of that for a while here:

http://www.themarquistheater.com/store/xcart/home.php

I'll be back later today.

JB
__________________
Jason Brantley
Axis Computer Conuslting
www.axiscc.com
Reply With Quote
  #4  
Old 05-18-2005, 09:01 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Well that's just pretty isn't it.

Try putting it here:

Code:
<TABLE border="0" width="100%" cellpadding="0" cellspacing="0" align="center"> <TR>

You may want to use CSS.

If that doesn't work, you'd probably have to create a table around the entire content area and put a background on it.
Reply With Quote
  #5  
Old 05-18-2005, 11:40 AM
 
jb1013 jb1013 is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 80
 

Default Figured it out.

Thanks for the help Jon,

You got me thinking about the problem the right way, which ultimately led to a solution.

I ended up using CSS and creating a new class with the background gradient I needed as a background-image. I added 200 pixels of space to dead space to the top of the gradient image to allow for the Flash Header.

Then applied the class to the <Table> tag in the rectangle_top.tpl

Worked perfectly

you can see the results here:

http://www.themarquistheater.com/store/xcart/home.php

Once the store is live it will be here

http://www.themarquistheater.com/store/home.php

Anyway, thanks for the nudge in the right direction, sometimes that's all it takes.

JB
__________________
Jason Brantley
Axis Computer Conuslting
www.axiscc.com
Reply With Quote
  #6  
Old 05-18-2005, 12:45 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

No prob, looks good.
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 11:56 AM.

   

 
X-Cart forums © 2001-2020