• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 819
  • Last Modified:

extra breaks below Dynamic Content Gallery

I placed in a wordpress plugin photo gallery called Dynamic Content Gallery am using the php script inside a static page.  However, there is extra space below the gallery.  Looks like in the source code, there are extra <p>[comments]</p> that's causing that to happen.  the copy on the page is correct too.  Any ideas experts?

Here is the url: http://cedarparkprinting.seozones.com/
0
COwebmaster
Asked:
COwebmaster
  • 6
  • 3
  • 2
2 Solutions
 
jeremyjared74Commented:
remove the <p></p> tags like you suggested in your question and that should fix it.
0
 
COwebmasterAuthor Commented:
it's a wordpress site.  How would I remove those from a page from inside the dashboard?
0
 
HagayMandelCommented:
You wrote

am using the php script inside a static page.

If so, look in this static page you mentioned for the following code (lines 289-292):
<p><!-- end #dfcg-outer-wrapper --></p> 
<p><!-- Number of Posts to display as per DCG Settings = 2 --><br /> 
<!-- Number of Posts found = 2 --><br /> 
<!-- Number of Posts excluded by user = 0 --></p> 
<p><!-- End of Dynamic Content Gallery output --></p> 

Open in new window

And remove it.

0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
COwebmasterAuthor Commented:
I'm not adding those lines of code in my wordpress dashboard.  Where in the plugin is it being added and I'll remove them?
0
 
HagayMandelCommented:
How did you embed the gallery in the static page?
0
 
COwebmasterAuthor Commented:
it's a static page and I downloaded the plugin called Exec-PHP which allows me to embed this line of code in the html tab:

<?php dynamic_content_gallery(); ?>
0
 
HagayMandelCommented:
Address the question to WordPress experts.
0
 
COwebmasterAuthor Commented:
yes, I included that group into this question.  Are you not a wordpress expert?
0
 
jeremyjared74Commented:
I believe the reason the gap is there is because you don't have a title for the images. I'm not sure if that is correct or not.

I would need to see the plug-in set-up to know without a doubt what is causing the spaces. You can fix the spacing by adding this to your style.css file though:

#dfcg-outer-wrapper {
        margin-bottom: -50px;
}

Open in new window

0
 
COwebmasterAuthor Commented:
ok, I'll try that..
0
 
COwebmasterAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 6
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now