Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Forum How-To (http://forum.bytesforall.com/forumdisplay.php?f=9)
-   -   [SOLVED] How to delete space between h3 post header and post excerpt in List Category (http://forum.bytesforall.com/showthread.php?t=8947)

New WordPress Fan Aug 16, 2010 01:20 AM

[SOLVED] How to delete space between h3 post header and post excerpt in List Category
 
I would like to delete the space between the h3 post header and the post excerpt text in posts listed by the List Category Posts Plugin.

At CSS Inserts, I have tried all sorts of selectors (e.g. 'ul.lcp_catlist li') to try to remove padding underneath these headers, but no luck.

Does anyone have a suggestion?

Using Atahualpa 3.5.1, WordPress 3.0
Site: www.HelpingYouCare.com/blog (problem on front page)

Many thanks-

juggledad Aug 16, 2010 07:19 AM

That space is there because the plug-in is putting a <p>...</p> around each item in the UL which is the post title/link and excerpt. What you should do is edit the plugin and add a <br /> after the title's link

New WordPress Fan Aug 17, 2010 11:34 PM

Thank you very much, Juggledad! I am new at this, so would appreciate it if you could be a little more specific.. When I find the <p>...</p> code in the Plugin (template file?), what should I replace the <p>...</p> with? With <span>...</span><br />?

Many thanks!

lmilesw Aug 18, 2010 08:08 AM

I am not real clear on what you are trying to do but how about adding this to ATO>Add HTML/CSS Inserts>CSS Inserts?
HTML Code:

.column-sect {margin-top:-20px !important;}

New WordPress Fan Aug 20, 2010 12:12 AM

Thank you lmilesw and Juggledad!

Similar to what Juggledad suggested, I have solved the issue (which was deleting spaces between the h3 header and text paragraphs in List Category Posts), by adding the following CSS Code at CSS Inserts:

ul.lcp_catlist li p {margin-top: 0;}

lmilesw, I think your suggestion would have worked to fix the other problem I had, which was deleting extra space above .column-sect. (Unfortunately, had to quit using the Columnize Plugin, though, because it was incompatible with others I am using.)

Many thanks to both of you for your help!


All times are GMT -6. The time now is 11:36 AM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.