[wp-trac] [WordPress Trac] #61917: i want to customize the admin dashboard

WordPress Trac noreply at wordpress.org
Fri Aug 23 18:04:47 UTC 2024


#61917: i want to customize the admin dashboard
----------------------------+----------------------
 Reporter:  ripisdead       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:
 Severity:  minor           |  Resolution:  invalid
 Keywords:                  |     Focuses:  css
----------------------------+----------------------
Changes (by sabernhardt):

 * status:  new => closed
 * version:  6.6.1 =>
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Old description:

> hi
> i wanted to customize the sidebar in admin area to the left it is called
> adminmenu is css
> by customizing i mean just to change the color ( tho i get a bit carried
> away and went to other places to change them too like active and inactive
> plugins background and the p part of all of the site but its not the
> matter now i just wanna know what did i do wrong that this adminmenu
> doesnt even work at all costs that i tried and think of)
> so i wrote a new css file so it would conclude all the changes
>

>
>  #adminmenu{
>     background-image: linear-gradient(to right, #a41aa1 , #8408b0);
> }
>   p{
>     background-image: linear-gradient(to left, rgb(140, 0, 255), rgb(255,
> 0, 64)) !important;
>     -webkit-background-clip: text !important;
>     color: transparent !important;
> }
>     .plugin-update-tr{
>     background-color: black !important;
> }
>   .inactive {
>     background-color: rgb(51, 255, 0) !important;
>   }
>   .active {
>     background-color: rgb(214, 255, 30) !important;
>   }
>   body{
>    background-image: linear-gradient(to left, rgb(173, 0, 251), rgb(253,
> 24, 0)) !important;
>   }
>

> so yea and i import it to all wp-admin and its variants
> it didnt work then i tried changing the adminmenu parts (all of the
> variants too)
> so whereever i find a
>
>  background-color: black
>

> i would change it to
>

>     background-image: linear-gradient(to right, #a41aa1 , #8408b0);
>

> and again it didnt work
> so yea im confused and got no idea why it didnt worked too
> if u have anyidea please do tell

New description:

 hi
 i wanted to customize the sidebar in admin area to the left it is called
 adminmenu is css
 by customizing i mean just to change the color ( tho i get a bit carried
 away and went to other places to change them too like active and inactive
 plugins background and the p part of all of the site but its not the
 matter now i just wanna know what did i do wrong that this adminmenu
 doesnt even work at all costs that i tried and think of)
 so i wrote a new css file so it would conclude all the changes


 {{{
  #adminmenu{
     background-image: linear-gradient(to right, #a41aa1 , #8408b0);
 }
   p{
     background-image: linear-gradient(to left, rgb(140, 0, 255), rgb(255,
 0, 64)) !important;
     -webkit-background-clip: text !important;
     color: transparent !important;
 }
     .plugin-update-tr{
     background-color: black !important;
 }
   .inactive {
     background-color: rgb(51, 255, 0) !important;
   }
   .active {
     background-color: rgb(214, 255, 30) !important;
   }
   body{
    background-image: linear-gradient(to left, rgb(173, 0, 251), rgb(253,
 24, 0)) !important;
   }
 }}}

 so yea and i import it to all wp-admin and its variants
 it didnt work then i tried changing the adminmenu parts (all of the
 variants too)
 so whereever i find a

 `background-color: black`


 i would change it to


 `background-image: linear-gradient(to right, #a41aa1 , #8408b0);`


 and again it didnt work
 so yea im confused and got no idea why it didnt worked too
 if u have anyidea please do tell

--

Comment:

 Hi and welcome to WordPress Core Trac!

 For site help, please use the support forums.
 https://wordpress.org/support/forums/

 If you want to add a separate CSS file for new admin styles, you would
 need to enqueue it within the
 [https://developer.wordpress.org/reference/hooks/admin_enqueue_scripts/
 'admin_enqueue_scripts' action].

 Or you could just add your styles with a plugin such as
 [https://wordpress.org/plugins/custom-css-js/ Simple Custom CSS and JS].

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61917#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list