Site logo

Archived topic

Header width decreases on certain page

3 replies · Started by Kevin on April 4, 2020

Viewing posts 1–4 of 4

Hi there,

I am having an issue where my header loses 40px on each side above 769px, making is narrower and not aligning with page content, footer ,etc. I have tried and tried but can not figure out what is happening. Are you able to help?

You can see the symptom by jumping from page to page in the nav menu.

It turned out to be an issue with WP Portfolio plugin which was using this CSS

*,
:before,
:after {
  box-sizing: border-box;
}

Setting the CSS to

box-sizing: content-box;

resolved my issue.

Glad you've figured out :)

This archived topic is closed to new replies.