Title: Shortcode breaks css
Last modified: August 21, 2016

---

# Shortcode breaks css

 *  [thiloroe](https://wordpress.org/support/users/thiloroe/)
 * (@thiloroe)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/shortcode-breaks-css/)
 * Hi Paul,
 * sorry to bug you with this but I’m really mystified. Everything worked fine but
   now suddenly the customized button of your plugin breaks my css. No idea why.
   Maybe since upgrading to WP 3.8? I don’t know.
 * Here’s a link to a page without the button and proper styling:
    [http://allesbeste.de/audio-und-hifi/der-beste-mobile-bluetooth-lautsprecher](http://allesbeste.de/audio-und-hifi/der-beste-mobile-bluetooth-lautsprecher)
 * Here’s a link to an otherwise identical page but with the shortcode for the button
   at the end of the article and at the top of the sidebar:
    [http://allesbeste.de/audio-und-hifi/der-beste-wlan-lautsprecher](http://allesbeste.de/audio-und-hifi/der-beste-wlan-lautsprecher)
 * The problem persists even if I remove all the css for the button. And what’s 
   weirder still: I didn’t change anything except upgrading to WP 3.8.
 * Any ideas what’s going on?
 * Thanks in advance,
 * Thilo.
 * [http://wordpress.org/plugins/amazon-link/](http://wordpress.org/plugins/amazon-link/)

Viewing 16 replies (of 16 total)

[←](https://wordpress.org/support/topic/shortcode-breaks-css/?output_format=md) 
[1](https://wordpress.org/support/topic/shortcode-breaks-css/?output_format=md) 
2

 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/shortcode-breaks-css/page/2/#post-4430903)
 * All very mysterious,
 * You should not be getting any %KEYWORDS being displayed after the shortcode is
   processed. Could indicate that the preg_replace is not completing correctly. 
   You could try adding the following to WordPress config.php:
 * `ini_set('pcre.backtrack_limit', 10000000)`
 * I’m working on optimising the performance of the plugin, so the next version 
   might work better for you.
 * Be aware I have not tested the ‘Shortcode Cache’ much, it was something I was
   working on when I had to do the bug fix release.
 * Paul

Viewing 16 replies (of 16 total)

[←](https://wordpress.org/support/topic/shortcode-breaks-css/?output_format=md) 
[1](https://wordpress.org/support/topic/shortcode-breaks-css/?output_format=md) 
2

The topic ‘Shortcode breaks css’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-link_070606.svg)
 * [Amazon Link](https://wordpress.org/plugins/amazon-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-link/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-link/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/shortcode-breaks-css/page/2/#post-4430903)
 * Status: not resolved