Archived topic
navigation offset in the left side
7 replies · Started by Sharif on May 31, 2017
Hi,
I have set naviagation logo to static and sticky. In static position all is fine but in sticky position I see a narrow offset in the left side of webpage in desktop view.
you can see it here:
https://quizzes.anis.af/fa/
Regards,
Hi Leo,
To be more obvious I scrolled a little horizonally and took this image. Although it is not obvious as much as you see here.

There is 10px padding apply to the 4 sides of logo.
You can remove the left by this using this CSS:
.main-navigation .navigation-logo img {
padding-left: 0;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Hi Leo,
That is not the solution. This css will omit blue background of Logo but I want to omit extra margin in the navigation left side. I mean the extra margin which is not in blue color.
Hmm I'm not quite sure why you are seeing that margin on the left. Here is what I see: http://www.screencast.com/t/HkwLbAKA
Just to make sure, is your Header Width set to full? https://docs.generatepress.com/article/header-layout/#header-width
If so you the container/background color should extend to the edge of your browser.
Maybe try clearing cache?
Hi Leo,
There were two problems. Surprisingly changing full widht to contained solved extra margin in header and primary navigation but there is also wp show post pro plugin causing extra margin in posts and pages. the latter one is still unresolved because it is related to wp show post pro plugin and not theme.
Are you wanting the show posts content to go right to the edge of the container?
If so change the Content Padding to 0 in Customizer > Layout > Container.