Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I was just wondering if there was anyway to customize individual parts of the lists. So for instance if you go to my site at www.r3entertainment.org and check out the Features page, if you look at the top where it says Gaming's Most Memorable Moments.. is there a way for JUST the title link to be underlined and the author to stay normal in each listed post?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

You should be able to do it with only a CSS modification:

.lcp_catlist a {
    text-decoration: underline;
}
share|improve this answer
    
This works too :) –  Fernando Briano Feb 4 '12 at 21:31
    
Wow thanks, easy as pie. Much appreciated! –  Trevor Feb 4 '12 at 22:24
add comment

Since version 0.23 of the List Category Posts plugin, you can set specific html tags and CSS for each element of the list. In you case you would do something like this:

title_tag=span title_class=lcp_post title

This will look like this in your page:

<li>
  <span class="lcp_post_title">
    <a href="http://www.r3entertainment.org/2011/12/12/most-memorable-moment-1/">Most Memorable Moment #1</a>
  </span>
  Super Swayze
</li>

Now you should just add text-decoration:underline to that class in your CSS.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.