#adminmenu li.menu-top:hover,
#adminmenu li.opensub>a.menu-top,
#adminmenu li>a.menu-top:focus {
position: relative;
background-color: #191e23;
color: #00b9eb;
}
Make sure your plugin is using the structure:
<li> <- position within admin menu is as a list item, using the <li> tag.
<a>LINK</a> <- main link
<ul> <- submenu container
<li><a>submenu item here</a></li>
</ul>
</li>
ofc dont put anything with those <- bits inside the code, it’s just an example of structure!
Hope it helps
Related Posts:
- How to Add Admin Bar and Admin Menu or Submenu Notification Bubbles?
- Hiding certain panels in dashboard
- How can a left and right margin be added to the admin bar without access to “…wp-includes/admin-bar.php”?
- Set line spacing
- Outline effect to text
- Insert image after each list item
- Transition of background-color
- How to add a color overlay to a background image?
- Change color of PNG image via CSS?
- css: how to center box div element directly in center?
- Transitions on the CSS display property
- How to completely remove borders from HTML table
- How to get current screen width in CSS?
- margin-right is not working with my HTML. How can I center my content?
- Overflow Scroll css is not working in the div
- Positioning background image, adding padding
- CSS Box Shadow – Top and Bottom Only [duplicate]
- How to place Text and an Image next to each other in HTML?
- What does the “~” (tilde/squiggle/twiddle) CSS selector mean?
- Responsive iframe with max width and height
- Overflow-x not working
- Hexagon shape with CSS3
- CSS selector for first element with class
- Inbuilt style for jquery-ui-datepicker
- Why is style.css not being enqueued?
- How to add a class to ul tags created by the WordPress editor Tinymce?
- Using theme options to change link colours
- How make theme css be first and not plugin css
- When enqueing a stylesheet, is it possible to remove the type attribute? [duplicate]
- One WordPress and database but multiple subdomains
- Collapsible button inside a ul list does work in jsfiddle but not in WP
- How to make float element in tinymce
- How to add 10 different css class to posts
- wordpress in wamp lan doesn’t load css
- JavaScript added as link/stylesheet
- Is there a default style.css
- How to get a value for admin css color either gray or blue
- CSS style button For WP Login Function in page template
- Eliminate render-blocking JavaScript and CSS in above-the-fold content
- Unable to load CSS file (HTTP 403)
- Why does my dissappear?
- Accessing Style Sheet Comment Like WordPress
- Dynamic sidebar nav with current page highlighting
- how to setup content on a static frontpage with css and xhtml
- Bootstrap in theme
- How to integrate my HTML and javascript into my child theme
- How to align full div [closed]
- Font Awesome icons disappearing [closed]
- How to add inline css code with background image in page html code?
- Move Sidebar from Above Content To Below When Responsive [closed]
- Understanding how the class family `inner-container` works
- How to deal with logo color on dark mode?
- Change Header Image on Blog Post for Mobile View
- adding the_custom_logo(); to header
- Add second background-image on hover
- Apply custom css for user role
- override a css style [closed]
- How to avoid repeating similar properties for all tds of a table in a wordpress post
- Common page width? [closed]
- WordPress Rest Api access the header and extract stylesheets URL
- Login validation on wordpress
- CSS properties in textarea in the Customizer
- Removing menus from users other than the administrator
- Add top parent page id to body class
- WordPress default theme CSS version problem and not loading
- Penscratch 2 – changing color of the main block
- How can customized CSS on WordPress highlight the blog title in white when it’s not intended?
- Are there any CSS classes for the wordpress colours?
- Set different css stylesheet for specific pages [duplicate]
- Desktop is class List and Mobile is class Grid
- Remove dashicons.min.css conditionally
- Remove Parent Style on Carousel
- current menu item hover not working?
- how to load basic wordpress css
- Fonts are not applying
- how does additional css rendering work?
- Text Not Wrapping Around Right Floated Image [closed]
- header background color changed after drop & import database in phpmyadmin
- Css style removed but still showing via CDN even after clearing browser cache and purging all caches for site
- Removing Admin Bar Node Based on Role
- I cannot make this position properly in WordPress [closed]
- How to include backend buttons css on frontend?
- vertical menu bar css
- After upload on server 404 on all pages, no css
- Managing large CSS files [closed]
- I need css code to divide my webpage sections into two columns
- Images at the same vertical position in multiple columns
- css .active dropdown selects all links
- background changed after WordPress update
- How to make this splash page responsive
- Menu is not styled properly and footer as well [closed]
- In which file can I find the custom CSS code I entered?
- Some times CSS not Applying
- CSS does not take effects and it doesn’t show in inspect [closed]
- Add Quicksand for mobile devices
- Hiding site title for Twentyfifteen sidebar on (responsive) desktop display size
- Why is the image in div not displayed in full-size?
- How do I add JS and CSS to WP (Flatsome)
- How to remove class=”wp-block-heading” from Heading tags?
- Website is not showing updated CSS