Putting a padding-right on the text title that is around the same as width of your absolute number, would prevent the overlap.
#wpadminbar #wp-admin-bar-my-admin-bar-node-default > li > .ab-item {
padding-right: 45px;
}
or you could wrap your title in a span as well, make them both blocks, and then do a display:flex;
on the parent and use flex to size and position.
Related Posts:
- WordPress Admin Bar Overlapping Twitter Bootstrap Navigation [closed]
- Remove top admin bar
- How to Add Admin Bar and Admin Menu or Submenu Notification Bubbles?
- Deregister CSS style link ‘open-sans-css’
- WP Admin Bar transparent on some pages (.screen-reader-shortcut)
- Admin bar default color scheme for nonregistered/nonlogged users
- How can a left and right margin be added to the admin bar without access to “…wp-includes/admin-bar.php”?
- Site layout problems when logged in due to admin bar
- Bootstrap navbar-fixed-top issues [closed]
- Customize Bootstrap checkboxes
- Is there a CSS parent selector?
- How can I vertically center a “div” element for all browsers using CSS?
- How do I hide the bullets on my list for the sidebar?
- css transition opacity fade background
- Text-decoration: none not working
- How to center HTML5 Videos?
- Why is my Bootstrap code not working?
- What is the difference between visibility:hidden and display:none?
- Center a position:fixed element
- How to change the background colour’s opacity in CSS
- difference between css height : 100% vs height : auto
- Using margin / padding to space span tag from the rest of the p tag
- Could the WP script/style loader be used to concatenate and gzip scripts and styles in the front-end?
- Forcing reload of editor-style.css
- Style something only on the home page
- How can I make the wordpress editor apply the selected template?
- How do I register/enqueue a custom CSS file?
- How to combine multiple CSS files and concatenate JavaScripts if WordPress recommends enqueuing them?
- PageLines theme: how to change the background color of the main content vs. entire page?
- Changing CSS in Twenty Eleven to change font size of body text
- When using https, wordpress doesn’t use https for CSS and JS, and admin doesn’t work. How do I fix this?
- raw code vs wordpress
- Remove id attribute from stylesheet link
- Font embedding in wordpress
- How to Add Custom CSS to the Media Thickbox?
- How to create fa-bars animated menu
- Only column gallery on mobile device
- Does costum code in the root folder get lost when wordpress is updated?
- WordPress Light/Dark Theme best practices? Is there a way that really works?
- Responsive Images Warping
- Remove margin from CSS gradient color code
- How can I use one stylesheet for multiple sub-sites on my multi-site network?
- Child theme stylesheet not always overriding “index”
- How do I apply/target CSS to a specific user role or roles?
- Why is this jquery / java script code not working in mobile / in devices?
- Seperate functions.php for part of site
- Internet Explorer ignore my css
- How can I remove the ::after CSS selector which is automaticaly appended to the_content()?
- Hover colour spreading out beyond submit button
- Image getting out of container [closed]
- Clients website shows blank page [closed]
- post_class not working with css
- Using PHP Increment and Conditional Statement to Alternate Loop Background
- Remove a Style Tag from WP Theme
- Simple way to add custom class and ids to individual Gutenberg blocks
- How can I make css inline?
- Namespacing theme CSS
- Conditionally print css style in WordPress
- How to change the standard navigation menu color when using genesis [closed]
- WordPress is not displaying CSS file
- Change class names dynamically added to html elements by wordpress
- Add classes + taxonomy terms to wp_list_pages() output
- Chat window hiding behind Twenty Eleven header
- Hide Tab Titles from Tabs Block
- Hide product variations at home page
- WordPress footer always at the bottom of the screen-page
- TinyMCE on frontend style not working
- WordPress childtheme not loading any CSS/SCSS
- Why can’t blocks be hidden with jQuery?
- CSS: Appearance/Customise display different to actual display
- Border around menu button [closed]
- Correct use of !important
- How to change hover link colour for blog post (body) text only
- Problems styling a Custom Link in a Menu
- H2 On Blog/Article Page Gets Assigned a Class
- HTML not resizing
- Help locating old custom_css in PHP MyAdmin
- I would like to achieve a two column checkout page
- CSS ?ver=4.7.3 not found
- CSS in child theme to replace !important in parent theme
- How would I add this code to a single WordPress page?
- WP theme update causes child theme CSS problems
- How to change menu hover color to white on my theme? [closed]
- adding a favicon to site2 – site1/site2/favicon.ico
- How to make CSS load live based on options clicked in the theme customizer?
- Which files can be replaced in a child theme?
- Inserting a DIV Block Into a Listing of Excerpts?
- WordPress Custom Superfish CSS Problem [closed]
- How do i make a sidebar background color? [closed]
- How to remove audio player styles added by mediaelement.js JavaScript?
- Do you use css reset in your child theme [closed]
- Twenty Fourteen Theme – Moving left sidebar to the right
- WordPress doesn’t respect “ver” parameter in styles [closed]
- why does WordPress custom css convert alpha to hex values?
- how to change the colour of this background
- Can I upload my HTML/CSS/Javascript game onto a WordPress page?
- How to add css to wp_head depending on the user role?
- WordPress site suddenly not showing some DOM elements but mobile is fine
- Editing size of h3 tag in wordpress on a one-off basis
- Content doesn’t fit on large size desktops like 2560×1440