Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-02-04 00:43:10
- jshan
- Member
- Registered: 2008-01-09
- Posts: 67
Thumbnail funky behavior?
Okay, this is driving me nuts:
I produce a list of thumbnails, all of which there is an article associated with:
<ul class="thumbnail">
<txp:article_custom category="products" limit="6" sort="rand()">
<li><txp:permlink><txp:article_image thumbnail="1"/></txp:permlink></li>
<li><txp:permlink><txp:article_image thumbnail="1"/></txp:permlink></li>
... etc...
</txp:article>
</ul>
Every single thumbnail has a bold underline! For the last 2hr or so, I inspected my CSS thoroughly, tried defining new CSS for the above code, tried replacing the thumbnail image with the original image. Despite the effort, they all failed to remove the thick underline. Funny thing is that on the single article display page, there is no such think line under the image.
Anyone has experienced the same thing when a thumbnail/image is displayed in a list?
J.
Offline
Re: Thumbnail funky behavior?
Edit: oops:
a img { border: 0 }
Last edited by jm (2009-02-04 01:08:05)
Offline
#3 2009-02-04 05:07:57
- jshan
- Member
- Registered: 2008-01-09
- Posts: 67
Re: Thumbnail funky behavior?
this i tried as well…
Offline
Re: Thumbnail funky behavior?
Well its coming from your CSS, but hard to see unless you have a URL for us to look at..?
Try something like: ul li a { text-decoration: none }
Offline
Re: Thumbnail funky behavior?
Look – your starting tag != ending tag:
>> <txp:article_custom category="products" limit="6" sort="rand()">
<li><txp:permlink><txp:article_image thumbnail="1"/></txp:permlink></li>
<li><txp:permlink><txp:article_image thumbnail="1"/></txp:permlink></li>
... etc...
>> </txp:article>
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#6 2009-02-04 18:35:58
- jshan
- Member
- Registered: 2008-01-09
- Posts: 67
Re: Thumbnail funky behavior?
Jonathan – this i also had tried… the site is still under construction but I’d be happy to attach a screenshot here, if there’s a way?
Victor – nice catch! Thanks! corrected but did not solve the annoying thick underline problem…
Offline
#7 2009-02-05 22:23:11
- jshan
- Member
- Registered: 2008-01-09
- Posts: 67
Re: Thumbnail funky behavior?
okay. mistery solved. it’s in the CSS. I defifined background:#000
for the thumbnail container while I was testing on different effect but forgot to remove the background color later… :-P
Offline
Pages: 1