Gap between menu and submenu

  • tnknights

    #9315

    I’ve developed a gap between the menu and submenu. Not sure what setting I messed up. Thanks for looking.

    http://www.havilandsville.com

    Mod

    Kenneth John Odle

    #43335

    You installed this plugin:

    which is adding this line of CSS:

    * {
    box-sizing: border-box;
    }

    The “*” is a wildcard selector that applies that style to everything on a webpage. A plugin should never do that. Targeting everything, instead of just the items the plugin affects, is just lazy coding, in my opinion. (I know it’s the plugin author’s attempts to make it mobile, but there really are better ways than this.)

    Moved to Support.

    tnknights

    #43336

    Thank you very much. That was no doubt the issue. I’ll look for a better plugin and contact the author.

    Thanks!!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.