• 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

CSS Button txt varies on pages

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 › CSS Button txt varies on pages

This topic is: resolved

Tagged: button, css, metric

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by spacity.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 22, 2012 at 9:38 pm #1319
    spacity
    Member

    Hi!

    We are building a site using the Metric theme and having an issue.  Does anyone have any ideas why the text color on these CSS buttons would vary on separate pages when the code for each "GO" button is identical?  The two "GO" buttons reside on two separate pages and have different text colors.  Examples:

    http://www.vahomeloanshelp.com/va-home-loans/ (white text on "GO" button)

    http://www.vahomeloanshelp.com (green text on "GO" button)

    Thanks a lot.

    November 23, 2012 at 10:19 am #1366
    SoZo
    Member

    On the home page the color is set by #home-middle a, #home-middle a:visited whereas on the other page it is set by .gobutton2. You could add "!important" after the value in the .gobutton2 rule to force the color.

    I recommend installing the Firebug add on for Firefox or using Chrome's Firebug Lite which will enable you to right click on any element to inspect it and determine the associated style rules or the selectors required to create new style rules.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    November 23, 2012 at 4:06 pm #1414
    spacity
    Member

    It worked, thanks so much!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

© 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