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.

Hyperlink, url color only in posts and username font, space in post

View previous topic View next topic Go down

Solved Hyperlink, url color only in posts and username font, space in post

Post by the60s on June 23rd 2017, 9:58 pm

Hello! I'd like to change hyperlink colors to dotted but only in posts. However, when I'm changing and submitting it affects all links (navi, category) and slightly affect the link under text in post on forumpolish.


Last edited by the60s on July 5th 2017, 5:55 am; edited 2 times in total
avatar
the60s
New Member

Posts : 7
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Solved Re: Hyperlink, url color only in posts and username font, space in post

Post by SLGray on June 23rd 2017, 10:03 pm

Please post a link to a topic with a hyperlink.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40235
Reputation : 2720
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Hyperlink, url color only in posts and username font, space in post

Post by the60s on June 23rd 2017, 10:21 pm


Code:
a { color: #915c83; border-bottom: 1px dotted #a52a2a; }
a:hover {color: #915c83; border-bottom: 1px dotted #a52a2a;}
a:link {color: #915c83; border-bottom: 1px dotted #a52a2a;}
a:visited {color: #915c83; border-bottom: 1px dotted #a52a2a;}

It affects all links (navi, username, contact field, category and other), buttons, avatar, nickname also it underlines them.

Besides, I'd like to know how I can manage the space between nickname and poster? A big gap is annoying.
avatar
the60s
New Member

Posts : 7
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Solved Re: Hyperlink, url color only in posts and username font, space in post

Post by Ace 1 on June 24th 2017, 7:50 am

@the60s

Code:
.postbody a { border-bottom: 1px dotted #a52a2a; }

Code:
.post .poster-profile { display: inline-block; margin-top: -15px; }

Change
Code:
-15px
to whatever you want. A lower number (more negative) will decrease the space while a higher number (less negative) will increase it.
avatar
Ace 1
Helper
Helper

Male Posts : 808
Reputation : 55
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: Hyperlink, url color only in posts and username font, space in post

Post by the60s on June 24th 2017, 3:47 pm

Ace 1 wrote:@the60s

Code:
.postbody a { border-bottom: 1px dotted #a52a2a; }

Code:
.post .poster-profile { display: inline-block; margin-top: -15px; }

Change
Code:
-15px
to whatever you want. A lower number (more negative) will decrease the space while a higher number (less negative) will increase it.
Thank you for an answer.
Decreasing a space worked nicely! However, postbody-stuff worked in 50/50. I don't have everything with border-bottom dotted (contactt fields, little pagination under post profile. Hyperlinks are still static underlined (link in post, link in category, share/actions, toggle under profile, footer links, information about moderating and following a topic). With hover underlined (not only dotted) are navibar, username, last topic adress, only links (without a href or url brackets) in post.

Another question for the username in profile. With code above, which you gave me, can I change a font? I'd only to see these change in post profile not in list of topics.
avatar
the60s
New Member

Posts : 7
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Solved Re: Hyperlink, url color only in posts and username font, space in post

Post by the60s on June 25th 2017, 8:16 pm

Bump.
avatar
the60s
New Member

Posts : 7
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Solved Re: Hyperlink, url color only in posts and username font, space in post

Post by the60s on June 29th 2017, 12:35 am

Bump @SLGray
avatar
the60s
New Member

Posts : 7
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Solved Re: Hyperlink, url color only in posts and username font, space in post

Post by _Twisted_Mods_ on July 1st 2017, 11:38 am

.post a { border-bottom: 1px dotted #a52a2a; }
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Hyperlink, url color only in posts and username font, space in post

Post by the60s on July 5th 2017, 5:54 am

I got this earlier but still - thank you. Smile

It's solved.
A question about names I'll do later.


avatar
the60s
New Member

Posts : 7
Reputation : 1
Language : English, Polish

http://the60s.forumpolish.com

Back to top Go down

Solved Re: Hyperlink, url color only in posts and username font, space in post

Post by SLGray on July 5th 2017, 6:38 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40235
Reputation : 2720
Language : English
Location : United States

https://fmthemes.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