Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-11-12 14:58:25
- davvi
- Member
- Registered: 2007-07-28
- Posts: 24
hak_article_thumb
Where, how can I change hak_article_thumb?
I have put this in my excerpt : <txp:hak_article_thumb class=“hak_article_thumb” /> and it function well, exept that I can not change the size etc.
CSS code:
.hak_article_thumb{
width: 150px;
height: 150px;
border: none;
float: left;}
(Edit: updated discussion topic. -Mary)
Last edited by Mary (2007-11-12 22:11:07)
Offline
Re: hak_article_thumb
What is not working? What you have there should work just fine.
Shoving is the answer – pusher robot
Offline
#3 2007-11-12 18:48:07
- davvi
- Member
- Registered: 2007-07-28
- Posts: 24
Re: hak_article_thumb
The thumb does not change to that size.
http://www.jennymariejohnsen.com
Offline
Re: hak_article_thumb
Your right, I just remembered. hak_article_thumb does not actually pass the class down to the function that generates the thumbnail <img />
tag. You can only use the class with a wraptag. Something like this should work <txp:hak_article_thumb class=“hak_article_thumb” wraptag="span" />
.hak_article_thumb img {
width: 150px;
height: 150px;
border: none;
float: left;}
Shoving is the answer – pusher robot
Offline
#5 2007-11-12 23:22:47
- davvi
- Member
- Registered: 2007-07-28
- Posts: 24
Re: hak_article_thumb
Thanks, everything is function well!
Offline
Pages: 1