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.
Flagging and unflagging content is usually done by clicking links. These links are known as "flag links".
If you aren't content with the way the links look, you can change their appearance by theming them.
There are two ways to theme the flag links:
- Use CSS
- Completely change the output HTML by editing the template producing them.
The following two sections describe these two different ways.
If you're content with how the theme looks, but you want to change where the links appear on the page (other than the default location) read Placing a flag link on a page.)