Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Add Button In Sidebar using HTML code with styling

  • ScreenshotHi,

    I want to add a button in the sidebar widget similar to the one in the screenshot below. Also, I don’t know how to style the button using the CSS.

    Please help me.

  • Hi there,

    Why not use a button block in the widget area? Any specific reason to use HTML?

    Let me know 🙂

  • How can I add a button block? I am using classic widget editor.

  • I have added the button block to the sidebar widget. Now, I want to change the button hover color to just like global one and also the button text link color to just like the global button link colors. The problem is that I changed the link colors in the sidebar widgets to blue which I want to keep as it is.

    I only intend to change the color of the sidebar widget button link color and hover color similar to the global buttons style settings.

  • Hi Ram,

    There should be Color option GenerateBlocks Buttons. Reference: https://docs.generateblocks.com/article/colors-overview/

    Can you try changing the color from the Block Settings of the Button?

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