[resolved] wp_head() Auto read CSS issue (3 posts)

  1. miumax
    Posted 3 years ago #

    I have add wp_head() to head part because it want some plugins. But when I update any part of the blog in wp-admin home page auto read following new css part

    <style type="text/css" media="screen">
    	html { margin-top: 28px !important; }
    	* html body { margin-top: 28px !important; }

    When I delete path cookies it will auto removed.
    Why this happen and how to solve it?

  2. Tammie
    Posted 3 years ago #

    If I understand you correctly you are adding in wp_head as it wasn't in your theme before? wp_head is actually more important than it's often thought and you should always have in your theme.


    Just checking that you have it right before the closing /head


    Now that output looks like coming because you've got the admin bar set to show - if that right?

  3. miumax
    Posted 3 years ago #

    yah that issue come because of the admin bar. I solve it using following in functions.php


Topic Closed

This topic has been closed to new replies.

About this Topic