• Resolved leavemehere

    (@leavemehere)


    Hi Guys, I’m trying to create a simple FAQ, with a question on one line, answer on the next.
    But when I attempt it, all the questions (expand titles) end up on the same line bunched together.

    Could someone please let me know what I’m doing wrong!?

    This is what I think it should be(?)

    [expand title=”Question 1″]
    Answer 1
    [/expand]

    [expand title=”Question 2″]
    Answer 2
    [/expand]

    [expand title=”Question 3″]
    Answer 3
    [/expand]

    But what it ends up looking like is this:
    ?Question 1?Question 2?Question 3

    What I really want is this:
    ?Question 1
    Answer 1

    ?Question 2
    Answer 2

    ?Question 3
    Answer 3

    Any help would be much appreciated !! Thanks!

    https://www.ads-software.com/plugins/jquery-collapse-o-matic/

Viewing 1 replies (of 1 total)
  • Plugin Author Baden

    (@baden03)

    Change your default tag from span to div in the plugin options page.
    or use the tag="div" attribute in the shortcode like’a so:

    [expand title="Question 1" tag="div"]
    Answer 1
    [/expand]
Viewing 1 replies (of 1 total)
  • The topic ‘Stacking, questions and answers’ is closed to new replies.