Skip Navigation

[Resolved] Change background color depending on status.

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 4 years, 4 months ago.

Assisted by: Jamal.

Author
Posts
#1997931
2021-03-23 15_59_11-Sales _ Saxe Coburg – Mozilla Firefox.jpg

hidden link - On this page I have banners that go across the top left of each proptert to say if Its sold or not.

How can i made the ones that say "Sold" in the black background ? and the rest can stay in the gold background it already is.

I am using a Single Field block currently

#1998019

Hello and thank you for contacting the Toolset support.

I'll suggest using the conditional block. One conditional block, for sold properties, will use the black background color. Another conditional block, when the status is not sold, will use the gold background color. Check this article https://toolset.com/course-lesson/using-toolset-conditional-block/

I hope this helps. Let me know if you have any questions.