Make WordPress Core

Opened 7 weeks ago

Closed 7 weeks ago

#61917 closed defect (bug) (invalid)

i want to customize the admin dashboard

Reported by: ripisdead's profile ripisdead Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Administration Keywords:
Focuses: css Cc:

Description (last modified by sabernhardt)

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

Change History (1)

#1 @sabernhardt
7 weeks ago

  • Description modified (diff)
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 6.6.1 deleted

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 'admin_enqueue_scripts' action.

Or you could just add your styles with a plugin such as Simple Custom CSS and JS.

Note: See TracTickets for help on using tickets.