Site logo

Archived topic

Columns Shortcode Vertical Alignment Issue

3 replies · Started by Beau on August 18, 2016

Viewing posts 1–4 of 4

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

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].

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

You're welcome :)

This archived topic is closed to new replies.