[personal profile] branchandroot posting in [community profile] style_system
So let us suppose that I'm making a theme for a layout that already uses the print_stylesheet function (a theme for Modish, in the event). Let us further suppose that I want to add a little bit of css to this theme without copying the whole inherited stylesheet just to change one line. Does anyone know of a good way to do this?

Date: 2009-08-22 01:50 pm (UTC)
ninetydegrees: Art: self-portrait (Default)
From: [personal profile] ninetydegrees
I'd use print Page::print_custom_head() { }

Edit: Hmm. Wait. I'm not sure if it's printed before or after print_stylesheet.

Edit2: It's printed before print_stylesheets so you may have to use !important. I don't know if that works with all browsers.
Edited Date: 2009-08-22 01:54 pm (UTC)

Profile

Dreamwidth style system discussion

September 2025

S M T W T F S
 123456
78 910111213
14151617181920
21222324252627
282930    

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 21st, 2025 10:03 am
Powered by Dreamwidth Studios