I’m surprised those shortcodes are actually working. You do not need to place display-posts multiple times in the shortcode. For instance, the first one should be changed to:
[display-posts category=”gs2002″ posts_per_page=”1″ include_content=”true” include_title=”false” wrapper=”div” include_date=”false”]
Can you provide a link to a page with the issue? My guess is that your theme is adding CSS that affects it. I used a common name ( .content ) for the content container, so your theme might be writing CSS that styles that thinking it’s your main site’s content.
I just added a content_class parameter which lets you change the class name used. You can either download the development version now, or wait a few weeks for the next public release and your WordPress install asks you to update.
Here’s an example of its usage (I added the parameter to the end of your first shortcode):
[display-posts category=”gs2002″ posts_per_page=”1″ include_content=”true” include_title=”false” wrapper=”div” include_date=”false” content_class=”listing-content”]
Now the posts will display the content using .listing-content as the container’s class name rather than .content.
Whoops, I copied that display-posts too many times!
Thank you, I downloaded the plugin and changed the shortcode… the space still exists…
http://www.warriortrainingsystem.com/test/2002-2/
I hid the title obviously but I think the first line should be more in line with Team or Advantage from the other column… the Game Summary is a different element that has maybe a 5px wrapper on it…
The theme is Enfold…
The other page is http://www.warriortrainingsystem.com/test/
Scroll down to Player of the Week (that wording is a different element)… I show the title in this one, February 28, 2016 — then there is a significant space between that title and the start of the content.
Thank you so much for your help!
actually, this is the code for that second one… so if anything there would be a space under Player of the Week, but the space is between the title and the start of the content.
<h4 style=”text-align: left;”>PLAYERS OF THE WEEK</h4>
[display-posts category=”player-of-the-week” posts_per_page=”1″ display-posts include_content=”true” wrapper=”div”content_class=”listing-content”]
My apologies, it’s not resolved.
But the correct link above should be
http://www.warriortrainingsystem.com/test/YR2002/
i recreated all the pages and works. thank you so much!!!
On line 1479 of your theme’s layout.css file it is adding 50px of top and bottom padding to .content. If you download the development version and use the content_class parameter to change the name from .content to something else then this will be resolved.