Home › Forums › Support › Add border radius to Gutenberg Image Block images This topic has 5 replies, 2 voices, and was last updated 4 years, 1 month ago by Ying. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts September 2, 2021 at 10:48 am #1916886 Brent Wilson How can I add a border radius to images added via the standard Gutenberg Image Block? In the block settings, I added image-radius as an additional css class. I tried adding this css in the customizer: .image-radius { border-radius: 3px; } And also tried this css: .image-radius img { border-radius: 3px; } What might I be doing wrong? September 2, 2021 at 10:54 am #1916895 YingStaff Customer Support Hi Brent, Your CSS is correct. it’s just been overriding by the default WP image block’s CSS. Try this CSS instead to be more specific: body .wp-block-image:not(.is-style-rounded).image-radius img { border-radius: 3px; } September 2, 2021 at 11:19 am #1916919 Brent Wilson Thanks! That worked! Would adding !important to my original css be another way to override the default block css? September 2, 2021 at 11:21 am #1916922 YingStaff Customer Support I think so 🙂 September 2, 2021 at 11:27 am #1916932 Brent Wilson Thanks September 2, 2021 at 11:31 am #1916936 YingStaff Customer Support No problem 🙂 Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In