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.

Off-Canvas Menu Button Link

  • conversioncopy

    I have an issue with customizing the text color of an off-canvas button link. The button is a custom element with dark blue text on a yellow background. It displays correctly in my Elements. When I hook the button to the off-canvas menu, the text’s initial color changes to white, and the hover changes to that dark blue. When I remove the link from the button, the text changes to the correct dark blue color. I’ve looked through all customizer settings and can’t find anything that would cause this behavior. The button is identical to the one in the top navbar of the desktop menu. That one displays all colors correctly. What am I doing wrong? Thanks 🙂

  • Hi there,

    You are doing it correctly, the reason that the color isn’t working is that the CSS from GP premium has higher priority and it can not be overridden by GB’s buttons style.

    You will need to add this CSS:

    .slideout-navigation a.gb-button-20b9d9d8 {
        color: var(--base-2);
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.