[Resolved] Button in header

Home Forums Support [Resolved] Button in header

Home Forums Support Button in header

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1032273
    Clinton

    Hi,

    I’m trying to place a call to action button in my header, on the right hand side. When I add the button it moves the logo to the left and off centre. Is there is a way to keep the logo central?

    Please help!

    PS I have removed it for now as I wasn’t happy with the way it looked.

    #1032284
    Leo
    Staff
    Customer Support

    Hi there,

    Can you add the button back in so I can try some CSS?

    Let me know πŸ™‚

    #1032289
    Clinton

    Back in

    #1032293
    Leo
    Staff
    Customer Support

    Try this:

    @media (min-width: 769px) {
        .header-widget {
            float: none;
            position: absolute;
            right: 40px;
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #1032298
    Clinton

    That’s brilliant, works like a charm.

    Thank you very much!

    #1032299
    Clinton

    Resolved

    #1032300
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

    #1268011
    Clinton

    Hey all,

    Leo kindly helped me with some CSS which is perfect.

    I have a follow up that I am hoping you can help me with…

    I don’t want this button to show on mobile devices /small screens

    Any help would be greatly appreciated.

    #1268040
    Leo
    Staff
    Customer Support
    #1269322
    Clinton

    That’s great, got it sorted – thank you for your help.

    #1269338
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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