Return to Support

Gap between menu and submenu

Home Forums Graphene WordPress theme Support Gap between menu and submenu

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9315
    tnknights
    Member

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

    http://www.havilandsville.com

    #43335

    You installed this plugin:

    Content Views – Post Grid & List for WordPress

    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.

    #43336
    tnknights
    Member

    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.