• 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

Conflicting CSS code

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 › Design Tips and Tricks › Conflicting CSS code

This topic is: resolved
  • This topic has 3 replies, 2 voices, and was last updated 12 years ago by Marco.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 4, 2013 at 6:06 am #39226
    chantal2012
    Member

    I am working on a site http://telephonetraininguk.co.uk/new.  You will see that the homepage has a sign up form but the original "submit" button needs to disappear because I designed this form in Photoshop and have my own submit button.  Using Firebug and clicking on this, this code appears:

    #bbp_reply_submit,
    #bbp_topic_submit,
    input[type="button"],
    input[type="submit"] {
    background-color: #650221;
    color: #fff !important;
    cursor: pointer;
    font-family: century gothic;
    font-size: 12px;
    font-weight: normal;
    padding: 4px 7px 4px;
    text-decoration: none;
    width:136px;
    height:29px;
    }

    I then made the background transparent and added border:none; and effectively got rid of this to expose my other submit button....The only problem is that this code conficts with the "Submit" button on the Contact page...I can't change one without it affecting the other....I've tried everything but can't figure it out!

    May 4, 2013 at 7:18 am #39234
    Marco
    Member

    Css line 1342.
    Should be background-color: transparent; and not background-color: #transparent;


    Neat & Plain – Genesis and WordPress specialist

    May 5, 2013 at 6:55 am #39349
    chantal2012
    Member

    No that is not the issue that I'm having (but I did fix that line thank you for pointing it out).  As it stands, I have a "submit" button on the sign up form (homepage) and another "submit" button on the contact form (Contact page).  If I change the code so make the submit button on the sign up form (to expose the one that I designed), then the submit button on the contact form also disappears.  I've tried to change the code using the specific class for the submit button on the sign up form, but it still affects the button on the contact form.  This is the code that I changed to:

    #bbp_reply_submit.formsubmit, #bbp_topic_submit, input[type="button"], input[type="submit"] {
    background:transparent;
    border:none;
    }

    I can't seem to figure this out at all and this is the last thing that I have to do for this client...Please help!

    May 5, 2013 at 11:23 am #39410
    Marco
    Member

    Ok, first of all there's an error on line 876. The CSS property color #5555555 does not validate. It's #555; or #555555;

    then, I don't see any div called #bbp.

    Let's try this.

    Just Paste this in place of the code you've done:

    /*Buttons*/
    /*------------------------------------------------------------*/
    INPUT[type="button"], INPUT[type="submit"]
    {
    	/*[disabled]background-color:#650221;*/
    	/*[disabled]color:#FFF;*/
    	/*[disabled]cursor:pointer;*/
    	/*[disabled]font-family:"century gothic";*/
    	/*[disabled]font-size:12px;*/
    	/*[disabled]font-weight:normal;*/
    	/*[disabled]padding:4px 7px 4px;*/
    	/*[disabled]text-decoration:none;*/
    	/*[disabled]width:136px;*/
    	/*[disabled]height:29px;*/
    }
    .home .formsubmit INPUT
    {
    	background-color: initial;
    	color: #FFF !important;
    	cursor: pointer;
    	font-family: "century gothic";
    	font-size: 12px;
    	font-weight: normal;
    	padding: 4px 7px 4px;
    	text-decoration: none;
    	width: 136px;
    	height: 29px;
    	margin: 0;
    }
    #bbp_reply_submit, #bbp_topic_submit
    {
    	/*[disabled]background-color:#650221;*/
    	/*[disabled]color:#FFF;*/
    	/*[disabled]cursor:pointer;*/
    	/*[disabled]font-family:"century gothic";*/
    	/*[disabled]font-size:12px;*/
    	/*[disabled]font-weight:normal;*/
    	/*[disabled]padding:4px 7px 4px;*/
    	/*[disabled]text-decoration:none;*/
    	/*[disabled]width:136px;*/
    	/*[disabled]height:29px;*/
    }
    #bbp_reply_submit, #bbp_topic_submit
    {
    	/*[disabled]background-color:#650221;*/
    	/*[disabled]color:#FFF;*/
    	/*[disabled]cursor:pointer;*/
    	/*[disabled]font-family:"century gothic";*/
    	/*[disabled]font-size:12px;*/
    	/*[disabled]font-weight:normal;*/
    	/*[disabled]padding:4px 7px 4px;*/
    	/*[disabled]text-decoration:none;*/
    	/*[disabled]width:136px;*/
    	/*[disabled]height:29px;*/
    }
    #nav .searchsubmit
    {
    	padding: 2px 7px 2px;
    }
    .reply A, .reply A:visited
    {
    	padding: 0 4px;
    }
    #bbp_reply_submit:hover, #bbp_topic_submit:hover
    {
    	background-color: transparent;
    	border: 1px solid transparent;
    	color: #FFF;
    	text-decoration: none;
    	width: 136px;
    	height: 29px;
    }
    INPUT:hover[type="button"], INPUT:hover[type="submit"]
    {
    	background-color: transparent;
    	border: 1px solid transparent;
    	color: #FFF;
    	text-decoration: none;
    	width: 136px;
    	height: 29px;
    }
    

    and in the
    /*Miscellaneous Changes*/
    /*-------------------------------------------------------------*/

    at the very end:

    .wpcf7-form-control.wpcf7-submit
    {
    	background-color: #650221;
    	color: #FFF !important;
    	cursor: pointer;
    	font-family: "century gothic";
    	font-size: 12px;
    	font-weight: normal;
    	padding: 4px 7px 4px;
    	text-decoration: none;
    	width: 136px;
    	height: 29px;
    }
    .wpcf7-form-control.wpcf7-submit:hover
    {
    	background: #4D1070;
    }
    INPUT[type="button"], INPUT[type="submit"]
    {
    	/*[disabled]background-color:transparent;*/
    	/*[disabled]border:none;*/
    }
    #bbp_reply_submit, #bbp_topic_submit
    {
    	background-color: transparent;
    	border: none;
    }
    

    I've commented something.

    Let me know if we're on the right track.


    Neat & Plain – Genesis and WordPress specialist

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2025 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