Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Hide thumbnails only on certain pages

Home / Forums / Virtue Theme / Hide thumbnails only on certain pages

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
July 3, 2018 at 10:41 am

Hi,

I’ve used Kadence Virtue premium and SiteOrigin to build http://www.btog.org and have solved most problems with the help of these forums.

I originally wanted to hide the thumbnail images every time the Virtue recent posts was used, so i found this custom CSS that worked:

/* HIDE THUMBNAILS IN RECENT POSTS WIDGETS ON HOME PAGE*/
.kadence_recent_posts img, .widget_kadence_recent_posts img {
display: none;
}

Now, however, I would only like to hide the thumbnails on certain pages (e.g. homepage) but have them display when the same widget is used (in the same way) on for example, the “latest” page,

I believe i can do this by assigning a widget class when that widget is used, but then what is the CSS to identify that widget class and have it not display images?

E.g. i have assigned the widget class ‘nothumb’ to the widget showing news on the home page – how do i change the CSS to say that only that widget and widget class should not show thumbnails, but every other time the widget is thumbnails are shown?

I hope i’m being clear and that my use of widget class is correct. Any support is most welcome, as i said, i have solved most issues in the past just by reading this forum

thanks

  • The forum ‘Virtue Theme’ is closed to new topics and replies.