• Resolved meialua

    (@meialua)


    Hello,

    I’m desperately trying to create tiled galleries with customizr but I came across 2 problems:

    1. The option to create Thumbnail Grids, Tiled Mosaic, Square tiles and Circles (insert media >> create gallery – options on the right) is not present.
    This has been fixed by installing the extension “Tiled Galleries Carousel Without Jetpack” as Jetpack and Jetpack slim curiously did not work.

    2. Now that I can create the galleries, they are not displayed properly, even the text of the page is not displayed. Hereunder screenshots of a test page with customizr (3.1.6) and TwentyFourteen themes.

    Here with customizr:
    https://picpaste.com/1e0b6939ceed7811e250c06db73b8991.png

    …and with TwentyFourteen:
    https://picpaste.com/e77dea591486911d122fbf4e218f7e4d.png

    I’ve tried to disable all extensions but nothing changed. No success either by changing the customizr images options.

    Anyone has/had the same issue? Any hint for a fix?

    Obviously something is broken

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter meialua

    (@meialua)

    I finally figured out.

    Edit the file class-content-gallery.php in the parts directory. On line 25 replace

    add_filter ( 'post_gallery' , array( $this , 'tc_fancybox_gallery_filter' ), 20, 2);

    by

    remove_filter ( 'post_gallery' , array( $this , 'tc_fancybox_gallery_filter' ), 20, 2);

    This line of code had been mentioned in another post where the poster suggested to add it at the end of the functions.php file. It did not work for me.

    The issue with this solution, is that the hack will be removed every time the theme is updated. If anyone has a better option – like including the line in a functions.php of a child theme – please contribute.

    Something is however broken with the fancybox option in Customizr, I’ll report the bug.

    ElectricFeet

    (@electricfeet)

    What happens if you simply switch off fancybox in Customiz’it > Images > Enable/disable lightbox effect on images?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gallery broken – images and text not displayed’ is closed to new replies.