[wp-trac] [WordPress Trac] #52185: Twenty Twenty-One: background image does not work with dark mode
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Dec 29 00:58:24 UTC 2020
    
    
  
#52185: Twenty Twenty-One: background image does not work with dark mode
---------------------------+------------------------------
 Reporter:  WebsThatRock   |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.6
 Severity:  normal         |  Resolution:
 Keywords:  2nd-opinion    |     Focuses:  css
---------------------------+------------------------------
Changes (by sabernhardt):
 * keywords:   => 2nd-opinion
Comment:
 Hi @WebsThatRock and thanks for the report!
 The team considered
 [https://github.com/WordPress/twentytwentyone/issues/829 disabling
 background images with dark mode active], as usually the two features do
 not work well together.
 Removing this specific background image in dark mode is likely your best
 option. You can paste this line within the Additional CSS section in
 Customizer:
 {{{
  .is-dark-theme.custom-background { background-image: none; }
 }}}
 If we want to edit the theme for this, we could adjust the `background-
 position` so it's off screen. That could make it easier for users to
 override in the event that their background image does work in both modes.
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52185#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list