Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19456

    Hello. I’m using the column shortcode to insert 4 images in my frontpage but all the images are not aligned correctly.

    It seams that each picture is wrapped by a “p” tag and gets extra margin on top.

    How can I fix this?

    http://www.espacio-k.com/botellodentalcenter/

    #103788

    I think it has something to do with WordPress editor because everytime I try to insert a short code the alignment breaks.

    #103789

    Make sure that the shortcodes are in the same line and separate them with a blank. WP often adds a paragraph tag to the html output if you use line breaks.

    Eg following code sometimes won’t work:

    [one_half first]

    Powered by our very own supper flexible Avia Framework! Lots of easy to customize options that help you instead of overwhelm

    [/one_half]
    [one_half]

    A visual shortcode editor with live preview function helps to create interesting layouts, such as this one !

    [/one_half]

    but:

    [one_half first]
    Powered by our very own supper flexible Avia Framework! Lots of easy to customize options that help you instead of overwhelm
    [/one_half] [one_half]
    A visual shortcode editor with live preview function helps to create interesting layouts, such as this one !
    [/one_half]

    should always work.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘How to remove extra p tags with column shortcode?’ is closed to new replies.