Is there anyway to change the private messages link?
3 posters
Page 1 of 1
Is there anyway to change the private messages link?
Hi, I want to change this for my forum but idk how. Is there any CSS code or something?
Screenshot: http://prntscr.com/8bfgpv
Screenshot: http://prntscr.com/8bfgpv
Last edited by Ghost on Tue 1 Sep - 17:47; edited 1 time in total
Guest- Guest
Re: Is there anyway to change the private messages link?
If by change, you mean replacing the text, then yes it's possible. Add the following rule to your stylesheet :
Display > Colors > CSS 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";
}
Re: Is there anyway to change the private messages link?
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.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Is there anyway to change the private messages link?
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)
Guest- Guest
Re: Is there anyway to change the private messages link?
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.
Re: Is there anyway to change the private messages link?
Lol thx Klemen, and is there a way to change these two also? With CSS? To just members and groups?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.
Screenshot:http://prntscr.com/8bg033
Guest- Guest
Re: Is there anyway to change the private messages link?
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.
Re: Is there anyway to change the private messages link?
When I posted the code in my stylesheet it removed "Private Messages".
Screenshot: http://prntscr.com/8bg55b
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)
Guest- Guest
Re: Is there anyway to change the private messages link?
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";'
Re: Is there anyway to change the private messages link?
It worked. Thanks @Ange Tuteur, @SLGray and @KlemenKlemen 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";'
Guest- Guest
Re: Is there anyway to change the private messages link?
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum