[Resolved] Adding active state to button

Home Forums Support [Resolved] Adding active state to button

Home Forums Support Adding active state to button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1674201
    Eric

    I’d like to use a set of GenerateBlocks buttons as a sort of subnav menu for a few pages. When adding this as a block element, I don’t see any easy way to assign or style the active state for a button (e.g., when the block is viewed on Page 1, the Page 1 button should have active state and styling). Is there an easy way to do this with GP or do I need to just add some custom javascript to make it happen? Thanks in advance.

    #1674445
    Leo
    Staff
    Customer Support

    Hi Eric,

    Unfortunately the buttons block from GB is not meant for something like that.

    I believe javascript is the only solution.

    #1674448
    Eric

    I thought that might be the case. Thanks!

    #1674455
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.