Skip Navigation

[Resolved] adding custom ribbon to images

This thread is resolved. Here is a description of the problem and solution.

Problem:
adding custom ribbon to images

Solution:
To display custom content, you can use Toolset View's conditional block.

You can find proposed solution, in this case with the following reply:
https://toolset.com/forums/topic/adding-custom-ribbon-to-images/#post-2230571

Relevant Documentation:
=> https://toolset.com/course-lesson/using-toolset-conditional-block/

This support ticket is created 3 years, 9 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by jasonR-11 3 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#2229195
Screen Shot 2021-11-24 at 10.38.34 AM (2).png

So my website is greatlandinvestments.com but right now I am changing it over to toolset so I am using a staging site for development. Any ways I would like to mimic what is happening here in the picture, first to create the ribbon then based on the property status sold or for sale or under contract to change the ribbon color accordingly.

Thanks

#2229505

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

When you say ribbon what do you exactly mean. Do you mean that you want to display kind of icon image with different color on the top of the property box?

Can I have screenshot of what exactly you are looking for?

#2229519

I sent a screen shot with the first comment. I want to put a banner over my image that is red or blue or green depending on the status of the property. So for example if it is for sale in the top right corner it will say for sell with a ribbon that is blue on the image

#2229529

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I would like to know are you using block or classic view as it will require custom CSS.

Can you please share problem URL and admin access details so I can see what could be the possible solution.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2229557

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you for sharing admin access details. Can you please share problem URL where you added your view?

#2229973

hidden link

#2230571

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now: hidden link

I've added the conditional block for two property status "For Sale" and "Sold" as you can see with the following edit page where you added the view:
=> hidden link

As you can see with the screenshot - I've change the background color to "Red" for the property type equal to "Sold".
=> hidden link

You can add as many conditional blocks as required.

#2232661

My issue is resolved now. Thank you!