Community Documentation

Theming guide

Last updated March 21, 2009. Created by heather on August 14, 2008.
Edited by quicksketch, sirkitree, mooffie. Log in to edit this page.

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:

  1. Use CSS
  2. 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.)

About this page

Drupal version
Drupal 5.x, Drupal 6.x

Structure Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.