[wp-trac] [WordPress Trac] #53406: Custom css

WordPress Trac noreply at wordpress.org
Tue Jun 15 09:18:45 UTC 2021


#53406: Custom css
--------------------------+-----------------------------
 Reporter:  lupussolaris  |      Owner:  (none)
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  css           |
--------------------------+-----------------------------
 Hi, I am relatively new to WP development and am helping out on styling a
 couple sites. I see WP has a text box for adding in custom CSS. this isn't
 ideal as that css is then written into the page. Changing the theme css is
 risky as when the theme updates then all the changes are lost.

 It would be great if there was a custom css file independent of the theme
 and added into the header after the theme and plugin css files. I am
 currently adding in these files manually however am not sure if the theme
 will overwrite them. It means requires gaining access to the server in
 order to create the css files which is not ideal.

 Ideally It would be great to have 4 css files that form part of WP and are
 independent of the theme. 1 for the home page, 1 for pages, 1 for posts
 and one for all. That way it is easy to customise theme and plugin css for
 different parts of the site.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53406>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list