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

How Do I Round The Edges On The Menu Boxes

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-11-2004, 03:08 PM
 
systemedix systemedix is offline
 

Member
  
Join Date: Aug 2004
Location: Maryland, USA
Posts: 25
 

Default How Do I Round The Edges On The Menu Boxes

How Do I Round The Edges On The Menu Boxes to give the site more than just a boxy look
Reply With Quote
  #2  
Old 09-12-2004, 08:59 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

Do it with a graphic border instead of a table one. You need to edit the template file skin1/menu.tpl
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #3  
Old 11-15-2004, 04:57 AM
 
bigmac bigmac is offline
 

Member
  
Join Date: Nov 2004
Location: UK
Posts: 25
 

Default

I am new to this and have limited experience. I am designing my own site and would like to know how to round off the edges on the menu boxes too. I understand that I will need to create the image in Photoshop, but do I have to delete the menu header and replace it with a complete graphic or can I insert rounded images in the corners?

Thanks for your understanding.
__________________
Bigmac
X-Cart 4.0.17 Gold
Reply With Quote
  #4  
Old 11-15-2004, 07:07 AM
 
longhorn180 longhorn180 is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Richmond, Virginia
Posts: 187
 

Default

The best way to do it is to make a 3x3 table in the menu.tpl. insert your images into the corner cells, your menu title in the middle cell of the top row and your content into the middle cell of the 2nd row.
__________________
4.1.9 (Linux) Live Store
www.thecrackedbook.com
Find used books and out of print books.
Reply With Quote
  #5  
Old 11-15-2004, 12:02 PM
 
bigmac bigmac is offline
 

Member
  
Join Date: Nov 2004
Location: UK
Posts: 25
 

Default

Quote:
Originally Posted by longhorn180
The best way to do it is to make a 3x3 table in the menu.tpl. insert your images into the corner cells, your menu title in the middle cell of the top row and your content into the middle cell of the 2nd row.

Thanks for your prompt reply longhorn180. I have managed to put in the corners but have lost the CSS for the box. Is that meant to be and do I have to shade manually or can I still use CSS to change colours for both the Titles and shading?

Many thanks.
__________________
Bigmac
X-Cart 4.0.17 Gold
Reply With Quote
  #6  
Old 11-15-2004, 12:35 PM
 
longhorn180 longhorn180 is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Richmond, Virginia
Posts: 187
 

Default

Did you use the css from the original menu.tpl file? If not you can go to your skin1_original/menu.tpl, copy it from there to your new menu file wherever it needs to be and that should fix it.
__________________
4.1.9 (Linux) Live Store
www.thecrackedbook.com
Find used books and out of print books.
Reply With Quote
  #7  
Old 11-15-2004, 11:18 PM
 
Yang Xu Yang Xu is offline
 

Senior Member
  
Join Date: May 2004
Location: Portland, Oregon
Posts: 175
 

Default

There are two ways to do the round corner on menu:

1. create a left and right corner images, use table to put the images on the right location and other area uses back ground color.

- advantages: less images to load and reduce bandwidth
- disadvantages: html codes will be complicated

2. create an image as a shape of menu top and use it as back ground image.

- advantages: html codes will be very simple
- disadvantages:larger size image to load and increase bandwidth
__________________
Carts n Tools.com
- New Root HTML Generator
- Templates | Add-Ons | Services
- XCart 4.0.x
Reply With Quote
  #8  
Old 11-16-2004, 01:19 AM
 
bigmac bigmac is offline
 

Member
  
Join Date: Nov 2004
Location: UK
Posts: 25
 

Default

Thank you for you help - very much appreciated. I have added the corner edges and set the cellspacing and cellpadding to 0 but have now lost the thin border around the main body of the verticalmenu. Would anybody be able to let me know how to get that back?

Many thanks.
__________________
Bigmac
X-Cart 4.0.17 Gold
Reply With Quote
  #9  
Old 11-16-2004, 02:57 AM
 
bigmac bigmac is offline
 

Member
  
Join Date: Nov 2004
Location: UK
Posts: 25
 

Default

Longhorn180 & Yang Xu - thank you for your help. Ignore the last note, I have managed to do it. I was being stuipd and forgot to close the table before inserting the menuborder CSS for the main body of the menu.

Thanks once again.

H
__________________
Bigmac
X-Cart 4.0.17 Gold
Reply With Quote
  #10  
Old 11-16-2004, 12:53 PM
 
lzawie lzawie is offline
 

Member
  
Join Date: Oct 2004
Posts: 14
 

Default

Quote:
Originally Posted by bigmac
Longhorn180 & Yang Xu - thank you for your help. Ignore the last note, I have managed to do it. I was being stuipd and forgot to close the table before inserting the menuborder CSS for the main body of the menu.

Thanks once again.

H

Can you post a link to your site so we can see how the rounded corners came out?

Thanks
Lynn
__________________
Version 4.06
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:10 AM.

   

 
X-Cart forums © 2001-2020