• Resolved susantau

    (@susantau)


    Hi Collapse-o-matic,

    I love your plugin! This is the 3rd site I’m using it on. But this time I’m having an issue I’ve never encountered before.

    If you go to https://manapottery.com/mar2018wp/ (my site in progress), you will see at the top of that page that I’m trying to add a collapsing box. In the collapsed box surrounded by a blue dotted border, the text says, “SPECIAL ORDERS, SHIPPING and RETURNS.” Underneath this text is a big space, which is apparently a paragraph, but I don’t want a paragraph there and I can’t figure out how to eliminate it.

    Can you please advise?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 25 total)
  • Thread Starter susantau

    (@susantau)

    p.s. I eliminated the padding at the bottom of the div containing the text, so it looks lots better, but that paragraph is still there. Sure would like to 86 it. ??

    • This reply was modified 6 years, 8 months ago by susantau.
    Plugin Author twinpictures

    (@twinpictures)

    ahh, yes… this is a vintage issue caused by the wpautop filter.

    Check to make sure the ‘filter content’ option is turned off in the plugin settings. If that does not work, get back to us and we’ll take a closer look. Regardless, fret not, we’ll help you get it resolved.

    Thread Starter susantau

    (@susantau)

    aHA! I changed the Tag Attribute in the Collapse-o-matic settings to span from div, and the extra paragraph is gone. Maybe I have answered my own question!

    Plugin Author twinpictures

    (@twinpictures)

    Yup that would do it.
    Glad you got it solved.
    Let us know if you run into any other issues.

    Edit: hmm, posted to soon. We’ll take a closer look at it.

    • This reply was modified 6 years, 8 months ago by twinpictures. Reason: reopened issue
    Thread Starter susantau

    (@susantau)

    no, not quite. looks great before the box expands, but the expanded box is now no longer inside the blue dotted border.

    • This reply was modified 6 years, 8 months ago by susantau.
    Plugin Author twinpictures

    (@twinpictures)

    ok, the blue dotted border is a css issue.
    Set it back to span, and we’ll show you how to change the css to wrap the div in a dotted border as well.

    Thread Starter susantau

    (@susantau)

    hi thanks for your response! So I should also set the Tag Attribute also to span?

    Thread Starter susantau

    (@susantau)

    i made the Tag Attribute span. So now the dotted border only goes around “Close this box” instead of the entire text area when expanded. I;m pretty sure this has to do with having div containers inside of a span container… I have a div wrapped around the hidden text… hmmm thinking…

    Thread Starter susantau

    (@susantau)

    i tried eliminating the div (class=”store-notes”) but it didn’t seem to have any effect, so i put the div back again.

    i’ll stop messing around ?? and wait for you to instruct me…

    • This reply was modified 6 years, 8 months ago by susantau.
    Plugin Author twinpictures

    (@twinpictures)

    ok, be sure you are using div as your default attribute and add the following css to your child-theme or the quick css section of your theme. you can also add this to the plugin settings > custom css section:

    .collaps-o-matic-store-notes {
        border: 1px dotted blue;
    }
    Thread Starter susantau

    (@susantau)

    ok, i think i have done what you instructed. but now the box is not around any text…

    Plugin Author twinpictures

    (@twinpictures)

    Where did you add the CSS to your theme?
    it seems not to be loading on the page.

    Thread Starter susantau

    (@susantau)

    it’s a child theme style sheet. i reloaded it after changing version, that usually makes it load (when the browser is in hyper-cache mode).

    Plugin Author twinpictures

    (@twinpictures)

    yeah, you need to turn off all caching plugins when making changes to your page, especially css.

    Thread Starter susantau

    (@susantau)

    so are you seeing the updated css now?

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Mysterious extra paragraph’ is closed to new replies.