• Hi. I have two sites set up. One looks correct on the header and footer and for the life of me I can not figure out what is wrong with the header and footer on the other site. It is also messing up my “my account” and “contact us” pages. The site that looks correct is https://www.deunderground.com and the one that I can’t seem to get right is athleteindustries.com
    Any help is greatly appreciated. Thanks

Viewing 1 replies (of 1 total)
  • The difference is that in the athleteindustries.com site, you have a plugin called Ultimate Social Media Icons which has this rule in its stylesheet:

    body {
        margin: 0;
        padding: 0;
    }

    Not sure why the plugin would add such a general rule that doesn’t seem to be needed. It’s overriding a theme rule for the padding on the <body> element. If you want to continue using the plugin, then try adding this to the end of your child theme’s style.css file:

    @media only screen and (min-width: 768px) {
       html body {
        padding: 0 3.631em;
      }
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Trouble with header and footer in the Mystile theme’ is closed to new replies.