Jump to content
Sign in to follow this  
slewster

Border around Paypal donate button

Recommended Posts

slewster

I installed the Paypal donations plugin and placed the button on the bottom footer bar. However, there is a gray border that surrounds the button and i can't seem to get rid of it! I have tried changing the border code for the fbox and sidebars to 0px in the css, but it's not working. Please tell me what to do to remove the border around the button. Thanks.

Share this post


Link to post
Share on other sites
Andrew

First, do you have Firebug installed? You probably need to add a custom css rule for it.. do you have a live link?

Share this post


Link to post
Share on other sites
slewster

What would be the correct custom css rule to fix it? I was thinking img {border: none} and tried it but it didnt work. Forgive me, i am not really a developer. :)

Share this post


Link to post
Share on other sites
Andrew

the border:none is close but we need the actual 'class' of the paypal html element. Use firebug to identify it or give us a live link so we can help...

Share this post


Link to post
Share on other sites
slewster

im too embarasssed to show my site to anyone now. but here is the class for the widget that i found: /** * The Class for the Widget * */ if (class_exists('WP_Widget')) : class paypal_donations_Widget extends WP_Widget { /** * Constructor * */ function paypal_donations_Widget() { // Widget settings. $widget_ops = array ( 'classname' => 'widget_paypal_donations', 'description' => __('PayPal Donation Button', 'paypal-donations') ); // Widget control settings. $control_ops = array( 'id_base' => 'paypal_donations' ); // Create the Widget $this->WP_Widget( 'paypal_donations', 'PayPal Donations', $widget_ops ); } what do you make of it?

Share this post


Link to post
Share on other sites
Andrew

can you get me the HTML that its generating? (use firebug to get this)

Share this post


Link to post
Share on other sites
nickwestergaard

I am having the same issue with the button on my site as well. Here is the link: http://jacobyforhouse.org/ Any help would be greatly appreciated. Thanks - Nick

Share this post


Link to post
Share on other sites
cmunns

try adding this to your custom css area in the theme admin `form input {border-width:0px;}`

Share this post


Link to post
Share on other sites
calumks

Thanks! This fixed the problem!

Share this post


Link to post
Share on other sites
cmunns

I can't find your paypal button. You will just have to add a more specific css class so it doesn't include the comments.

Share this post


Link to post
Share on other sites
giulioregosa

I am having the same problem look feature box 4 at http://www.regosa.it/animatest I don't understand exactly where to try to put form input {border-width:0px;} to resolve this problem can you the file and the point where past the code? thanks

Share this post


Link to post
Share on other sites
cmunns

You don't have to mess with the files. Just paste into the custom css code area in your main theme options area under custom code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×