You’re targeting cd-dropdown with a class indicator (the period), the cd-dropdown is an ID and should therefore be targeted with the ID selector (a hashtag).
#cd-dropdown > span,
#cd-dropdown ul li:nth-last-child(-n+3) span {
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
Related Posts:
- WordPress Admin Bar pushed Sticky Footer off the bottom of the page
- Minify HTML, CSS, JS with PHPWee?
- Show post in slider
- Slider loading issue
- Incorrect MIME type for assets with Valet
- How does wp_enqueue_scripts work?
- Add Codepen animation as Preloader to WordPress
- trouble with page_id & highlighting current page
- wordpress admin plugin menu custom css
- How to add drag and drop functionalities to a div inside option panel
- How to Change CSS Colors from Custom Plugin Settings Page
- Post repeated when opening in overlay, how do I solve this? [closed]
- Link to page with posts of specific type
- go to home page when i select default in select-box
- How to sort posts by active category in WordPress?
- Add other class content with reference class value
- How do I integrate vanilla Javascript to a wordpress website?
- Google CSE Malfunctions via Chrome/Safari on Mobile When Clicking on Either Search Icon/Menu Icon. How to Make Google CSE Default Theme Search
- I have a lot of JavaScript erorrs after SSL someone can help me?
- WordPress Slider is not working
- register dependency css and js inside a plugin class
- Bring Font Awesome icons inside menu A tags
- custom field – changing an element or background of id div – different versions not working
- Target a specific container to style on WordPress storefront theme
- Where to find the html for WordPress site? [closed]
- Page 2+ of taxonomy archives does not recognise sort-order from dropdown
- Trying to customize wordpress drop down categories
- How to create and add js and css file when server is not on my PC?
- Embed dynamic media query in a Gutenberg block
- Run a Parallel PHP Application with WordPress
- Click loads template via ajax
- Using PHP to toggle stylesheet and header image, set in cookie
- Getting the dropdown menu to redirect to different pages?
- using woocommerce_template_single_add_to_cart in shop-loop – javascript issues [closed]
- Uncaught TypeError: Cannot read property ‘firstChild’ of null after upgrading to WordPress 5.5
- How to display a value from a radio button in the options menu in wordpress
- Display notification only once
- Access/update database with jQuery
- How to display something in a div when the user clicks on a text in another div – no page refresh [closed]
- Use WordPress’s Media Uploader/ Manager in non WordPress php application
- Get/Set wp.customize.previewer.previewUrl
- javaScript in section of WP API
- How should I best target dynamically served content?
- Different background-image by category
- Use is_product_category() properly
- Style every second widget?
- admin-ajax.php responding with 0
- Using wp_localize_script to store the template url into a variable to use in JS
- How to scale image with equal width and height without distortion?
- How can the plugin directory path be returned into ?
- Add a Different CSS Class Into The Body Tag of Different WP Pages
- How can I add tinymce editor in WordPress with jQuery?
- How to speed up admin-ajax.php in wordpress
- php syntax – how to concatenate properly – echo bloginfo(‘stylesheet_directory)
- JQuery not working on WordPress Admin page [closed]
- Customizer Show/Hide
- Page Reloads Before AJAX Request Finishes
- wp nav menu: add attributes to menu items [duplicate]
- Colorbox ajax loading of outside HTML content works perfect on localhost but not on server
- WordPress override bloginfo variable
- How to make custom total price reactive in navigation
- Adding tawk.to code just before body tag on functions.php file
- How do I fetch all comments per post via WP REST API?
- Put CSS inside a PHP file and include it the right way
- Deregistering a script in WordPress seems impossible
- Slide in Panel WordPress Post
- Sending jsPDF documents to the server
- Shortcode content output but not in correct place
- How to prevent those PHP variables from being cached on WordPress?
- Ajax return code 400
- An unwanted inline style is added to my body tag
- How can I add an alert (like the old javascript alerts) to my WP page?
- Pass PHP variable to JavaScript without inline JS
- Displaying theme options in css
- How can I output a php value into a JS file within WordPress?
- Problem adding class to body_class
- Using shipped version of jquery
- Putting PHP variables into javascript [duplicate]
- Add a custom stylesheet for BlackBerry
- Bridging TinyMCE js and WordPress PHP?
- How can I hide Home in my menu in a specific page?
- Missing sidebar parameter “fix” – before_content
- Trying to implement Ajax comments in WordPress, getting WP error
- How to test nonce with AJAX – Plugin development
- Get different images for mobile and desktop with php, advanced custom fields without using js and ajax
- How do I display a user’s previous orders as a select box option on a product?
- Simple Plugin with custom javascript wont work – no console error
- How Display Posts on category
- How does this WordPress Plugin (Thrive Comments) apply their custom comment sort? [closed]
- How can I use a modal window to display the current post in loops featured image?
- How to query for pages/post depending on slug?
- js file in root loading without
- class click counter save number
- Trigger popup in a php if/else statement
- How to stop featured image thumbnail [set as background image] on blog index page just repeating same image across all posts
- Global variable $post returning incorrect object
- AJAX request status 200 but no actual “response”
- Button not refreshing page
- How to make drop down post title
- Ajax not working es expected (Returns 0)