• Hi,

    Currently experiencing a new issue, within the last few weeks, with styles being overridden by default WP colours. This seemingly only applies to button styles, whilst the remainder of the site remains untouched.

    The following classes have the following edits forced onto them:

    .wp-block-button .wp-block-button__link

    –wp–preset–color–base: #ffffff;

    –wp–preset–color–contrast: #1f2647;

    –wp–preset–color–primary: #3858e9;

    –wp–preset–color–secondary: #33f078;

    –wp–preset–color–tertiary: #656a71;

    Other presets such as font-size and font-family are also showing on inspect element but are not of concern.

    I’m just looking for a way to remove the forced colours so I can use the desire ones. Is this an issue with the theme I’m using (StartAce)?



    Thank you very much.



    • This topic was modified 4 months, 3 weeks ago by 6ixstring.
    • This topic was modified 4 months, 3 weeks ago by 6ixstring.
    • This topic was modified 4 months, 3 weeks ago by Steven Stern (sterndata). Reason: removed redundant url

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Did you use the theme editor to change the button color?
    Editor > Styles > Colors > Button

    It sounds like local style change is not working?

    A couple of possible solutions:
    (1) You could try getting even more specific by going here:
    Editor > Styles > Blocks > Buttons

    (2) I don’t know the specifics of your theme, but I found the !important declaration assigned to the background color in this link class:

    .wp-block-button__link {
    box-shadow: #422800 4px 4px 0 0 !important;
    color: #FFFAFA !important;
    background-color: #DDAF9C !important;
    border: 2px solid #422800 !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    }


    You could try putting this code into the “Additional CSS” area. Change the colors to whatever you want.
    Editor > Styles > Additional CSS

    • This reply was modified 4 months, 3 weeks ago by askdesign.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.