Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Get rid of the underline on a permlink
Hi,
I’m making a newspapper with textpattern. I want my article title to be the headline. When you would click it you would go to the article page.
The problem is that when I assign it a “permlink” the title gets underlined!
I don’t want it to be underlined! Is there anything I can do to get rid of the underline ?
Thank’s
camello
Offline
Re: Get rid of the underline on a permlink
You should just be able to use styles to get rid of the underline and make it whatever color you need. For example.
#headline a { text-decoration: none; color: #f00; }
Good luck!
Offline
Re: Get rid of the underline on a permlink
No…Not Solved.
Ive created the style
.title { color: #0066CC; font:arial ; font-size: 100%; font-weight: bold; text-decoration: none; }and then i’ve put:
<p><SPAN class=“title”> <txp:permlink> <txp:title /> </txp:permlink> </span><br></p>
The title text just ignores my formatation. It stays dark blue underlined!!!
Any other sugestion?
Thanks
Last edited by camello (2006-02-11 17:48:27)
Offline
#4 2006-02-11 17:54:35
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: Get rid of the underline on a permlink
<code><SPAN class=“title”> <txp:permlink> <txp:title /> </txp:permlink> </span></code>
You are not using the correct xhtml and css. You are only saying that all text in the .title span shouldn’t be underlined. However, the browser stylesheet is always saying that links should be underlined if you don’t specify a link style yourself. If you are using the above xhtml, your css should be:
<code>.title a { color: #0066CC; font:arial ; font-size: 100%; font-weight: bold; text-decoration: none; }</code>
With <code>.title a</code> you are not saying the text in .title shouldn’t be underlined, but you are saying that the link a insinde the .title text shouldn’t be underlined :)
Hoping I’m not telling you nonsense :P ;)
Last edited by JoeyNL (2006-02-11 17:55:38)
Regards,
Joey
Offline
Re: Get rid of the underline on a permlink
Thanks Joey. Your not saying nonsense.
I’m still leraning, and the best and only way to do it is bay making mistakes. Good thin there are this foruns here whith nece guys like you. I will try your sugestion…
ps; Im trying to turn my old newspaper html static newspaper in a textpattern newspaper
www.diariocientifico.com (the old site)
www.semanariocientifico.com (the one i’m building)
get a look 8-)
camello
Offline
Re: Get rid of the underline on a permlink
Just tryed it !!!
It worked !!!
Thanks man !!!
Offline
Re: Get rid of the underline on a permlink
By the way, I’ve whant to change the content of the
txp:linklist wraptag=“p”
to put there my own links
its on the defaut page:
!— left —
div id=“leftcol”
txp:linklist wraptag=“p”
/div
Can you give me a sugestion ( if it is not too much 8-) )
Thanks
camello
Last edited by camello (2006-02-11 19:32:57)
Offline
Re: Get rid of the underline on a permlink
Ok,
Problem solved. I guess!
I’ve gone to http://textpattern.org/tutorials/161/linklists-and-blogroll
Thanks anyway
camello
Offline
#9 2006-02-12 08:53:40
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: Get rid of the underline on a permlink
camello, also take a look at the wiki if you haven’t yet. You will find a good discription of every tags. To change the links, use the content > links tab.
Regards,
Joey
Offline
Pages: 1