Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Baden

    (@baden03)

    ca you provide an example of just the opening tag of your shortcode?

    Thread Starter baffo2000

    (@baffo2000)

    Sure:
    [expand tag=”p” findme=”auto” rel=”1″ alt=”lines 1-2″ title=”Ἐγένοντο Λήδᾳ Θεστιάδι τρεῖς παρθένοι,
    Φοίβη Κλυταιμήστρα τ᾽, ἐμὴ ξυνάορος,” swaptitle=”Ἐγένοντο Λήδᾳ Θεστιάδι τρεῖς παρθένοι,
    Φοίβη Κλυταιμήστρα τ᾽, ἐμὴ ξυνάορος,”]

    Thread Starter baffo2000

    (@baffo2000)

    If I remove the “p” tag, I lose the CSS styling…

    Plugin Author Baden

    (@baden03)

    it’s actually the css of the “p” tag that is causing the entries to have space between them.
    You have a couple of options: first, you could ‘wrap’ everythign in a p tag. Second you could assign custom classes and assign them using the trigclass and targclass attributes.

    Also, it seems you are using HTML in the swaptitle. If it works, ok, but HTML is not fully supported within a shortcode attribute.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Collapsing in-line’ is closed to new replies.