• Proposal to remove the black line under the images with link in the new WordPress gallery:

    .blocks-gallery-item a {
        border-bottom: none;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    @ventair I might do away with using borders for links in the entry content entirely. It worked reasonably well back in the day, but with the introduction of the block editor, there are too many different elements in the entry content that could end up being styled incorrectly (including linked gallery items). Removing the borders on a per-block basis would be messy, and wouldn’t account for blocks not included in core.

    I’ll take a look at it in a future update.

    Thread Starter vent

    (@ventair)

    Indeed the blocks are great for the possible multiples, but not always simple to simplify the css ??

    For me, it is especially important for the images in the galleries! This code seems to suffice. Thanks for the quick replies!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Block gallery and image link, underline ?’ is closed to new replies.