Site logo

Archived topic

css issues

12 replies · Started by Michelle on November 21, 2019

Viewing posts 1–13 of 13

Hi, I have been trying to add PayPal buttons to my site. I have copied and pasted it 4 or 5 times in the customizer advanced CSS. After I paste it I get a bunch of red x's and saying I have errors that need fixed. So I have gone through and deleted where it is red underlined. Well, it's about half of the code.

I have to delete the hyphens, equal signs, periods, the arrows. Pretty much all except the letters. It fixes all except when I get to the last one or two left and it won't clear the error even though it is in green and doesn't show me what is wrong. At the top, it just says you have 1 or it could be 2 errors. I can't fix it so I end up deleting the whole code.

What am I doing wrong? The one I am trying to add now is the sandbox PayPal then I have to do the live one. Michelle

Hi there,

are you able to share the code you're trying to add? So i can see which type of code it is.

`<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="xxxxxxxx">
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

That code is HTML - so would be added to your post content.
If you're using the classic WP editor then switch to text mode.
If you're using the Block editor then add it using a HTML Block.

should I connect it fo my cart page instead? I had issues before trying to add the payments so customers can stay on my site and not having to leave for another page to pay. I have not been able to set it up on my own site.

sorry I didn't realize you answered me back when I sent the other message. yes, I am using wp editor also using elementor.

your right I would like to have that plugin but I have 9 plugins and I'm afraid of having too many.
It gets really frustrating. thanks for your help

I wouldn't worry too much about having too many plugins. If those plugins are well-coded/reviewed, you're completely safe to use them. For example, this site we're on has almost 25 plugins :)

oh ok! The host I have teaches that you shouldn't have any more than eight and my site shows that my plugin is at 10% left. Some of the ones I have a extensions for woocommerce.

When it comes to plugins, it's really not as simple as "you should only have x activated". Some plugins might be one line of code, while some might have 5000 lines of code. In the end, it comes down to only having the plugins you 100% need, and make sure they come from good developers with good ratings :)

Thank you, I really appreciate you both for taking the time out to help me. I did install the Paypal plugin and i now have it setup.

Glad we could help :)

This archived topic is closed to new replies.