[Resolved] Columns Shortcode Vertical Alignment Issue

Home Forums Support [Resolved] Columns Shortcode Vertical Alignment Issue

Home Forums Support Columns Shortcode Vertical Alignment Issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #219163
    Beau

    Hi Tom,

    I’m using the Columns Shortcode plugin with your GP theme, a plugin that I use on a lot on my sites. For the most part, it works great on other sites.

    Page in Question: https://www.golfingforgary.com/tournament/
    The vertical alignment of the content under Winner’s Circle within the column shortcodes is staggered with each column. Is GP adding additional code to the content in the shortcode? Something to note – I have this in a section (Add-on) as well. Any idea what I can do to fix this?

    Here’s the code right from the site, as I see it in the section:

    [one_third]<strong>2012</strong>
    <ul>
     	<li>Peter Mills</li>
     	<li>JP Mills</li>
     	<li>Kyle Trefethen</li>
     	<li>Andrew Blais</li>
    </ul>
    [/one_third]
    [one_third]<strong>2013</strong>
    <ul>
     	<li>Jeff Whitlow</li>
     	<li>Anthony Menario</li>
     	<li>Joe Manganaro</li>
     	<li>Eric Gilbert</li>
    </ul>
    [/one_third]
    [one_third_last]<strong>2014</strong>
    <ul>
     	<li>Michael Coyne</li>
     	<li>Aiden Boyce</li>
     	<li>Tom Murray</li>
     	<li>Blake Lucier</li>
    </ul>
    [/one_third_last]
    [one_third]<strong>2015</strong>
    <ul>
     	<li>test</li>
     	<li>test</li>
     	<li>test</li>
     	<li>test</li>
    </ul>
    [/one_third]

    Thanks!
    Beau

    #219227
    Tom
    Lead Developer
    Lead Developer

    WordPress likes to add paragraph and break tags around shortcodes which can do this.

    I had to add some special code to my own columns plugin (Lightweight Grid Columns) to prevent this.

    It’s possible that your plugin has done this as well, but limited to the default editor, so it’s not preventing it inside sections.

    One thing I can try is putting [one_third] on the same line as [one_third_last].

    #219245
    Beau

    I’ve switched to that plugin and it works great – thanks again for the help!!

    #219246
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.