The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Underlinke links inside posts

View previous topic View next topic Go down

In progress Underlinke links inside posts

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

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

thanks

MarcoNecroX
Forumember

Posts : 93
Reputation : 3
Language : English

http://www.medianxl.com

Back to top Go down

In progress Re: Underlinke links inside posts

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Underlinke links inside posts

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

hi,

is there any difference in both? just curious

MarcoNecroX
Forumember

Posts : 93
Reputation : 3
Language : English

http://www.medianxl.com

Back to top Go down

In progress Re: Underlinke links inside posts

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Underlinke links inside posts

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

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

MarcoNecroX
Forumember

Posts : 93
Reputation : 3
Language : English

http://www.medianxl.com

Back to top Go down

In progress Re: Underlinke links inside posts

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Underlinke links inside posts

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

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

MarcoNecroX
Forumember

Posts : 93
Reputation : 3
Language : English

http://www.medianxl.com

Back to top Go down

In progress Re: Underlinke links inside posts

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

The version of your forum ?

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: Underlinke links inside posts

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

phpBB3 silver

MarcoNecroX
Forumember

Posts : 93
Reputation : 3
Language : English

http://www.medianxl.com

Back to top Go down

In progress Re: Underlinke links inside posts

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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