Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Nick C

    (@modernnerd)

    I don’t believe there’s a CSS-only solution without targeting the slide directly:

    To the hide the excerpt:

    .slide-1625 .slide-excerpt-border {
    	display: none;
    }

    To hide the slide itself:

    .slide-1625 {
    	display: none;
    }

    Other solutions such as the following look good at first, but won’t work due to empty space in the blank slide excerpt div:

    .slide-excerpt-border:empty {
    	display: none;
    }

    Any solution that doesn’t target slides by a specific post ID would likely need to use JavaScript.

    Sorry about that!

    Thread Starter fredrikpettersson

    (@fredrikpettersson)

    Thanks alot for your quick reply Nick! Greatly appreciated.

    Was hoping there were a way to pass along a generic classname or something (tag, category etc.) to div.slide-excerpt making it either invisible or making me able to change background-color, font-styles etc.

    Would make it easier to maintain compared to having to pinpoint specific slides using id’s.

    Plugin Support Nick C

    (@modernnerd)

    You’re welcome!

    I can see why it would be useful to add the category or tag to the class. I checked the plugin source, but the slide excerpt class isn’t currently filterable, so it’s not possible to modify it without editing the plugin at this stage: https://github.com/wp-plugins/genesis-responsive-slider/blob/master/genesis-responsive-slider.php#L316

    Sorry I couldn’t offer a quick fix for you this time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide .slide-excerpt on one slide’ is closed to new replies.