[Resolved] Add button to header

Home Forums Support [Resolved] Add button to header

Home Forums Support Add button to header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #221073
    Collin

    Hello, I’d like to add a DONATE button to the right of our social icons in the header. Two questions:
    1) Does Generate Press has any default button elements/classes that I can use?
    2) How could I add a custom button to the header, so it sits to the right of the social icons?

    Thanks!

    #221084
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    GP has the button class you can use:

    <a class="button" href="https://generatepress">Button text</a>

    For more styles, you’ll need to add CSS: https://generatepress.com/forums/topic/custom-colors-for-buttons/#post-143266

    If you’re using a widget to display your social icons, you can add this CSS to make your header widgets show up next to each other: https://generatepress.com/forums/topic/header-widgets-aligned-horizontally/#post-219837

    Hope this helps ๐Ÿ™‚

    #221132
    Collin

    Dam you’re good. Thanks so much!

    #221213
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

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