Here’s a DEMO.
Just add this CSS rule:
select > option { background: color; }
For example:
select > option { background: pink; /* Or an hexadecimal value */ }
Cheers, Leo!
Related Posts:
- Floating div positioning
- difference between ‘-webkit-box-shadow’ & ‘box-shadow’ in css
- Can you use if/else conditions in CSS?
- Resource interpreted as stylesheet but transferred with MIME type text/html (seems not related with web server)
- CSS Box Shadow Bottom Only
- How to draw a checkmark / tick using CSS?
- What is correct media query for IPad Pro?
- how to center form using bootstrap 4
- How can I center
- into a div?
- Center div on the middle of screen [duplicate]
- textarea’s rows, and cols attribute in CSS
- Failed to load resource: the server responded with a status of 404 (Not Found)
- Create blank image in Imagemagick
- Plot logarithmic axes with matplotlib in python
- Regex lookahead, lookbehind and atomic groups
- What is WebKit and how is it related to CSS?
- MIPS fetch address not aligned on word boundary, used .align 4, still no go
- Manually create a pyspark dataframe
- Couchbase query using “\uefff” break the next conditional keys
- VMWare Workstation VM not starting because of locked portion of file
- c array – warning: format not a string literal
- CSS display: inline vs inline-block
- Create Hyperlink in Slack
- Aligning two divs side-by-side
- What should be hadoop.tmp.dir ?
- How does DHT in torrents work?
- C++ undefined reference to WinMain@16 (Code::Blocks)
- Align DIV’s to bottom or baseline
- CSS Animation onClick
- Is there an opposite CSS pseudo-class to :hover?
- Lambda Calculus Reduction steps
- JavaScript: IIF like statement
- How can I enable Assembly binding logging?
- git push –force-with-lease vs. –force
- How to find the Target *.exe file of *.appref-ms
- pandoc document conversion failed with error 1 after update to R version 3.4.2
- How to display hexadecimal numbers in C?
- HTML colspan in CSS
- Flexbox float right
- External CSS not working
- How to exclude particular class name in CSS selector?
- Remove Open Sans from Twenty Twelve theme
- Adding first / last CSS classes to menus
- Can I add styles to footer with $wp_styles->add_data?
- Generating CSS Files Dynamically Using PHP Scripts?
- I’m trying to add an image in my CSS
- Overriding Gallery Margin
- WordPress localization
- wordpress CSS styles – footer border do not show
- Prevent CSS/JS loading when plugin is not used
- get_stylesheet_uri returns wrong path
- how to include javascript file and css file in wordpress
- WooCommerce Country Drop Down colours CSS [closed]
- How To Load Different CSS Style, Based On Language When Using QtranslateX [closed]
- Theme Options Page – User Updates Logo
- plugin style conflicts, how to override? [closed]
- Admin Panel pagination link styles
- How to style the RSS wordpress?
- Password protected Profile View
- Checkout form looks terrible [closed]
- Static page to one page- menu inactive items highlighted
- Custom CSS at Appearance > Edit CSS is missing after update [closed]
- Using page-id-{ID} from body_class() in local dev, versus live staging
- Custom image size vs CSS sizing
- How to create table in wordpress without plugin? [closed]
- Child Theme CSS not showing at all
- WordPress noob, assign custom stylesheet using @import or if? Didn’t work for me
- child theme appears again when I put the header with parent name.
- How to Add a Read-only Textbox With Text in it That Has a Button to Copy it?
- cookie free subdomain and @font-face
- How to add class to an html output element in tinyMCE paragraph drop down menu
- Adding elements to wp_list_pages (within , but before )
- How to theme code blocks formatted by the prettify.js embedded with WP-Markdown?
- Why doesn’t WP recognize images in posts like other content? [closed]
- Customizing the Post/Page Editor in Classic Editor
- How to hide a random text with a div tag using a class on product pages with a specific tag
- How do I integrate vanilla Javascript to a wordpress website?
- How to display post meta bellow every posts
- CSS transition from 0px width to 100% width
- Style not being applied to newly installed themes
- how to remove a tag in the_category function
- Custom CSS rule overridden in theme
- Style sidebar for a custom page template exclusively
- Sticky Button not working WP. But does it JS Fiddle
- How to change in css with a custom theme?
- Wesbite super slow on iphone / very fast on desktop with same connection on wifi
- How do I block a subdirectory from WordPress theming?
- How do I use CSS or PHP to customize WordPress Form Manager Plugin Table?
- Browser stacks different versions of style.css
- How to NOT override inline css rules
- Trying to link to a custom css file in a new folder
- CSS styling not working in a custom metabox
- How do I make a diagonal strikethrough on wordpress? [closed]
- adding new html css to wordpress section from codepen [closed]
- MY CSS FILE IS MISBEHAVING. IS NOT WORKING WELL ON MY WP SITE [closed]
- SSD or HDD for server
- Do you have any useful awk and grep scripts for parsing apache logs? [closed]
- change breakpoint widths for divi theme tablet view
- How to include Elementor CSS in custom php file [closed]