My Community Pro Theme Setup

  1. Home
  2. Docs
  3. My Community Pro Theme Setup
  4. Extras
  5. Remove Link Underlines on Images

Remove Link Underlines on Images

If you choose to add Links to Image Blocks or Gallery Blocks, you can remove them by adding the following CSS to Appearance > Customize > Additional CSS

/* Remove link border on images */
.wp-block-gallery a,
.wp-block-image a,
.wp-block-latest-posts__featured-image a {
	border-bottom: none;
}