0

With this new theme there seem to be no way to write CSS style rules that work.

CSS style files aren't loaded. and I find no space to modify CSS directly when editing the pages. But the "blocks" do include an "Additional CSS Class(es)" input.

Where do I state such "Additional CSS Class(es)"?

1 Answer 1

1

YES (finally)..

The specific answer for this template I found in a WP forum was a bit misleading, which took me hours lost searching for what they meant. So:

The section for personalized CSS styles is located directly in "Twenty Twenty-Four" Theme Editor, just go:

  1. Appearance (themes);
  2. Editor (site-editor);
  3. Left Menu -> Styles (wp_global_styles);
  4. Up to the left, by the Styles title, there's an Eye and a Pencil icons, click the pencil (edit);
  5. To the right, at the bottom you'll find "Additional CSS" or at the top right, inside the three dots button.

You can also go directly to "/wp-admin/site-editor.php?path=%2Fwp_global_styles&canvas=edit" and look for step 5.

Hope this helps many newbies with this template, like me.

2
  • It doesn't seem to work inside Custom HTML blocks. Does anybody out there have a solution? Jan 29 at 22:14
  • wrap your custom HTML block in a block that you can target, though if you're using a custom HTML block you could use style tags
    – Tom J Nowell
    Jan 29 at 22:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.