Support » Theme: Customizr » Switch on overlay behind images shown with fancybox?

  • Resolved ElectricFeet


    Customizr uses Fancybox 1.3.4 to show images on pages. For example, click on any image here and you can see it in action. I’m trying to figure out how to make the background of the page be dark while the image is showing (what Fancybox calls the “overlay”).

    I found the Fancybox API page and tried editing the file tc-fancybox.js (which is in the wp-content-themes-customizr>inc>js folder), and tried changing
    'overlayShow' : false
    to “true” and adding:

    'overlayColor' : #333333,
            'hideOnOverlayClick' : true,
            'overlayOpacity' : 0.4

    but it didn’t work 🙁

    In any case, I could prefer to change just the CSS if I can. I managed to get the fancybox arrows to always show by adding CSS to my child theme, so showing the overlay should be possible in CSS too.

    Does anyone know how to enable this in Customizr?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Switch on overlay behind images shown with fancybox?’ is closed to new replies.