Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 3 Years, 4 Months, 1 Week ago Change background of unapproved post
#1
Solved: 3 Years, 4 Months, 1 Week ago
Hi

How can I change background color of unapproved post?
Reply
#2
Solved: 3 Years, 4 Months, 1 Week ago
Change the background to the color code you want to use.
.post.unapproved_post {
	background: #ffdde0;
}
Reply
#3
Solved: 3 Years, 4 Months, 1 Week ago
^ i did this but background did not changed.
only background of thank you/like list was changed.
Reply
#4
Solved: 3 Years, 4 Months, 1 Week ago
(04-06-2016, 07:50 AM)CivilEA Wrote: ^ i did this but background did not changed.
only background of thank you/like list was changed.
Could you Pm me a temporary admin account so I can see how to change that as that part should change the approved post color.
Reply
#5
Solved: 3 Years, 4 Months, 1 Week ago
(04-06-2016, 07:50 AM)CivilEA Wrote: ^ i did this but background did not changed.
only background of thank you/like list was changed.

You edited a wrong selector then, because themes must use .unapproved_post class, otherwise the background would never change. After you edit the correct selector, make sure to refresh cache (CTRL+F5).
Reply
#6
Solved: 3 Years, 4 Months, 1 Week ago
(04-06-2016, 11:06 AM)Destroy666 Wrote: [quote='CivilEA' pid='1215534' dateline='1459929045']
^ i did this but background did not changed.
only background of thank you/like list was changed.

You edited a wrong selector then, because themes must use .unapproved_post class, otherwise the background would never change. After you edit the correct selector, make sure to refresh cache (CTRL+F5).

I edited template as below codes:

.post.unapproved_post {
     background: #ffdde0;
 }

and this:

.unapproved_post {
     background: #ffdde0;
 }


nothing changed.
Reply
#7
Solved: 3 Years, 4 Months, 1 Week ago
may i have your forum url and a test account with mod access to see the unapproved posts...
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't seen it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#8
Solved: 3 Years, 4 Months, 1 Week ago
thank you, I solved it.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)