Archived

This topic is now archived and is closed to further replies.

  • 0

After uprading to 2.3, shortcode styling effects seem to have disappeared


Question

Posted · Report post

After upgrading to 2.3, shortcode styling seems to have disappeared for some buttons in a Feature Section I have.

Here's the shortcode I'm using for one button:

[pl_button type="warning" size="large" link="http://truelocalonlinemarketing/contact.com" target="blank"]Get in Touch[/pl_button]

Basically, the button colour - and other styling - has disappeared.

Share this post


Link to post
Share on other sites

9 answers to this question

Posted · Report post

I did a completely fresh reinstall of the site yesterday (deleted database, WordPress directories and files, and reinstalled everything from scratch), due to another problem that wouldn't go away. The other problem went away but not this one.

No matter what I do, the button styling won't change.

I've tried disabling all non-PageLines plugins and still get the same result (I've also tried disabling all plugins - including PageLines - same problem).

I've also tried using the code straight from the Twitter Bootstrap site and still no change.

For what it's worth, button shortcodes appear to be working everywhere but in the Features Section.

Share this post


Link to post
Share on other sites

Posted · Report post

I tried to look at your site but it appears to be in Maintenance Mode.

Honestly, after testing this myself, I believe there is a features CSS element somewhere that's causing CSS for the shortcodes to be overridden. This is likely the result of the slider being a jQuery based product, rather than the shortcode's CSS or the slider's.

From other topics I've noticed that the shortcodes can't be successfully placed in javascripted elements and jQuery is javascript.

Share this post


Link to post
Share on other sites

Posted · Report post

Maybe this will provide some insight into what's going on.

I've taken a look in Firebug and here's how the code appears for the button in the Feature Section:

shortcode-problem.png

I tried manually adding the CSS in the stylesheet for the Base Theme and the styling takes effect (only when using the !important tag, I should point out).

I should add that I've also tried deleting all custom CSS, but that doesn't have any effect.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks, Rob, for the reply.

As mentioned, custom CSS (with !important) works so it's not really a problem.

Cheers

Share this post


Link to post
Share on other sites

Posted · Report post

Cloudindigo,

The reason we ask users to create a new topic is that most users will have a different issue and this will actually cause issues when users search for topics. This is why our search in our previous forum powered by Vanilla were so bad.

Please just create a new topic.

Share this post


Link to post
Share on other sites

Posted · Report post

cloudindigo, please open your own topic, so that we may properly address your concerns directly. This is considered topic hijacking, thus I'm hiding the reply. Thanks for your cooperation.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

I have just copied and pasted the code above into a new page I created on my test site and the button is working as intended. Therefore, I recommend you disable all non-PageLines plugins and see if this resolves your issue.

Share this post


Link to post
Share on other sites