Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Some of my custom styles in the CKeditor styles drop-down menu, preview badly. Can I override how they look in the menu itself (eg. text only, for selected styles)?
For example, emphasized text appears bold, which is great. But my enlarged, encircled, right-aligned text appears to the right of the drop-down window (see attachment).
Comment | File | Size | Author |
---|---|---|---|
ckeditor-custom-styles-drop-down.jpg | 8.74 KB | iantresman |
Comments
Comment #1
iantresman CreditAttribution: iantresman commentedLooks like several StackOverflow contributions address and solve this:
They both use the following CSS snippet, which uses the !important declaration to override: