X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Chane button location on the Product Details page (https://forum.x-cart.com/showthread.php?t=33105)

zebu 08-07-2007 02:36 PM

Chane button location on the Product Details page
 
Hi have added , both a "Continue shopping" and "Checkout" Button to my product detials page using the following code in the add_to_cart.tpl However the buttons show up vertical, one above the other, how can i display them side by side across the page (with a little hite space in between)??

HTML Code:

{include file="buttons/button.tpl"

button_title=$lng.lbl_add_to_cart href=$href title=$title

style=$style} {include file="buttons/button.tpl"

button_title=$lng.lbl_continue_shopping style="button"

href="home.php"} {include file="buttons/button.tpl"

button_title=$lng.lbl_checkout style="button" 

href="cart.php?mode=checkout"}


many thanks Zane

balinor 08-07-2007 03:52 PM

Re: Chane button location on the Product Details page
 
You need to put them in floating divs to get them to go next to each other, as they are two tables. Either that, or you can use the old school tables with two cells option, but that is a lot of code for a simple operation.


All times are GMT -8. The time now is 11:10 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.