Any ideas how I can get this styling to work on the "posted in" part. I just want to take out the underline but it's treating it as a link. I tried putting the span class before the list item but it makes no difference--I've inpected the element and it still treats it as a href.
<li class="category"><span class="no-underline">Posted in</span><?php the_category( ' , '); ?>
Thanks
The CSS your probably looking for is:
text-decoration: none;
I can't suggest the full block of CSS to add without an example link. Maybe:
.no-underline {
text-decoration: none;
}
Thanks for your response.
I tried that...it wasn't working.
Here's the link:
http://www.maxlovesmuse.com/blog/
you have an unclosed html link tag in your code:
<div class="post-thumbnail">
<a href=""><img src="http://www.maxlovesmuse.com/wp-content/uploads/2011/09/thumbnail_1.jpg"/>
</div><!--end post-thumbnail-->
(the link tag needs to be closed after the img tag)
It's closed...here's the source:
<div class="post-thumbnail">
<a href=""><img src="<?php echo get_post_meta($post->ID, "thumbnail", true);?>"/>
</div><!--end post-thumbnail--></a>
[Please post code snippets between backticks or use the code button.]
I made a separation for the "posted by" part. It works. If there's a better way, I'd love to hear. Thanks
[please use the code button to mark any posted code - see guidelines http://codex.wordpress.org/Forum_Welcome#Posting_Code ]
<li class="date"><?php the_time('jS F Y'); ?>
<li><span class="no-underline">Posted in</span></li>
<li class="category"><?php the_category(', '); ?>
<li class="comment-count"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
<li class="read-more"><a>#more-<?php the_ID(); ?>">Continue reading</a>
your pastebin does not contain the section with the problem;
look for the section containing your post thumbnail code ( <div class="post-thumbnail"> and just after that)
- possibly nearer to the start of the loop.
Doesn't seem to be open though:
http://pastebin.com/f80Z1Py0
You're absolutely right. Thanks for spotting that.