Jump to content


Photo
- - - - -

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

2.3 shortcode button style

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1 dawsonbarber

dawsonbarber

    Super Member

  • Members

  • 164 posts

Posted 20 September 2012 - 04:38 PM

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="

Please Login or Register to see this Hidden Content

target="blank"]Get in Touch[/pl_button]

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

#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 17648 posts

Posted 21 September 2012 - 09:28 AM

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.

#3 dawsonbarber

dawsonbarber

    Super Member

  • Members

  • 164 posts

Posted 21 September 2012 - 02:04 PM

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.

#4 dawsonbarber

dawsonbarber

    Super Member

  • Members

  • 164 posts

Posted 21 September 2012 - 02:22 PM

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:

Posted Image


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.

#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts

Posted 23 September 2012 - 05:14 PM

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.

#6 dawsonbarber

dawsonbarber

    Super Member

  • Members

  • 164 posts

Posted 23 September 2012 - 06:22 PM

Thanks, Rob, for the reply.

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

Cheers

#7 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts

Posted 24 September 2012 - 09:47 PM


Please Login or Register to see this Hidden Content

, 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.


#8 Danny

Danny

    Is Awesome!

  • Moderators
  • 17648 posts

Posted 25 September 2012 - 11:16 AM

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.