Ozzy Rodriguez
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Background transparencyAwesome! Glad it’s working for you.
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Background transparencyYou shouldn’t edit any of the plugin files directly, JavaScript or otherwise. If you want to override a style, you can add styles to your theme stylesheet to override them.
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Background transparencyIt would be best if you didn’t edit the plugin itself, and also the plugin loads a minified version of the stylesheet, so it probably wouldn’t do you much good.
If you wanted to override the style of the background, you’d probably want to use
.featherlight:last-of-type
. You may need to use!important
in your rule, though.Awesome! Thanks for you using our plugin.
Hmm. It’s not working now. Looking at your source, it looks like the featherlight JavaScript is being loaded in the <head> above where jQuery is being enqueued. This isn’t the standard behavior of the plugin, it’s usually loaded at the bottom of the page, so there must be another plugin changing this.
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Scaled images, low GTMetrixIn order to open the lightbox the way you’d like, you can’t use the set it and forget it option of the plugin. You’ll have to initiate the lightbox yourself using the instructions found at https://github.com/noelboss/featherlight#user-content-usage
It seems to be working now, so I’m guessing you solved it somehow. https://screenshots.firefox.com/P3eedFOctrE9GqK6/letskillthenoise.com
Let us know if there’s anything else we can do to help.
Hi @logaritym,
That page doesn’t seem to have any loading like you describe. Can you link to a page that does?
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] New install not workingWP Featherlight doesn’t add any options for videos and doesn’t open up videos in a lightbox automatically.
You’ll have to add a video like this: https://gist.github.com/robneu/4b6dcf54b4c6c23640dc
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] New install not workingHi @wayneb4788,
Can you give us a link to the site you’re having an issue with?
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Scaled images, low GTMetrixIn order to do that, it’ll be more of manual process of selecting which images to open in a lightbox. You can use the instructions at https://github.com/noelboss/featherlight/#usage more information on how to do that.
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Scaled images, low GTMetrixWhat it’s saying is that you are serving an image that’s a larger size than than the area it’s occupying. Here is what GTMetrix has to say on the subject: https://gtmetrix.com/serve-scaled-images.html
I would recommend using image that are the correct size for the area that they’ll be used in. That should get rid of that error in PageSpeed and YSlow.
Forum: Plugins
In reply to: [WP Featherlight - A Simple jQuery Lightbox] Scaled images, low GTMetrixThere’s definitely something that can be done, but since WP Featherlight opens up the image you tell it to and doesn’t set anything itself, it can’t help you fix those issues for you.
Thank you and good luck, @dongsaigon!
Hello @dongsaigon,
Can you try adding the following to your theme (probably in your functions file):
/** * Disable WooCommerce gallery zoom and lightbox */ function themeprefix_disable_woocommerce_gallery() { remove_theme_support( 'wc-product-gallery-zoom' ); remove_theme_support( 'wc-product-gallery-lightbox' ); } add_action( 'after_theme_setup', 'themeprefix_disable_woocommerce_gallery' );