Skip to content

Instantly share code, notes, and snippets.

@krstivoja
Created November 22, 2023 16:53
Show Gist options
  • Save krstivoja/94b4cc24640737aa3d4f4588bbb79b7d to your computer and use it in GitHub Desktop.
Save krstivoja/94b4cc24640737aa3d4f4588bbb79b7d to your computer and use it in GitHub Desktop.
WP Admin Cleaner. Replace WP topbar logo
/* Upload your transparent png and replace url */
#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon:before {
background-image: url(https://dev-wordpress.local/wp-content/uploads/2023/11/gits-icon.png);
background-size: contain;
background-repeat: no-repeat;
display: inline-block;
width: 100%;
height: 100%;
content: "";
background-position: center center;
}
#wpadminbar #wp-admin-bar-wp-logo>.ab-item .ab-icon{
width: 24px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment