[Resolved] nav-button

Home Forums Support [Resolved] nav-button

Home Forums Support nav-button

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1098855
    newmedianewpeople.com

    Hello

    I use this css on the “blog” button of my site.


    @media
    (min-width:769px) {
    .main-navigation .main-nav ul li.nav-button a {
    background-color: transparent;
    border-radius: 6px;
    border: 1px solid #000000;
    color: #000000;
    line-height: 83px;
    }
    }

    I would like the frame to be lower and closer to the text

    Thank you

    My site https://pediatrarisponde.it/

    #1098987
    Leo
    Staff
    Customer Support

    Hi there,

    Looking at your current layout, I would recommend using this option:
    https://docs.generatepress.com/article/navigation-as-a-header/

    Then you can adjust the line-height: 83px; in your CSS.

    Let me know if this helps ๐Ÿ™‚

    #1098998
    newmedianewpeople.com

    if I adjust the height the navigation is not centered on the logo. I would just like to reduce the height of the box

    #1098999
    Leo
    Staff
    Customer Support

    Have you activate the navigation as a header option before making the adjustment to the CSS?

    #1099000
    newmedianewpeople.com

    now it’s set at 40 see what happens?

    #1099005
    Leo
    Staff
    Customer Support

    Yup the navigation as a header option is still not activated:
    https://docs.generatepress.com/article/navigation-as-a-header/

    #1099007
    newmedianewpeople.com

    now it is activated but the transparent background has disappeared

    #1099010
    Leo
    Staff
    Customer Support

    You can change the navigation background color specific for that header element:
    https://docs.generatepress.com/article/header-element-overview/#navigation-colors

    #1099012
    newmedianewpeople.com

    Ok Thank you

    #1099014
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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