HH Services Limited Posted June 16, 2014 Share Posted June 16, 2014 Hi everybody, I found a problem on my site: the add to cart button on the product´s page is covering a fast link to paypal that I really like. Please see it by yourself at: http://www.highesthelp.com/personalized-horoscope/7-exclusive-and-private-appointment-with-professor-and-master-in-metaphysical-sciences-monsieur-ignacio.html Any way to fix this? Thanks in advance... Link to comment Share on other sites More sharing options...
PSfever.com Posted June 16, 2014 Share Posted June 16, 2014 Hi, In product.tpl change this (approx. line 382) <div class="box-cart-bottom"> <div{if (!$allow_oosp && $product->quantity <= 0) || !$product->available_for_order || (isset($restricted_country_mode) && $restricted_country_mode) || $PS_CATALOG_MODE} class="unvisible"{/if}> <p id="add_to_cart" class="buttons_bottom_block no-print"> <button type="submit" name="Submit" class="exclusive"> <span>{l s='Add to cart'}</span> </button> </p> </div> {if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if}<strong></strong> into this: <div class="box-cart-bottom"> <div{if (!$allow_oosp && $product->quantity <= 0) || !$product->available_for_order || (isset($restricted_country_mode) && $restricted_country_mode) || $PS_CATALOG_MODE} class="unvisible"{/if}> <p id="add_to_cart" class="buttons_bottom_block no-print"> <button type="submit" name="Submit" class="exclusive"> <span>{l s='Add to cart'}</span> </button> </p> {if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if}<strong></strong> </div> Then, you will need to open Paypal .tpl file (not sure which one it is) and change the CSS inside the input button froim style="float:left;margin-top:-30px;" to style="margin: 10px auto;display: block;" Then clear cache and it should work. Link to comment Share on other sites More sharing options...
HH Services Limited Posted June 16, 2014 Author Share Posted June 16, 2014 I changed the product tpl file without any results.... the paypal file I could not find, but if the change in the product tpl file didnt affect anything then changing the paypal file wont neither.... Any other suggestion? Thank you Link to comment Share on other sites More sharing options...
vekia Posted June 16, 2014 Share Posted June 16, 2014 somewhere in your styleshet file use this: #paypal-express-checkout-form {margin-top: 50px;} ps .remember to recompile theme, at the moment you use ccc for css 1 Link to comment Share on other sites More sharing options...
HH Services Limited Posted June 16, 2014 Author Share Posted June 16, 2014 (edited) where should I find this file? folder subfolder? Thank you Edited June 16, 2014 by npr321 (see edit history) Link to comment Share on other sites More sharing options...
PSfever.com Posted June 16, 2014 Share Posted June 16, 2014 Well nothing changes, if you don't edit the PayPal .tpl file..I don't know which one it is, as I don't use PP. What Vekia suggested - you need to put that into any .css file, there is not a defined CSS ID class for PayPal form. Link to comment Share on other sites More sharing options...
vekia Posted June 16, 2014 Share Posted June 16, 2014 where should I find this file? folder subfolder? Thank you you can paste this code to global.css file located in your theme directory (in css subdirectory). paste it at the very end of the file. 1 Link to comment Share on other sites More sharing options...
chelly215 Posted October 1, 2014 Share Posted October 1, 2014 I can't get the add to cart button to display on any of my main pages. Please view the screen shot below. Link to comment Share on other sites More sharing options...
Recommended Posts