• Hi, i′m styling a theme with a custom admin tool bar on top frontend page, i installed a plugin to remove the tool its worked fine but the theme has a inline style in the html tag with a margin-top so i see a 28px margin empty at top front page:

    html {
        margin-top: 28px !important;
    }
    * html body {
        margin-top: 28px !important;
    }

    i couldnt find the code in theme style.css, so i suspect is inline style, but i can find the code on header.php, footer.php and index.php, where can i find this code that control the main html tag of wordpress front page. Thanks in advance.

    The theme is App themes Vantage beta version.
    Wordpress 3.3.2
    plugin CJ Remove WP Toolbar.

Viewing 1 replies (of 1 total)
  • Thread Starter Victor Rodriguez

    (@victor505)

    Resolved, after thinking a little i use a notepad tool to findout where was that code with html margin-top: 28px !important, the tool did the search on all the wordpress files, it was in wp-includes\admin-bar.php line 674 and 675, my mistake looking intro the custom admin-bar.php theme file.

    This is usefull if after remove the admin tool bar you got a margin top space on your theme, just remove the !important attribute and add a html tag with margin-top: 0px; to your theme style.css

Viewing 1 replies (of 1 total)
  • The topic ‘remove custom inline style from theme with front end admin tool bar’ is closed to new replies.