• Resolved yesyeah

    (@yesyeah)


    Can’t give link to site as it’s “locked”, but I am noticing within the accordion option, when I create a separate paragraph, the 2nd paragraph doesn’t retain the same style as the first. If I just put a line break
    between the two paragraphs, it splits it fine, but I need a blank line space in between the 2 paragraphs. A double BR cause the issue as well.

    How can a get multi paragraphs within one spoiler section, ensuring all text has the same style? Please advise, thanks!

    http://wordpress.org/plugins/shortcodes-ultimate/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Can you post the shortcode you are using?

    Thread Starter yesyeah

    (@yesyeah)

    If fixed it by trying multiple setups with the and spacing. Double didn’t work, but with line breaks and spacing and I got it. The shortcode used was standard accordion.

    Thanks!

    Hi – I’m running into the same issue – Are you suggesting that I change the settings to “spoiler” instead of “wpspoiler”?

    test.railroadsofny.com

    Thanks.

    Thread Starter yesyeah

    (@yesyeah)

    I just played around with spacing and line breaks until it worked. It was a pain (not as easy as it should be). 🙂 And you have to keep the page on HTML pane, cause if you change to visual, you lose everything (I kept a text doc of it so I could paste it back in if needed).

    Here is the code that worked for me.

    [su_spoiler title=”title here” style=”fancy”]
    text here

    text here
    [/su_spoiler]

    Good luck! :0

    Thanks for the response!

    Hmm. Tried it – no luck unfortunately. Also – I’m handing this off to a client, so I have to give it to them in a format where they’ll be able to use the visual interface – How’s that for making it harder?

    bam

    Thread Starter yesyeah

    (@yesyeah)

    Sorry 🙁 Tried my best. It took me a while with trying a bunch of stuff, but I think by fiddling with it within HTML pane was the only way. So hopefully there is a better, less finicky plugin for you. Good luck.

    Thanks – really – I do appreciate it though!

    bam

    Whew! I finally got it.

    I placed the entire spoiler inside of a div tag and used the !important tag to modify the margins…

    <div style=”width: 450px; float: left; margin-top: -20px !important; margin-left: -40px !important; margin-right: -80px !important;”>

    SOLVED!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘paragraphs within accordion do not keep style’ is closed to new replies.