Fix for unwanted FAQ padding introduced in Spectra 2.10.2

[ad_1]

Today’s Spectra update (2.10.2) adds an additional 15px padding to FAQ blocks. According to the changelog, this is to make the block look the same in the editor and on the frontend. Unfortunately, the FAQ block lacks the padding settings found in Spectra’s more mature blocks (i.e., the heading block, container block and buttons block), so now there’s a 15 px padding that cannot be removed from the settings.

Here’s a CSS snippet to fix it while waiting for an official solution.

.wp-block-uagb-faq {
  padding: 0;
}

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer