Code to make visited posts go unbold
2 posters
Page 1 of 1
Code to make visited posts go unbold
Hi again HTML/Code specialists,
I was wondering if someone has a small code to make viewed posts go from bold to not bold. Right now on my forum if you pull up any listing of posts in any forum, all post titles are bold and remain bold. I would like it to be that once you've viewed a post it will go unbold and UNTIL a new post is made in that topic again (where) it would go bold again.
Thank you for any help as always.
I was wondering if someone has a small code to make viewed posts go from bold to not bold. Right now on my forum if you pull up any listing of posts in any forum, all post titles are bold and remain bold. I would like it to be that once you've viewed a post it will go unbold and UNTIL a new post is made in that topic again (where) it would go bold again.
Thank you for any help as always.
Re: Code to make visited posts go unbold
Heya
What version of the forum are you currently using also can you post a link to your forum to help assist me
regards
Craig
What version of the forum are you currently using also can you post a link to your forum to help assist me
regards
Craig
Guest- Guest
Re: Code to make visited posts go unbold
Heya
Ok so to make it that all read and visited links and posts are NOT bold
1. Log into the Admin Panel and navigate to
Display\Colours\CSS Style Sheet
2. Add one of the following codes and press "Submit" to save
Just visited link:
Visited links and forums:
Visited links, threads and forums:
3. Refresh your forum and let me know if that works
Regards
Craig
Ok so to make it that all read and visited links and posts are NOT bold
1. Log into the Admin Panel and navigate to
Display\Colours\CSS Style Sheet
2. Add one of the following codes and press "Submit" to save
Just visited link:
- Code:
a:visited {
font-weight: normal !important;
font-style: normal !important;
}
Visited links and forums:
- Code:
a:visited {
font-weight: normal !important;
font-style: normal !important;
}
a.forumtitle:visited {
font-weight: normal !important;
font-style: normal !important;
}
Visited links, threads and forums:
- Code:
a:visited {
font-weight: normal !important;
font-style: normal !important;
}
a.forumtitle:visited {
font-weight: normal !important;
font-style: normal !important;
}
a.topictitle:visited {
font-weight: normal !important;
font-style: normal !important;
}
3. Refresh your forum and let me know if that works
Regards
Craig
Guest- Guest
Re: Code to make visited posts go unbold
Hi Craig,
The only code you supplied that I thought might be what I wanted was this, and it didn't work:
I only would like the titles of posts to go unbold when viewed, not any other links on my forum. When you bring up a listing of posts in any of your forum categories, the post titles are the links that I would like to change. However, I would like them to go back to being bold when a new post is made in a topic. Hope you understand what I mean.
The only code you supplied that I thought might be what I wanted was this, and it didn't work:
- Code:
a.topictitle:visited {
font-weight: normal !important;
font-style: normal !important;
}
I only would like the titles of posts to go unbold when viewed, not any other links on my forum. When you bring up a listing of posts in any of your forum categories, the post titles are the links that I would like to change. However, I would like them to go back to being bold when a new post is made in a topic. Hope you understand what I mean.
Re: Code to make visited posts go unbold
- Code:
a.topictitle{
font-weight: bold;
}
a.topictitle:visited{
font-weight: normal;
}
This should work to unbold the viewed topic titles.
But I don't know the code to make the title bold when new post made in it.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Code to make visited posts go unbold
Thanks Kvl_Share...yep, this worked. It is important though that I find out if there is a code or if it's possible to make the post titles go back to bold when there is a new post in that topic however. Otherwise the whole reason I wanted this will not work how I want it to.
Thanks very much though, I'll save this code for future reference.
Thanks very much though, I'll save this code for future reference.
Re: Code to make visited posts go unbold
I don't think it is possible. But not sure about it.
Glad to help you.
Glad to help you.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Code to make visited posts go unbold
Hi Kvl_Share or anyone,
Ok, I've been fiddling around with this more and with colours instead of bold/unbold. Is there a way to have visited topic titles change colour, then when a new post is made in that same topic title, it goes back to it's original colour?
Ok, I've been fiddling around with this more and with colours instead of bold/unbold. Is there a way to have visited topic titles change colour, then when a new post is made in that same topic title, it goes back to it's original colour?
Re: Code to make visited posts go unbold
Okey, I think you can do it but not sure about changing to original color when added something to the topic.
Try this code :
Hope this helps
Try this code :
- Code:
a.topictitle{
color: COLOR NAME; /*for unvisited topic titles*/
}
a.topictitle:visited{
color: COLOR NAME; /*for visited topic titles*/
}
Hope this helps
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Code to make visited posts go unbold
Hi Kvl_Share,
Sorry to get back to you after so long. That code worked, but not for what I wanted it to do. I guess there is no way for the forum's cookies to remember when I post is new and put the appropriate colour indicating a new post in a particular forum.
Thanks for the help and suggestions though.
Sorry to get back to you after so long. That code worked, but not for what I wanted it to do. I guess there is no way for the forum's cookies to remember when I post is new and put the appropriate colour indicating a new post in a particular forum.
Thanks for the help and suggestions though.
Re: Code to make visited posts go unbold
Is doesn't seem to be possible with CSS only.
It may need some other scripting like PHP or something similar.
I don't know about that, sorry.
It may need some other scripting like PHP or something similar.
I don't know about that, sorry.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Similar topics
» I need a code to make admin posts colored
» How to make topics so they don't count posts (like free spam but it aint raising members posts)
» Putting links in posts in [code][/code]
» New Posts code
» How do I make posts not count as posts?
» How to make topics so they don't count posts (like free spam but it aint raising members posts)
» Putting links in posts in [code][/code]
» New Posts code
» How do I make posts not count as posts?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum