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.

Is there anyway to change the private messages link?

3 posters

Go down

Solved Is there anyway to change the private messages link?

Post by Guest Tue 1 Sep - 16:39

Hi, I want to change this for my forum but idk how. Is there any CSS code or something?
Screenshot: http://prntscr.com/8bfgpv


Last edited by Ghost on Tue 1 Sep - 17:47; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

Solved Re: Is there anyway to change the private messages link?

Post by Ange Tuteur Tue 1 Sep - 16:49

If by change, you mean replacing the text, then yes it's possible. Add the following rule to your stylesheet :
Display > Colors > CSS stylesheet
Code:
a.mainmenu[href="/privmsg?folder=inbox"] { font-size:0 }
a.mainmenu[href="/privmsg?folder=inbox"]:after {
  font-size:11px;
  content:"Private Messages";
}
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Is there anyway to change the private messages link?

Post by SLGray Tue 1 Sep - 16:49

Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.


Is there anyway to change the private messages link? Slgray10

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

Male Posts : 51554
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Is there anyway to change the private messages link?

Post by Guest Tue 1 Sep - 17:12

I want to change it to how many PM's you've gotten. Like if you have 0 then it will say: PM's (0) and then when you receive a pm it'll have a number and green color. Example: PM's(1)
avatar
Guest
Guest


Back to top Go down

Solved Re: Is there anyway to change the private messages link?

Post by Klemen Tue 1 Sep - 17:18

Ghost wrote:I want to change it to how many PM's you've gotten. Like if you have 0 then it will say: PM's (0) and then when you receive a pm it'll have a number and green color. Example: PM's(1)

You can do it with javascript. But using javascript on the navbar seems to affect the mobile version of your forum in a bad way, where your navbar completely dissapears. So to my knowledge, there's no way, unless you have no plans on using the mobile version.
Klemen
Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: Is there anyway to change the private messages link?

Post by Guest Tue 1 Sep - 17:21

Klemen wrote:
Ghost wrote:I want to change it to how many PM's you've gotten. Like if you have 0 then it will say: PM's (0) and then when you receive a pm it'll have a number and green color. Example: PM's(1)

You can do it with javascript. But using javascript on the navbar seems to affect the mobile version of your forum in a bad way, where your navbar completely dissapears. So to my knowledge, there's no way, unless you have no plans on using the mobile version.
Lol thx Klemen, and is there a way to change these two also? With CSS? To just members and groups?
Screenshot:http://prntscr.com/8bg033
avatar
Guest
Guest


Back to top Go down

Solved Re: Is there anyway to change the private messages link?

Post by Klemen Tue 1 Sep - 17:25

Ghost wrote:Lol thx Klemen, and is there a way to change these two also? With CSS? To just members and groups?
Screenshot:http://prntscr.com/8bg033

Ange's code works perfectly well on the rest of the navbar as well. All you need to do is change some words and links:

Code:

a.mainmenu[href="/memberlist"] { font-size:0 }
a.mainmenu[href="/memberlist"]:after {
  font-size:11px;
  content:"Members";
}

a.mainmenu[href="/groups"] { font-size:0 }
a.mainmenu[href="/groups"]:after {
  font-size:11px;
  content:"Groups";
}

PS: please tell me you're not keeping those glowing effects on links.
Klemen
Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: Is there anyway to change the private messages link?

Post by Guest Tue 1 Sep - 17:31

When I posted the code in my stylesheet it removed "Private Messages".

Screenshot: http://prntscr.com/8bg55b


Last edited by Ghost on Tue 1 Sep - 17:32; edited 1 time in total (Reason for editing : added screenshot)
avatar
Guest
Guest


Back to top Go down

Solved Re: Is there anyway to change the private messages link?

Post by Klemen Tue 1 Sep - 17:36

Ghost wrote:When I posted the code in my stylesheet it removed "Private Messages".

I think you accidentaly removed a closing bracket '}' after '"Private Messages";'
Klemen
Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Solved Re: Is there anyway to change the private messages link?

Post by Guest Tue 1 Sep - 17:47

Klemen wrote:
Ghost wrote:When I posted the code in my stylesheet it removed "Private Messages".

I think you accidentaly removed a closing bracket '}' after '"Private Messages";'
It worked. Thanks @Ange Tuteur, @SLGray and @Klemen
avatar
Guest
Guest


Back to top Go down

Solved Re: Is there anyway to change the private messages link?

Post by SLGray Tue 1 Sep - 17:54

Topic solved and archived


Is there anyway to change the private messages link? Slgray10

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

Male Posts : 51554
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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