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

Adding divider

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-28-2005, 10:22 AM
 
babers babers is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default Adding divider

I want to add a divider to separate my menu from the rest of the page.

Right now you can see my site at: www.boardzo.com

Here is what I am hoping to do (edited a screenshot with photoshop...)
http://www.boardzo.com/skin1/images/editboardzo.jpg

Also, does anyone have suggestions that would make my layout look better/more professional?

Thanks!
__________________
www.boardzo.com
X-Cart Pro v4.0.13
Reply With Quote
  #2  
Old 05-28-2005, 10:37 AM
 
balinor balinor is offline
 

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

Default

Hey Brian. Just add a 1px wide table cell between the center section and the menu section and give it a background color.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-28-2005, 01:55 PM
 
babers babers is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default Something wrong

I must be doing something wrong...

I can't figure out where to place "<TD WIDTH="1" BGCOLOR="black"></TD>" in customer/home.tpl.

Any help? Thanks
__________________
www.boardzo.com
X-Cart Pro v4.0.13
Reply With Quote
  #4  
Old 05-28-2005, 02:07 PM
 
zardos zardos is offline
 

Senior Member
  
Join Date: Jun 2004
Location: UK England
Posts: 140
 

Default

Hi babers

Just add this to your home.tpl in <----main area-----> after {include file="help.tpl"}
Code:
<TD width="21" class="Seperator">[img]{$ImagesDir}/spacer.gif[/img]</TD>

Then add this to your skin1.css

Code:
.Seperator { /* 1 pixel vertical line between menus */ background-image: url("images/bg1.gif"); background-position: top left; background-repeat: repeat-y; }

Now Make your self a 21x21px image that should do it.
Here is one to get you started.

http://www.megapcs4u.co.uk/megapcs4u/skin1/images/bg1.gif

Hope that helps
__________________
X-Cart V4.0.18
PHP 4.3.10
MySQL Server 4.0.22
Apache/1.3.33 (unix)
OS - Linux
Reply With Quote
  #5  
Old 05-28-2005, 03:31 PM
 
babers babers is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default

Perfect. Thanks!!
__________________
www.boardzo.com
X-Cart Pro v4.0.13
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:57 AM.

   

 
X-Cart forums © 2001-2020