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.
This patch adds "sticky" tag to the class of sticky nodes, thus enabling different styling for them.
Comment | File | Size | Author |
---|---|---|---|
chameleon.theme_.patch | 802 bytes | snufkin |
Comments
Comment #1
dmitrig01 CreditAttribution: dmitrig01 commentedComment #2
Dries CreditAttribution: Dries commentedLet's add some CSS for styling too?
Comment #3
snufkin CreditAttribution: snufkin commentedI tried to do some nice highlighting, but i am not yet satisfied with what i could come up with. However there is an issue I noticed: .node has no padding, which means that the post's title, and content is right at the edge of the .node box. If we use coloured background for the .sticky nodes, it will look quite bad, so this needs a more thorough CSS hacking.
Comment #4
Dries CreditAttribution: Dries commentedI committed your patch, but I'll leave this as 'code needs work' until we have the CSS too. Thanks for step #1 of this patch.
Comment #5
bdragon CreditAttribution: bdragon commented*POKE!*
Comment #6
PasqualleComment #7
JohnAlbinNo longer relavent.