• Resolved Bunglegirl

    (@bunglegirl)


    I’m having trouble resolving an issue with tiled galleries. The alignment and sizing is off and captions are either not appearing or are cut off. I have put in a support ticket with my theme creator and he says that it’s a plugin issue (although galleries appear correctly when I live preview other themes). The only advice he threw out there was to add this code

    .tiled-gallery.type-rectangular p {
      display: none;
    }

    I’ve seen this question asked before – any chance you know what could be going on? Here’s a link to a gallery with this issue.

    Bonus question: Is there any reason/benefit to choosing an attachment type? I don’t like it linking to a page, so I usually select media file or none. Does this decision affect anything with the display?

    https://www.ads-software.com/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    The empty paragraphs are added by your theme, or by another plugin on your site. You’d have to deactivate each one of them, one at a time, in order to find the one causing the problem. But the fix suggested by the theme author will work just fine, and should avoid you some troubleshooting work.

    You could even make that code more general, to make sure it applies to all gallery types.

    .tiled-gallery p {
      display: none;
    }

    You can place that code at the end of your theme stylesheet, or in your custom CSS editor available under Appearance > Edit CSS in your dashboard.

    I would also suggest adding a content width value to your theme, so that the galleries can use the full width available in your content area.

    You can read more about it here:
    https://jetpack.me/support/tiled-galleries/#content-width

    Bonus question: Is there any reason/benefit to choosing an attachment type? I don’t like it linking to a page, so I usually select media file or none. Does this decision affect anything with the display?

    It won’t change the display of your gallery. However, if you ever decide to deactivate Jetpack’s Carousel module, the link value will define where the images link to whenever one of your readers clicks on one of the images in your gallery.

    I hope this helps.

    Thread Starter Bunglegirl

    (@bunglegirl)

    Wonderful! Thank you so much. Their code did not work for me, but you more general one did. And I also liked adding the content width to my functions.php file for a bigger gallery display.

    I really appreciate your time and effort. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tiled Galleries Wacky Issues’ is closed to new replies.