• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Button Color

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Button Color

This topic is: not resolved

Tagged: color, css, submit button

  • This topic has 23 replies, 3 voices, and was last updated 9 years, 2 months ago by nutsandbolts.
Viewing 4 posts - 21 through 24 (of 24 total)
← 1 2
  • Author
    Posts
  • November 26, 2013 at 8:55 am #75694
    miki dedijer
    Member

    I bet you look at a lot of websites and mixing them up sometimes must be inevitable. No problem. I'm happy for any support you're willing to offer.

    November 26, 2013 at 9:07 am #75698
    nutsandbolts
    Member

    Okay, using this forced the Enews button to be black:

    .enews-widget input[type="submit"] {
    	background: #000 !important;
    }

    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 26, 2013 at 12:02 pm #75723
    miki dedijer
    Member

    It works!

    .enews-widget input[type="submit"] {
    background: #6F1E32 !important;
    }

    .enews input:hover[type="submit"] {
    background: #80535F !important;

    Is there a similar command with !important that I could use to change the border around the submit button too?

    November 26, 2013 at 1:25 pm #75727
    nutsandbolts
    Member

    Yep, just add to that first rule up there:

    border: 3px solid #444 !important; or whatever you need. It's not the very best practice CSS-wise, but it doesn't hurt anything and sometimes it's necessary if your rules are being overridden.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

  • Author
    Posts
Viewing 4 posts - 21 through 24 (of 24 total)
← 1 2
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble