[wp-trac] [WordPress Trac] #18124: Child Theme Styles - Dark Theme and Link Colors

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 4 06:37:03 UTC 2012


#18124: Child Theme Styles - Dark Theme and Link Colors
---------------------------+------------------------------
 Reporter:  adeptris       |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  3.2.1
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------

Comment (by adeptris):

 Hi Obenland,
 You have missed the point, if you select the Dark Theme option from
 Appearance Theme Options, this will load the /colors/dark.css and the
 script/function to load the link colors.

 People might want to affect one element and will be uncomfortable in the
 functions.php using enqueue and dequeue, but ok with adding a style to the
 style.css

 WordPress promote the use of child themes, but the child theme style.css
 is loaded before the dark.css and the function, so styles cannot be
 changed in the child theme unless you use !important.

 I wrote about it omn my website and updated the codex, there is a
 screenshot where you will see the dark.css is loaded after the child
 themes style.css

 http://digitalraindrops.net/2011/07/twenty-eleven-dark-child-theme/
 http://codex.wordpress.org/Child_Themes

 HTH

 David

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18124#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list