Solved

extra breaks below Dynamic Content Gallery

Posted on 2011-02-15
11
794 Views
Last Modified: 2012-05-11
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
Comment
Question by:COwebmaster
  • 6
  • 3
  • 2
11 Comments
 
LVL 23

Expert Comment

by:jeremyjared74
Comment Utility
remove the <p></p> tags like you suggested in your question and that should fix it.
0
 

Author Comment

by:COwebmaster
Comment Utility
it's a wordpress site.  How would I remove those from a page from inside the dashboard?
0
 
LVL 16

Accepted Solution

by:
HagayMandel earned 250 total points
Comment Utility
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
 

Author Comment

by:COwebmaster
Comment Utility
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
 
LVL 16

Expert Comment

by:HagayMandel
Comment Utility
How did you embed the gallery in the static page?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:COwebmaster
Comment Utility
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
 
LVL 16

Expert Comment

by:HagayMandel
Comment Utility
Address the question to WordPress experts.
0
 

Author Comment

by:COwebmaster
Comment Utility
yes, I included that group into this question.  Are you not a wordpress expert?
0
 
LVL 23

Assisted Solution

by:jeremyjared74
jeremyjared74 earned 250 total points
Comment Utility
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
 

Author Comment

by:COwebmaster
Comment Utility
ok, I'll try that..
0
 

Author Closing Comment

by:COwebmaster
Comment Utility
Thanks!
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now