Support Request Support ⇒ Change backgroundcolor on index from new reply on post in forum
-
- Users
- Magic user status: Offline
- Posts: 74
- Joined: Nov 23rd, '14, 19:38
Change backgroundcolor on index from new reply on post in forum
Your phpBB Version:
Your phpBB Type: Standard phpBB
Extensions installed: Yes
Your knowledge: Basic Knowledge
Boardlink: https://offorum.eu
What have you done before the problem was there?
I have tried a lot but don't find what I need to add to my colours.css file
What have you already tried to solve the problem?
yes
Description and Message
Hey all
I want to change the background color of the forum when there is a new reply in that forum.
I had it earlier but don't remember how to fix it
Your phpBB Type: Standard phpBB
Extensions installed: Yes
Your knowledge: Basic Knowledge
Boardlink: https://offorum.eu
What have you done before the problem was there?
I have tried a lot but don't find what I need to add to my colours.css file
What have you already tried to solve the problem?
yes
Description and Message
Hey all
I want to change the background color of the forum when there is a new reply in that forum.
I had it earlier but don't remember how to fix it
-
- VIP
- Magic user status: Online
- Logged in via: Android device
- Posts: 1055
- Joined: Oct 14th, '14, 17:01
Re: Change backgroundcolor on index from new reply on post in forum
Forumlist_body.html (line 32)
- - - - - - - - - - - - - - - - - - - - - - - - -
Or go all out and use this in the forumlist_body
And add this in the coulours.css
Code: Select all
<li class="row"<!-- IF forumrow.S_UNREAD_FORUM --> style="background-color: #aaffff"<!-- ENDIF -->>
Or go all out and use this in the forumlist_body
Code: Select all
<li class="row<!-- IF forumrow.S_UNREAD_FORUM --> row2<!-- ENDIF -->">
Code: Select all
.row2 {
background-color: #aaffff;
}

No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™
-
- Users
- Magic user status: Offline
- Posts: 74
- Joined: Nov 23rd, '14, 19:38
Re: Change backgroundcolor on index from new reply on post in forum
Is the second part correct??Sniper_E wrote: ↑Mar 29th, '20, 17:43 forumlist_body.html (line 32)- - - - - - - - - - - - - - - - - - - - - - - - -Code: Select all
<li class="row"<!-- IF forumrow.S_UNREAD_FORUM --> style="background-color: #aaffff"<!-- ENDIF -->>
Or go all out and use this in the forumlist_bodyAnd add this in the coulours.cssCode: Select all
<li class="row<!-- IF forumrow.S_UNREAD_FORUM --> row2<!-- ENDIF -->">
Code: Select all
.row2 { background-color: #aaffff; }
Code: Select all
<li class="row<!-- IF forumrow.S_UNREAD_FORUM --> row2<!-- ENDIF -->">
-
- VIP
- Magic user status: Online
- Logged in via: Android device
- Posts: 1055
- Joined: Oct 14th, '14, 17:01
Re: Change backgroundcolor on index from new reply on post in forum
Yes it is correct. But you can name that class whatever you want... like this below, just add that new class in the .css
forumlist_body.html (line 32)
And add this in the coulours.css
Does that help you understand it? Or like that first edit... use the style="background-color: #aaffff" in the template and be done.
forumlist_body.html (line 32)
Code: Select all
<li class="row<!-- IF forumrow.S_UNREAD_FORUM --> newpost<!-- ENDIF -->">
Code: Select all
.newpost {
background-color: #aaffff;
}
-
- Users
- Magic user status: Offline
- Posts: 74
- Joined: Nov 23rd, '14, 19:38
Re: Change backgroundcolor on index from new reply on post in forum
I have changed it like you said but I don't see it
Did I do something wrong
I feel myself dumb
Did I do something wrong
I feel myself dumb
You do not have the required permissions to view the files attached to this post.
-
- Users
- Magic user status: Offline
- Posts: 74
- Joined: Nov 23rd, '14, 19:38
-
- VIP
- Magic user status: Online
- Logged in via: Android device
- Posts: 1055
- Joined: Oct 14th, '14, 17:01
Re: Change backgroundcolor on index from new reply on post in forum
Your code looks right
But in your stylesheet use the li
Remember to clear server cache and you should be good.
If you still have problems use the !important in your css
Code: Select all
<!-- IF not forumrow.S_IS_CAT -->
<!-- EVENT forumlist_body_forum_row_before -->
<li class="row<!-- IF forumrow.S_UNREAD_FORUM --> newpost<!-- ENDIF -->">
Code: Select all
li.newpost {
background-color: #aaffff;
}
If you still have problems use the !important in your css
Code: Select all
li.newpost {
background-color: #aaffff !important;
}
-
- Users
- Magic user status: Offline
- Posts: 74
- Joined: Nov 23rd, '14, 19:38
Re: Change backgroundcolor on index from new reply on post in forum
I have done it with the important but no difference
:S
I don't understand it
:S
I don't understand it
-
- VIP
- Magic user status: Online
- Logged in via: Android device
- Posts: 1055
- Joined: Oct 14th, '14, 17:01
Re: Change backgroundcolor on index from new reply on post in forum
Maybe someone needs to make a post or a reply in a topic that you have not read. Are you not waiting for a new post.
-
- Users
- Magic user status: Offline
- Posts: 74
- Joined: Nov 23rd, '14, 19:38
Re: Change backgroundcolor on index from new reply on post in forum
I have a test topic where I have logged in with another account
You do not have the required permissions to view the files attached to this post.
-
- VIP
- Magic user status: Online
- Logged in via: Android device
- Posts: 1055
- Joined: Oct 14th, '14, 17:01
Re: Change backgroundcolor on index from new reply on post in forum
Are you refreshing your browser to see the change?
Is cssmagic controlling the background color using !important?
Disable magic to check that.
Do you have another extension controlling that background?
Are you editing the wrong files?
You need to find out what's going on on your end because the codes are solid.
Is cssmagic controlling the background color using !important?
Disable magic to check that.
Do you have another extension controlling that background?
Are you editing the wrong files?
You need to find out what's going on on your end because the codes are solid.
-
- Admin
- Magic user status: Offline
- Posts: 4844
- Joined: Apr 6th, '14, 14:12
Re: Change backgroundcolor on index from new reply on post in forum
He is not a magic user unless using the old outdated free version.
Use this to install an ext on your board no more ftp or path making.
Path too install this ext is ext/boardtools/upload
Download is here Make it easy for us to solve your issues
Path too install this ext is ext/boardtools/upload
Download is here Make it easy for us to solve your issues
-
- Users
- Magic user status: Offline
- Posts: 74
- Joined: Nov 23rd, '14, 19:38
-
- VIP
- Magic user status: Online
- Logged in via: Android device
- Posts: 1055
- Joined: Oct 14th, '14, 17:01
-
- Users
- Magic user status: Offline
- Posts: 74
- Joined: Nov 23rd, '14, 19:38