Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
payment option extra space between paypal image and eft option. | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium payment option extra space between paypal image and eft option.

payment option extra space between paypal image and eft option.

Posted: April 10, 2013 at 9:03 am

Viewing 6 reply threads


Clare Christie

April 10, 2013 at 9:03 am

Hi there,

I’ve read a lot about this problem however, the solution

.off-site-payment-gateway br {
display: none;
}

only fixed the issue with extra br tags for the paypal option.

Top and bottom of the EFT option are live links that do the same job as the eft link (opens and closes the EFT details.

How can I remove them so the space is gone. I have tried wrapping shortcode in raw tags and

div#off_site_payment_container br {

display:none;

}

Running:

WP 3.5.1

 
E.E 3.1.30.7P
 

Recently upgraded from 1.?????

http://harmonyathome.com.au/new/?page_id=378&r_id=16-51654a07cb71f

Thanks in advance.


Josh

April 11, 2013 at 8:19 am

Hi Clare,

It looks like the theme is adding paragraph tags for each new line in the payment page template. The root of the problem can be solved by removing any theme functions that remove and replace the standard WordPress auto formatting functions. These can be commented out, please see this article for more information:

http://theandystratton.com/2011/shortcode-autoformatting-html-with-paragraphs-and-line-breaks

Here is a CSS workaround that’s more or less a band aid fix:

#bank-payment-option-dv br{
display:none;
}

#bank-payment-option-lnk  {
height: 0;
}


Clare Christie

April 11, 2013 at 7:22 pm

Hi Josh,

Thanks for your response. The first option is not very cut and dry, the only code I could find in the functions.php was this

/* Add shortcode support in widgets */
add_filter(‘widget_text’, ‘do_shortcode’);

Actually, I’m not even sure that post was referring to fuctions.php?

The second option didn’t work either.

Anything else I can try?

Thanks

 


Josh

April 11, 2013 at 7:59 pm

It might be a plugin. I’ve used the Super Skelton theme on another project and I don’t think that one removes the standard WP auto formatting. So you might try disabling any plugins that add shortcodes.

Otherwise you could try adding the !important rule to the CSS:

#bank-payment-option-dv br{
display:none!important;
}


#bank-payment-option-lnk  {
height: 0!important;
}


Clare Christie

April 11, 2013 at 9:36 pm

Hey Josh, !important didn’t work either.

I’ll go through the plugins and let you know if I can track the culprit

Thanks


Josh

April 12, 2013 at 7:32 am

Hi Clare,

It’s most likely the Shortcodes Ultimate plugin. If you go to the Shortcodes Ultimate settings page there is an option where you can disable its custom formatting. If you disable the custom formatting it will no longer add the extra paragraph and break tags everywhere.

screenshot of the Shortcodes Ultimate settings screen


Clare Christie

April 15, 2013 at 9:09 am

Beautiful Josh! Worked a treat.

Thanks for your help on this, much appreciated :)

 

Viewing 6 reply threads

The support post ‘payment option extra space between paypal image and eft option.’ 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.

Event Espresso - Staging Server