[Resolved] css issues

Home Forums Support css issues

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1071608
    Michelle

    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

    #1072258
    David
    Staff
    Customer Support

    Hi there,

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

    #1072856
    Michelle

    `<form action=”https://www.sandbox.paypal.com/cgi-bin/webscr&#8221; 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&#8221; 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&#8221; width=”1″ height=”1″>
    </form>

    #1072867
    David
    Staff
    Customer Support

    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.

    #1072874
    Michelle

    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.

    #1072881
    Michelle

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

    #1073091
    David
    Staff
    Customer Support

    Not sure what type of payment require you have – but maybe a plugin like this would be a better bet:

    https://en-gb.wordpress.org/plugins/wp-paypal/

    #1073338
    Michelle

    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

    #1073927
    Tom
    Lead Developer
    Lead Developer

    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 🙂

    #1073966
    Michelle

    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.

    #1074272
    Tom
    Lead Developer
    Lead Developer

    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 🙂

    #1074362
    Michelle

    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.

    #1074954
    Tom
    Lead Developer
    Lead Developer
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.