Easy way to cancel a CSS global "display: none" only for one item?

  • Unknown's avatar

    I am using Illustratr and the default is to show the image captions at the bottom of images in the galleries and slideshows. I think I asked WP support to help me and they added a “display: none” to my customization.

    Is there an easy way to undo this for only one gallery or one slideshow?

    the specific page is hidden but WP staff should be able to see it and it is: stacypetty.com/preview

    After identifying the specific gallery or slideshow, and the space where the caption should go, i’ve tried “display: normal” and “display: block” and “display: inline”. But I couldn’t see anything.

    I also needed to do this with certain galleries. I think I tried:
    “.portfolio-gallery .gallery-694-2 .gallery-item .gallery-icon landscape .wp-cation-text gallery-caption {display: inline}” also that with display: normal, display: block, and so on…

    Thanks

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,

    If you add the following at the very end of any existing custom CSS then it’ll force the caption to display on the “preview” page you linked to:

    div#gallery-867-6-slideshow .slideshow-slide-caption {
       display: block;
    }

    They key here is to add the CSS after the existing custom CSS that hides the caption by default. We need this override to load after that.

    Let me know if that’s clear!

  • The topic ‘Easy way to cancel a CSS global "display: none" only for one item?’ is closed to new replies.