How to remove class=”wp-block-heading” from Heading tags?

you can remove the class=”wp-block-heading” attribute from your heading tags by modifying your theme’s functions.php file or by using a plugin. Option: Modify functions.php Go to Appearance > Theme Editor in your WordPress dashboard. Click on the functions.php file on the right-hand side. Add the following code at the end of the file: function remove_block_css(){ … Read more

Wrap post titles containing slashes on narrow viewports

I have not found a way to specify that a slash should be treated like a hyphen. One potential workaround is to add the style overflow-wrap: break-word;. This will allow long words to break without affecting the breaking of other words. But it will just break at whatever character would cause overflow, it doesn’t prefer … Read more

How to add CSS to WordPress

These are some helpful threads on wordpress.org: https://wordpress.org/support/topic/hovering-settings/ https://wordpress.org/support/theme/twentytwentythree/ You can use the hidden customizer option to add your CSS. Append customize.php to your site admin URL. E.g. https://example.com/wp-admin/customize.php And add your custom CSS in the Additional CSS section and this should do the trick.

Is there a way to add background-image to theme.json?

Background image in theme.json is not yet supported In your theme.json file, you can define a CSS class name for the element that you want to add the background image to. For example: “styles”: { “hf-bg”: { “backgroundColor”: “#ffffff” } } In this example, we’ve defined a style called hf-bg that sets the backgroundColor property … Read more