Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2009-02-04 01:03:05

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

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

#4 2009-02-04 07:24:56

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

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

#5 2009-02-04 08:52:25

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

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

Board footer

Powered by FluxBB