[Support request] Button colours not working

Home Forums Support Button colours not working

  • This topic has 7 replies, 2 voices, and was last updated 3 months ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1335145
    Ian

    Hello
    I am having some issues with buttons in the widgets.
    They do not have the same colours as the rest of the buttons in the site .
    The text colour is simply doing its own thing.
    I have tried changing “class” and CSS but it still persists.
    I had this issue before for a button in the top bar and was given a small piece of code that solved the issue.
    However I don’t know how to rewrite it so it also works for buttons in the widgets.
    Thank you again for your help
    Ian

    #1335532
    Leo
    Staff
    Customer Support

    Hi there,

    Which button should I be looking at?

    #1335634
    Ian

    It’s the buttons in the widgets on any of the archives or posts.
    Thank you
    Ian

    #1335787
    Leo
    Staff
    Customer Support

    Can you try setting the Link color in Customizer > Colors > Sidebar Widgets to #fff?

    #1336235
    Ian

    Hi
    That worked great, but changed the in text link as well.
    I think I can work around that though, so all great, thank you.
    Please can I ask whilst I am here…
    Is it possible to remove the padding around the images in the archive pages?
    I know I can do this with the container setting, however I like the way it looks having the separate boxes.
    Just not the padding around the top, left and right of the images in the archives.
    Thank you
    Ian

    #1336596
    Leo
    Staff
    Customer Support

    That worked great, but changed the in text link as well.
    I think I can work around that though, so all great, thank you.

    That case you’d need to add a custom class to the buttons in the sidebar so we can target separately.

    Let me know if you need help with it.

    Can you open a new topic for the separate question?

    Thanks 🙂

    #1339779
    Ian

    Thats fantastic thank you.
    I have tried adding a custom class following the instructions on the page (https://docs.generatepress.com/article/adding-buttons/) but for some reason it still didn’t work…
    With the button in the top bar (which had the same issue, this seemed to make it work properly….
    /* Top Bar Button */
    .secondary-navigation .top-bar a:hover,
    .secondary-navigation .top-bar a:focus {
    color: white;
    }
    Anyway, any help would be fantastic.
    Thanks again
    Ian

    #1340459
    Leo
    Staff
    Customer Support

    Looks like it’s all working?

    What’s the current issue?

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