Site logo

[Resolved] Special Design for Donate Page in Menu

Home Forums Support [Resolved] Special Design for Donate Page in Menu

Home Forums Support Special Design for Donate Page in Menu

  • This topic has 6 replies, 2 voices, and was last updated 3 years ago by Leo.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2571429
    Jordan Levi

    hey, how can i give the ‘Donate’ page option listed in my main menu a special design? i’m thinking of making it pink wiha heart next to it

    #2571478
    Jordan Levi

    i thought about it more and i’ll probably have to make a hook element and throw it in the menu, right? but i could’ve sworn i found a support article about giving menu items a special css class, i just can’t find it again

    #2571503
    Leo
    Staff
    Customer Support

    Hi there,

    Are you referring to the off canvas menu on desktop?

    If so try adding a GB button block with icon in the Off canvas widget area:
    https://docs.generateblocks.com/article/button-overview/
    https://docs.generateblocks.com/article/icon-overview/
    https://docs.generatepress.com/article/off-canvas-panel-overview/#off-canvas-panel-widget-area

    Let me know if this helps 🙂

    #2571647
    Jordan Levi

    ok, so i made a GB button block and it’s on the off canvas menu now, thanks! but the button’s really far down from the rest of the menu. i was trying to add negative spacing in the top margin, but it won’t let me do that for the button or even a container. is there some code i can add to make it closer?

    #2571728
    Leo
    Staff
    Customer Support

    Try this CSS:

    .slideout-navigation .main-nav {
        margin-bottom: 0;
    }

    Learn how to add CSS: https://docs.generatepress.com/article/adding-css/

    #2571745
    Jordan Levi

    hell yeah, it worked, thank you!

    #2572462
    Leo
    Staff
    Customer Support

    No problem 🙂

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