You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Site Title Block: Custom CSS classes not being outputted on the frontend #23813
Site Title block has an option to add custom CSS classes in the Advanced section, but the class added there is not added to the element on the frontend.
To reproduce
With Full Site Editing enabled in Gutenberg go to "Site Editor (beta)" in WP Admin.
Start editing the site header. Select Site Title block.
Open the Advanced section in the options column on the right-hand side of the screen.
Add any custom CSS class name in the "Additional CSS class(es)" field. Click "Update design", and then "Save".
Preview the site. Open the developer tools and inspect the site title element. Notice the custom CSS class is not there.
The issue happens only on the frontend, the setting itself seems to be saved correctly.
Expected behavior
For the custom CSS class to be added to the site title elements' classes on the front end.
Screenshots
Editor view:
Preview:
Editor version (please complete the following information):
WordPress version: 5.4.2
Gutenberg plugin: 8.5.0
Desktop (please complete the following information):
Activity
carolinan commentedon Jul 9, 2020
Hi
This is a duplicate of #21903, #22097 and possibly solved by #23007