take reference of two classes and apply css
e.g you have menu in li as:
<li class="menu-item-24011">
<span class="menu-text">profile</span>
</li>
then add this css:
.menu-item-24011 .menu-text {
padding-left: 50%;//change as per your req
}
Related Posts:
- Outline effect to text
- Vertically align text within a div
- Insert image after each list item
- How to add a color overlay to a background image?
- Change color of PNG image via CSS?
- Transitions on the CSS display property
- How to completely remove borders from HTML table
- How to fix a footer overlapping content?
- What is element.style and why is it overriding my css settings?
- margin-right is not working with my HTML. How can I center my content?
- Overflow Scroll css is not working in the div
- CSS Div width percentage and padding without breaking layout
- 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?
- CSS background-image – What is the correct usage?
- Set bootstrap modal body height by percentage
- Overflow-x not working
- How can I fill a div with an image while keeping it proportional?
- Inbuilt style for jquery-ui-datepicker
- Why is style.css not being enqueued?
- Remove top admin bar
- How to add a class to ul tags created by the WordPress editor Tinymce?
- Using theme options to change link colours
- When enqueing a stylesheet, is it possible to remove the type attribute? [duplicate]
- 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
- Adding external stylesheet after ALL other styles
- How can I use PurifyCSS to clean WordPress style.css?
- WordPress Twenty Fourteen Theme Sidebar
- WordPress CSS doesn’t update
- Removing Title From Links to Site
- create bootstrap columns inside editor group block
- Website scroll not working on SAFARI
- Admin pages missing css
- How to link theme fonts directory in WordPress CSS?
- No responsive design is displayed
- Child theme CSS not applying to element
- How to Style Primary Menu with Active Class
- Set 3 iframes in a row
- Google yolo one tab signup plugin avilable in wordpress? [closed]
- Make CSS Changes To Only Affect Mobile Browser [closed]
- Get post format and use it as a CSS class in different spans
- wp_enqueue_scripts and CSS
- User gets access denied to css files and js files even though user is logged in [closed]
- Hiding Label via CSS
- Conditionally enqueue a stylesheet based off of a javascript click event
- WordPress 6 – inline container styles breaking my site
- Custom CSS is not working?
- how to stop the shaking effect on my homepage [closed]
- List item images perfect on Chrome/Edge, css fudged on FF/IE [closed]
- prevent HTML output if custom field is empty [closed]
- Missing “Additional CSS” option in Customizer
- Adding a new block editor color option to a theme
- How to make jquery slider to start afresh [closed]
- Custom CSS based on the Author of a Post
- How to properly hide the div of an inline collapsible button?
- 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
- Include ElementorPro css into WordPress custom page
- Customizing the CSS for the post/page editor?
- My Child Theme CSS Isn’t Working
- 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
- Text Not Wrapping Around Right Floated Image [closed]
- header background color changed after drop & import database in phpmyadmin
- Add class when more page is visited
- Css style removed but still showing via CDN even after clearing browser cache and purging all caches for site
- 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]
- How would I use a media query to make my entire theme responsive or fluid? [closed]
- 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]
- Footer in middle of page in different browers [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)
- Narrow paragraph block aligned to left of “wrapper”
- Transparent Overlay for Gravity Forms Ajax Spinner
- Remove the main title, but only from the main page
- aos properties ‘invalid’ and not recognised when included as a css class [closed]
- ACF Extended : Disable styles in front [closed]
- How to avoid problems caused by new block-library default CSS rules (wp 6.1.1)