| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to change pixel size location for checkout button | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have designed my own .gif to replace the standard orange checkout button. The problem is the standard checkout button is set to 79x19 pixels. When I place my .gif it gets shrunk to where the letters are not legible.
What .tpl or .php file is controlling the 79x19 size for this button? I have tried Webmaster but when I click on the orange checkout button the screens rolls to the personal details screen and I am not seeing the .tpl or .php that is controlling the orange checkout button. I have looked through customer/home.tpl cart.php?mode=checkout and various others any help would be appreciated. Thank you.
__________________
X-Cart 4.2.3 Frank S. |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You might also check the css - it could be controlling the height.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#3
|
|||||||
|
|||||||
![]() g2bworld thank you for responding.
I checked skin1.css and did not find any refernce to the orange checkout button or checkout.gif as it is offically labeled.
__________________
X-Cart 4.2.3 Frank S. |
|||||||
#4
|
|||||||||
|
|||||||||
![]() If you post a link, I can take a look.
When I look at the checkout button on the XCART demo site with classic orange skin - I see a class called "ButtonSide" which is controlling the height of the checkout button. The width of the button is being controlled by the text inside the button. You might also find the Firebug addon in Firefox very useful at tracing things like this. You can inspect anything on the page and see the css and html code that are controlling it.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#5
|
|||||||
|
|||||||
![]() g2bworld may I pm you the link the site is still in development and I am not ready for a host of people to view it.
I have not tried Firefox with Firebug however I think I am going to spend some time with it as you mention and I have read others post it is the way to go. Ok the text inside the button controls the size next question where is the text? let me look at some labels and see if I can locate the text perhaps I can keep the same button just alter the text.
__________________
X-Cart 4.2.3 Frank S. |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Sure - you can pm me.
The txt is likely a language variable. Try lbl_checkout
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#7
|
|||||||
|
|||||||
![]() I will pm you tommorrow I am calling it a day.
I downloaded Firefox and Firebug you are right on with the information they provide. Firebug show the button being controlled by cart.php?mode=checkout I briefly looked for the above but my eyes started giving out from reading through so much today.
__________________
X-Cart 4.2.3 Frank S. |
|||||||
|
|||
X-Cart forums © 2001-2020
|