[Resolved] Border Text on Home Page Hero & Centering LOGO and MENUS

Home Forums Support [Resolved] Border Text on Home Page Hero & Centering LOGO and MENUS

Home Forums Support Border Text on Home Page Hero & Centering LOGO and MENUS

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #987618
    Anonymous

    Hi,

    I bought a few days ago GP. It’s a wonderfull theme ๐Ÿ™‚ But I have to problems…

    1. I want to add a border to my text at home hero. Like here: https://ibb.co/jgGGxYQ
    I want to border be responsive. While user access via mobile device it will ie. extend.

    2. I want to center LOGO and make menu items like in the photo here: https://ibb.co/jgGGxYQ 2 on left of LOGO and 2 on the right

    Guys, Thanks from above for help!
    A.

    #987748
    David
    Staff
    Customer Support

    Hi there,

    1. this article explains how to center align logo in navigation:

    https://docs.generatepress.com/article/centering-logo-navigation/

    2. Edit your Header Element and wrap your content in a DIV like so:

    <div class="border-container">
        <h1>My title</h1>
    </div>

    Then you can style it with this CSS:

    .border-container {
        padding: 25px 15px 10px;
        border: 4px solid #fff;
        box-sizing: border-box;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    BTW – i can’t access your Site – can you check the URL you provided if you need us to take a look.

    #987778
    Anonymous

    David, thank you for reply.
    I will check this solution ๐Ÿ™‚

    The address is wateratyard.com should works.

    #987780
    David
    Staff
    Customer Support

    Cool that address works – let us know how you get on.

    #988215
    Anonymous

    David! Thanks, the border works!

    How Can I center-vertically the text inside the box? And the second question is how I can narrower the left and right side of the box. Now I see the width of the border is a container (?) width.

    About header โ€“ I made all things, which are described at docs. Please look belowโ€ฆ. any mistakes which I could do?

    Here is gallery with SS of my backend with all things https://postimg.cc/gallery/2d071uuk4/

    #988624
    David
    Staff
    Customer Support

    For the border container i have edited the CSS here

    For you navigation add this extra CSS rule:

    .main-nav {
        flex: 1;
    }
    #988678
    Anonymous

    Can You tell me at the end what I have to change the distance between LOGO and items – https://postimg.cc/G4XZsR1K

    After this, THANK YOU DAVID! I will recommend this theme to my friends. ๐Ÿ™‚

    #988710
    David
    Staff
    Customer Support

    Give this a go:

    @media (min-width: 769px) {
        .main-navigation ul {
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
    }
    #988741
    Anonymous

    David, Thanks! ๐Ÿ˜‰

    #988791
    David
    Staff
    Customer Support

    You’re welcome

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