Posted: March 8, 2013 at 1:09 pm
|
When our customers go to checkout for our Charity Golf Classic the Paypal button shows up all the way down on the bottom of the page. Making it appear as though there is nothing until the customer scrolls down the page. Any help would be appreciated. |
Hi Paul, It’s likely that your WordPress theme is doing this by adding line breaks for each hidden input. Can you try wrapping the shortcode on the registration page with the [raw] short tag? It will look like this: |
|
|
I tried the [raw] shortcode and it didn’t work. I tried to add the plaugin Raw HTML, nothing, also tried the following code in function.php function my_formatter($content) {
} remove_filter(‘the_content’, ‘wpautop’); add_filter(‘the_content’, ‘my_formatter’, 99); and although it hide the shortcode, this didn’t work either |
Hi Paul, Adding the above code to your theme will not fix this problem. You can hide those break tags with some CSS -or- track down the code in your theme that’s adding the break tags. |
|
|
The code actually helped with the shortcode [raw] … but still have the break tags in there. I’m not a savvy CSS guy, so can’t go that route unfortunately. |
The would remove the [raw] tags from displaying on the page, but I’d recommend manually removing the raw tags, they’re not necessary, and neither is the my_formatter function. It may even break some things. You can add this CSS to your theme to hide those break tags:
|
|
|
I add that to the style.css but still have the breaks in there. I appreciate the help. It’s not to big a deal, just was hoping to make it look better for the event!!! |
You might want to try adding the CSS again, and make sure you clear your browser’s cache before testing. Here’s a screenshot the page with the same CSS rule injected with a web developer tool. |
|
The support post ‘Paypal Button Showing Up At The Bottom Of The Page’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.