![]() |
Boxes with round corners...
Does somebody know how to make in html the boxes with the round
corners, such as used on genpi.com? http://home.zonnet.nl/jumpers/corners.jpg http://home.zonnet.nl/jumpers/corners2.jpg Till now I managed to (re)produce the 4 round corners en the 2 horizontal lines, but I can't figure out how the close the box with the 2 vertical lines. I hope that somebody can help me. Many thanks in advance!! |
Genpi uses CSS for the vertical images (lines)
.menutable { BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: 0px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: 0px solid; FONT-STYLE: normal; } applied to the table that holds their product image. |
Wonderfull - that did it !! :D :D :D
Thanks alot for helping!! |
Jerrad,
Did you create the 2 horizontal lines as images and add them using CSS? I am trying to do exactly the same as you and have created the images, but I can't seem to work out how to get these round the tables in featured products. H |
Hi Bigmac,
For the horizontal line I used two gif's, which I gave a table cell width of 100%. I've put them here for you to download. They're very small but they are the grey dots on the right of the arrows. I've used this one for the top line: > http://home.zonnet.nl/jumpers/top.gif And this one for the bottom line: > http://home.zonnet.nl/jumpers/bottom.gif Just right click on it and save them. Hope this helps - good luck! |
|
:D
|
Hi,
I need the same round corner for my product image but i dont have any where i start, i new to xcart please help. Thanks |
For your product image? You mean in product.tpl?
|
Thanks for reply, yes in my product.tpl and producs.tpl
|
Did the code above not work for you?
|
i have squire boxes for my products page but i dont where how to make it round corner
www.eaglemobiles.co.uk |
You need to follow the instructions above. Open product_t.tpl and apply the style to the table containing the product. Then, create the style in your style sheet (skin1.css) as shown above.
|
Many thanks Jerrad for your help and for putting the images on your reply.
Am I right in saying I add a row with 3 columns and place the corners in columns 1 & 3? Also, I seem to be having problems getting the images on 2 and 3 column format. When I add the images in products_t.tpl, it adds the images around the first column but misses columns 2 & 3. Would very much appreciate anyones help with this. Kindest regards, Bigmac |
I have now inserted two columns to the left and right of the main body in products_t.tpl and inserted my 2 top corners. Everything works fine and I have my two top images visible in home.php. When I insert a row below and place my images for the bottom 2 corners, only the first product has the 2 bottom images in place. I have tried adding the images using Background in CSS, but when I put my side borders in place, they go to the end of the line extending past the corners and look a mess. Can anyone point out where I am going wrong please?
H |
Rounded Box Corners - Coming Along Slowly!
I have had some considerable help from Jerrad on this and it is starting to come about. However, I don't know what I did to make everything go in to a column and not across (by 2) for my center display. Here is the code I am using for products_t.tpl:
Code:
{* $Id: products_t.tpl,v 1.10.2.7 2004/12/23 09:11:59 max Exp $ *} |
First of all, I'm not a programmer. I was just playing around with the rounded corners.
Maybe someone can inprove this a little: (this is my products_t.tpl) Quote:
http://luster.ca/xcart/skin1/images/border_left_top.gif, http://luster.ca/xcart/skin1/images/border_right_top.gif, http://luster.ca/xcart/skin1/images/border_left_bot.gif, http://luster.ca/xcart/skin1/images/border_right_bot.gif and http://luster.ca/xcart/skin1/images/border.gif. I know this needs some more attention. Not sure if this can be of any help for someone but I like to contribute the very little I can because of all the great work I've seen here so far. Regards, Kristiaan. |
Rounded Box Corners - Triumphet at Last
Thank You so Very Much - You have accomplished what I have been trying to do for so long now. This works for 4.0.13 and I know that will make a lot of people happy. Check it out at www.ourgiftshoppe.com. Thanks to you, Jerrad and all the other people in this forum for helping us nu-b's out so much.
|
Re: Boxes with round corners...
has anyone got this to work is 4.1.9?
|
Re: Boxes with round corners...
You can check out this one. It is a cleaner modifiaction.
http://forum.x-cart.com/showthread.php?t=33828&highlight=round+corner |
All times are GMT -8. The time now is 08:08 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.