That looks like the margin added by the WP admin bar when you are logged into the site. WP adds an inline style tag which sets the margin on the html element with an !important flag. Since it typically comes after any of your own styles it overrides them even if you also use !important. Since it only displays when you are logged in it shouldn’t matter much, but if you really want to remove the admin bar you can change that in the settings Users->Your Profile then uncheck “Show Toolbar when viewing site”. Or add the following to your functions file.
add_filter(‘show_admin_bar’, ‘__return_false’);
Related Posts:
- Set bootstrap modal body height by percentage
- WordPress Admin Bar Overlapping Twitter Bootstrap Navigation [closed]
- Google yolo one tab signup plugin avilable in wordpress? [closed]
- Change class names dynamically added to html elements by wordpress
- Bootstrap News: Image Modifciation
- What is the difference among col-lg-*, col-md-* and col-sm-* in Bootstrap?
- CSS Background Opacity [duplicate]
- Customize Bootstrap checkboxes
- How to align a to the middle (horizontally/width) of the page [duplicate]
- Is there a color code for transparent in HTML?
- Is there a color code for transparent in HTML?
- “Stray start tag footer” in html validator?
- Make div scrollable
- HTML Width Percentage
- Text-decoration: none not working
- Bootstrap Dropdown menu is not working
- How to set up fixed width for
? - right align an image using CSS HTML
- css to make bootstrap navbar transparent
- Why are my CSS3 media queries not working on mobile devices?
- How to completely remove borders from HTML table
- Why “Inline-block” doesn’t work properly in this CSS?
- How to fix a footer overlapping content?
- How to center vertically and horizontally a div using Bootstrap?
- How to word wrap text in HTML?
- What’s the HTML to have a horizontal space between two objects?
- How to center HTML5 Videos?
- HTML/CSS float: left; is not working properly
- How to get current screen width in CSS?
- margin-right is not working with my HTML. How can I center my content?
- How to give spacing between buttons using bootstrap
- How can I override Bootstrap CSS styles?
- How to center HTML5 Videos?
- Flushing footer to bottom of the page, twitter bootstrap
- How to change the background-color of jumbrotron?
- vertical divider between two columns in bootstrap
- HTML span align center not working?
- bootstrap 4 row height
- vertical-align with Bootstrap 3
- How to place Text and an Image next to each other in HTML?
- Twitter Bootstrap – add top space between rows
- Table fixed header and scrollable body
- Bootstrap Columns Not Working
- Failed to decode downloaded font
- Center HTML Input Text Field Placeholder
- Display Images Inline via CSS
- Text wrapping around a div
- Why CSS3 Animation is not working?
- Why is my Bootstrap code not working?
- img-responsive in Bootstrap does not work
- Set textarea width to 100% in bootstrap modal
- Using margin / padding to space span tag from the rest of the p tag
- How to expand textarea width to 100% of parent (or how to expand any HTML element to 100% of parent width)?
- How to make canvas responsive
- raw code vs wordpress
- Adding HTML to the Header, Screws up in IE7
- Write text below a specific part of a sentence
- how to setup content on a static frontpage with css and xhtml
- How to create fa-bars animated menu
- create bootstrap columns inside editor group block
- Changing CSS FilePath for All Pages
- WordPress Multiple Navigation bars
- Cannot set property ‘className’ of null at setThemeFromCookie
- Disable File Editing function
- Some Text of website page on Iphone Safari become invisible
- Get post format and use it as a CSS class in different spans
- HTML email sent with wp_mail shows plain text
- Simple way to add custom class and ids to individual Gutenberg blocks
- How to Add a Read-only Textbox With Text in it That Has a Button to Copy it?
- Custom CSS is not working?
- How to integrate Bootstrap Grid System in WordPress
- how to stop the shaking effect on my homepage [closed]
- How to avoid repeating similar properties for all tds of a table in a wordpress post
- prevent HTML output if custom field is empty [closed]
- How to add class to an html output element in tinyMCE paragraph drop down menu
- How to create a WP theme that use BootStrap? [closed]
- WordPress is not displaying CSS file
- Hide Tab Titles from Tabs Block
- WordPress footer always at the bottom of the screen-page
- How to make jquery slider to start afresh [closed]
- Unable to use Datepicker in a table when inserting a row
- HTML not resizing
- how to modify html on homepage (no home-page.php in my theme)
- current menu item hover not working?
- issues with a slider – investigations with firebug
- Css style removed but still showing via CDN even after clearing browser cache and purging all caches for site
- How would I add this code to a single WordPress page?
- Trouble with adding preloader to my home page index.html and index.js
- WP theme update causes child theme CSS problems
- My contact form is not being responsive
- I cannot make this position properly in WordPress [closed]
- change the icon of a custom post type in WordPress to use twitter boostrap
- I need css code to divide my webpage sections into two columns
- Add woocommerce plugin in own theme
- How to make this splash page responsive
- Hiding fields a form in via CSS [closed]
- Can I upload my HTML/CSS/Javascript game onto a WordPress page?
- WordPress site suddenly not showing some DOM elements but mobile is fine
- Grid problem on privew mode
- Editing size of h3 tag in wordpress on a one-off basis