You can use jQuery like this:
jQuery('ul.children li:last').addClass('last');
And then CSS it with:
ul.children li.last {
color: red;
}
Hope this helps. Good luck!
Related Posts:
- Complex List Field – Gravity Forms
- how to arrange the bullet list items in vertical [closed]
- Insert a group block inside a list item
- How to insert spaces/tabs in text using HTML/CSS
- How to change btn color in Bootstrap
- Failed to decode downloaded font, OTS parsing error: invalid version tag + rails 4
- How to make the HTML link activated by clicking on the
- ?
- force footer on bottom on pages with little content
- Dynamically change color to lighter or darker by percentage CSS
- How do I right align div elements?
- How would you make two s overlap?
- CSS “margin: 0 auto” not centering
- CSS text-align not working
- How can I insert vertical blank space into an html document?
- What is the difference between “screen” and “only screen” in media queries?
- How to have an anim gif on a link and play it on hover and reset
- How can I make Bootstrap columns all the same height?
- Align text to the bottom of a div
- How to make a
- display in a horizontal row
- CSS3 Scale Animation Keyframes
- JavaFX css themes
- Border Position
- Bootstrap align navbar items to the right
- Detect if a browser in a mobile device (iOS/Android phone/tablet) is used
- Using font awesome in codepen
- using media queries with LESS
- How can I apply styles to multiple classes at once?
- Responsive Canvas in Bootstrap column?
- How to get multiple images to auto resize and stay centered within a div
- CSS rotation cross browser with jquery.animate()
- How can I center
- into a div?
- How do you avoid caching during development?
- Are there Gutenberg container blocks?
- How to specify a class added to my gallery
- How to add a “last” class to the last post in loop.php?
- How do i use fontawesome icons in TinyMce editor?
- Get parent category class in post_class()
- Assign title-specific class to list items in menu based on WP pages
- Why won’t child theme’s style.css override plugin’s css
- WordPress – https : Css and Js files are not working (load on http instead of https)
- some things in child theme css not overriding parent
- Is it possible to create a full width row in WordPress’s editor window? [closed]
- Load custom css after bootstrap
- How do I find (index) file in order to change style on CSS?
- Enqueue style for Password Reset page
- Highlighting the current page in a navigation menu which links are generated with a custom loop?
- If I dequeue Gutenberg Stylesheet will that have any effect on WordPress 5.0.1?
- How to center a video [closed]
- How to change header & footer to full width? [closed]
- Styleswitcher or themeswitcher to allow user to switch back to standard view from mobile device
- Remove WordPress/Gutenberg button styles for ACF blocks
- Relative path instead of absolute for wp_enqueue_script
- If post by specific role different css to everyone
- Theme Check errors about missing CSS rules
- removing my underline from hyperlinks
- How to override Gutenberg admin CSS
- WordPress stripping out BR tags, need assistance
- Specific css on homepage, different one for other pages
- Media library style not loading correctly when selecting a page featured image?
- Use wp_add_inline_style to add code to before wp_head?
- How to Remove White Space above video Block
- Font Awesome wp_enqueue_style
- Using uncss or similar with WordPress?
- How can i add note, caution, warning quote inside the text? [closed]
- Add to Cart button woocommerce background and with doesn’t display correctly
- How to enqueue a random css style?
- Output terms to post_class()
- Layout using Bootstrap not aligning correctly
- No styling on fresh wordpress installation
- How to include .css code in a WordPress page template?
- Enqueue Style Function Not Loading
- How To Add a Transition style to WordPress Comment Box? [closed]
- What’s the best way to add the LESS preprocessor to a WordPress theme?
- How to use Japanese characters for a single page
- Internet Explorer ignore my css
- Some Text of website page on Iphone Safari become invisible
- Child Theme CSS not showing at all
- Adding CSS to Blog Posts?
- Where do I go to change the position of the style.css?
- wp_enqueue_media is not loading styles
- 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
- why does this text overlaps in the sidebar?
- Combine CSS Files without plugin
- JS button animation for ajax the WordPress style
- Trying to make an image a circle in Gutenberg
- How to remove padding from left&right side
- links format change “on clic”
- Problem alignment issue with echo knowledge base
- The placeholder text doesnt disappear
- Theme stylesheet not called properly on cloned website
- a slider menu is compromised in space
- why css doesnt work when i change my file of wordpress and sql to another computer?
- Installing non-standard fonts [closed]
- Suddenly, all links in #content div are not clickable, but I don’t see any z-index bug? [closed]
- Hiding fields a form in via CSS [closed]
- Bullet points not showing in wordpress
- Help with creating a menu with multiple columns