I'd like to flag a node in order to hide some element of that node. Presumably this would be possible with something like .flagged-node element {display: none}?

Looking forward to a release :)

Comments

mooffie’s picture

Status: Active » Fixed

First, find the CSS class name (or ID) of the element you want to hide. Let's say it's "myelement". Then add this to your stylesheet:

.node-flagged-bookmarks-self .my-element {
  display: none;
}

(Replace "bookmarks" with your real flag's machine-name. Remove "-self" if your not after your own flaggings.)

mooffie’s picture

BTW, let me know what you think about this: #948032: Change the class names?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.