Theme 'Minimal' is adding unwanted styling at wp_head, can't figure out how... (5 posts)

  1. Shaun Scovil
    Posted 5 years ago #

    Hey gang,

    I'm using a modified version of the Minimal theme by http://rizzlestudios.ath.cx/ (site is down) and some crazy how it is adding unwanted style tags at the wp_head() hook on a fresh install with no plugins installed and nothing in the functions.php!

    This is what's showing up in my header, just before the closing head tag:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Can someone please restore my sanity by explaining to me how on earth this is happening??

    Here is one of the development sites I'm working on, with a fresh install of this theme, in case you need to check it out:


  2. Probably coming from WordPress itself.

    Certain script/link/meta tags are inserted by WordPress. For example, if the Admin Bar is set to display, the appropriate styles and scripts are added. Since it's a core feature, it appears on brand new fresh installs.

  3. Shaun Scovil
    Posted 5 years ago #

    @trepmal: Thanks for the response. That would make sense, except that one of the unwanted lines actually disables the admin bar -- and I'm pretty sure that is enabled by default in WP. If I switch to TwentyTen it's there...

    So here's a pastebin link to the unwanted HTML I'm getting at wp_head, which was modded out of the post above:


    Any other place this could be coming from on a fresh install?

  4. I'm assuming you've already double-checked that nothing is unnecessarily hard-coded into header.php?

  5. Shaun Scovil
    Posted 5 years ago #

    Yep. I went through and deleted lines one at a time, just to see if this was the unexpected byproduct of something else...ended up just hard-coding the reverse of one style tag to get rid of the top margin.

Topic Closed

This topic has been closed to new replies.

About this Topic