Site logo

[Support request] navigation offset in the left side

Home Forums Support [Support request] navigation offset in the left side

Home Forums Support navigation offset in the left side

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #326890
    Sharif

    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,

    #326897
    Leo
    Staff
    Customer Support

    Hi there,

    Not sure if I see the problem? http://www.screencast.com/t/ddsteJa30H

    Let me know

    #326900
    Sharif

    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.
    offset

    #326907
    Leo
    Staff
    Customer Support

    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/

    #328830
    Sharif

    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.

    #328837
    Leo
    Staff
    Customer Support

    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?

    #328851
    Sharif

    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.

    #328866
    Leo
    Staff
    Customer Support

    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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.