[Resolved] Button colour overridden by sidebar colour

Home Forums Support [Resolved] Button colour overridden by sidebar colour

Home Forums Support Button colour overridden by sidebar colour

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #942403
    Adam

    Just switched to your theme and encountered a small problem.

    I have a button I created that activates a mailerlite popup subscription form. I have the popup working correctly, but the colours of the sidebar overwrite my button colours.
    I have blue text links for posts in the sidebar and a blue button with text set to white in the sidebar.

    The blue text link colour seems to overwrite my button text, so I have a blue button with invisible blue text.
    What CSS do I need to set the button text white important? I tried, but can’t nail it.

    Button can be seen on the bottom of my sidebar.

    #942405
    Leo
    Staff
    Customer Support

    Hi there,

    Try adding this CSS:

    .sidebar .widget a.button {
        color: #fff;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps ๐Ÿ™‚

    #942406
    Adam

    Damn Leo! That was fast!

    Worked a treat. Text is white. I was using the wrong target name it seems. (Still new with this CSS business)

    Cheers Leo!

    #942418
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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