WordPress.org

Forums

JSJ Gallery Slideshow
[resolved] not able to remove showing thumbs in website theme (4 posts)

  1. datiswous
    Member
    Posted 1 year ago #

    Hello,

    I made an earlyer post here: link

    I want to set this in my own theme css file, but this doesn't seem to do anything. It only works if I add it to the plugins css file.

    https://wordpress.org/plugins/jsj-gallery-slideshow/

  2. Jorge Silva-Jetter
    Member
    Plugin Author

    Posted 1 year ago #

    datiswous, what's the problem?

    You have some CSS that you want to overwrite? That means you probably have to make your css rule more specific so that it overwrites the plugin css rule, for example:

    Instead of
    `
    .gallery_container_jsj-gallery-slideshow .gallery-pager li {
    display: none;
    }
    `

    Write something like:
    `
    html body .gallery_container_jsj-gallery-slideshow .gallery-pager li {
    display: none;
    }

    `
    or even better

    `
    html body .CLASS_OF_SOME_CONTAINER .gallery_container_jsj-gallery-slideshow .gallery-pager li {
    display: none;
    }

    `
    In css, more specific rules overwrite less specific rules.

  3. datiswous
    Member
    Posted 1 year ago #

    Ah, Thanks.

    This did the trick:

    .post .gallery_container_jsj-gallery-slideshow .gallery-pager li {
    display: none;
    }

    But yes, I might specify it further if I want it still shown on specific places.

  4. Jorge Silva-Jetter
    Member
    Plugin Author

    Posted 1 year ago #

    Excellent!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • JSJ Gallery Slideshow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic