Styling issues after upgrade to WordPress 5.3
I was doing some testing on the latest CiviCRM and WordPress and noticed that the form styles didn't look right. After a bit of digging I've discovered that there have been some significant changes to form styles in WordPress 5.3. Unfortunately, these seem to break the CiviCRM styles.
The <select>
element seems to be particularly badly hit. Some select2
elements are also affected (see below).
Here are a couple of screenshots that show the differences. These are from the edit membership form but other forms have similar issues.
The first is CiviCRM 5.23.0 on WordPress 5.2.0:
The second is CiviCRM 5.23.0 on WordPress 5.3.2: