Problem: I would like to add a border radius to my featured image, but I cannot see how to add styles to the wpv-post-featured-image shortcode.
Solution: Use the "class" attribute on the wpv-post-featured-image shortcode to insert a custom CSS class, then write your custom CSS for that class in a custom theme file, in the theme customizer's Additional CSS block, or in a View's CSS editor, Content Template's CSS editor, or Layouts CSS.
[wpv-post-featured-image class="my-custom-rounded-class"]
.my-custom-rounded-class { border-radius: 15px; }
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-featured-image
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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 4 replies, has 2 voices.
Last updated by 6 years, 3 months ago.
Assisted by: Christian Cox.