The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Underlinke links inside posts

2 posters

Go down

In progress Underlinke links inside posts

Post by MarcoNecroX January 14th 2014, 12:49 am

Hey
I would like to know the CSS code that would make the links inside posts underlined

thanks
avatar
MarcoNecroX
Forumember

Posts : 102
Reputation : 3
Language : English

Back to top Go down

In progress Re: Underlinke links inside posts

Post by Ange Tuteur January 14th 2014, 12:54 am

Hi ,

add this to your CSS :
PA > Dispaly > Colors > CSS stylesheet
Code:
.post a { text-decoration:underline; }

you can also use :
Code:
.post .postbody div a { text-decoration:underline; }
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Underlinke links inside posts

Post by MarcoNecroX January 14th 2014, 12:55 am

hi,

is there any difference in both? just curious
avatar
MarcoNecroX
Forumember

Posts : 102
Reputation : 3
Language : English

Back to top Go down

In progress Re: Underlinke links inside posts

Post by Ange Tuteur January 14th 2014, 1:06 am

The first selects any anchor inside an element with the class "post"

The second one being more precise in its selection for phpbb3 as it selects the exact div element which contains the written content of a message.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Underlinke links inside posts

Post by MarcoNecroX January 14th 2014, 1:07 am

Thanks, noticed that while testing.
Second option seems to still underline signatures. Fixable?
Thanks
avatar
MarcoNecroX
Forumember

Posts : 102
Reputation : 3
Language : English

Back to top Go down

In progress Re: Underlinke links inside posts

Post by Ange Tuteur January 14th 2014, 1:15 am

Add this to your CSS to remove the underline from links in signatures :
Code:
.signature_div a { text-decoration:none !important; }
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Underlinke links inside posts

Post by MarcoNecroX January 14th 2014, 1:17 am

Not working, tried to put it above and under the previous css code Sad
avatar
MarcoNecroX
Forumember

Posts : 102
Reputation : 3
Language : English

Back to top Go down

In progress Re: Underlinke links inside posts

Post by Ange Tuteur January 14th 2014, 1:28 am

The version of your forum ?
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: Underlinke links inside posts

Post by MarcoNecroX January 14th 2014, 1:29 am

phpBB3 silver
avatar
MarcoNecroX
Forumember

Posts : 102
Reputation : 3
Language : English

Back to top Go down

In progress Re: Underlinke links inside posts

Post by Ange Tuteur January 14th 2014, 1:36 am

It should work then.

Remove the codes you added and add this :
Code:
.post .postbody div a { text-decoration:underline; }
.signature_div a { text-decoration:none !important; }
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum