WordPress.org

Forums

GamePress
How to change button colours?? (11 posts)

  1. Glenn83
    Member
    Posted 2 years ago #

    Hi!

    Is it possible to change the button colours to yellow? I've tried to change orange/yellow by html colour codes, but it won't work.

    Can somebody please help me?

    Great theme btw! :-)

  2. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    Try this CSS;

    .button, input[type="submit"] {
     background: yellow;
    }
  3. Glenn83
    Member
    Posted 2 years ago #

    didn't work :-(

  4. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    Whereabouts did you add it?

  5. Glenn83
    Member
    Posted 2 years ago #

    /* Buttons */

    .button, input[type="submit"] {
    color: #FFFFFF;

    Replaced #FFFFFF with yellow. Not correct? :-)

  6. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    Hmmm... Yes, not correct ;)

    We ought to be making changes externally, so we don't lose our changes when the theme updates or end up compromising the theme.

    Try the Jetpack plugin and use its Custom CSS section of the dashboard to hold this CSS;

    .button, input[type="submit"] {
     background: yellow;
    }
  7. Glenn83
    Member
    Posted 2 years ago #

    Not sure what to do, just a beginner :-/ :-p

    Tried the Jetpack plugin, but got an error when connecting to wordpress.com - said I had to connect it up before going further...

    Argh, I'm lost! :-(

  8. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    Instead of that Jetpack plugin, try this Custom CSS Manager plugin
    http://wordpress.org/extend/plugins/custom-css-manager-plugin/

  9. Glenn83
    Member
    Posted 2 years ago #

    Installed, and now I just type in the codes you mentioned in the Custom CSS Manager and then "Save changes"?

  10. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    Yes, that sounds about right.
    It should shove the code in the <head> section of the pages.

  11. Glenn83
    Member
    Posted 2 years ago #

    Nope, didn't work this :-(

    I give up, thanks for helping Andrew!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags