• 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

WooCommerce css changes

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 › WooCommerce css changes

This topic is: resolved

Tagged: WooCommerce css

  • This topic has 4 replies, 2 voices, and was last updated 6 years ago by candacegodwin.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 11, 2017 at 2:02 pm #211322
    candacegodwin
    Participant

    Hi,

    I'm fairly new at customizing css, but have been successful to this point. I am working with the Jessica Pro Theme with WooCommerce fully installed. I've made several changes to the css, but am stumped by not being able to find the css to change the color of the text for "In Stock."

    When I inspect with Google, I am able to see the code and the hex color - however, when I try to find this in the css editor, it's nowhere to be found.

    Below is the code. I've even searched the css for the color #77a464 and that color doesn't come up in the search of the entire style sheet. Where is this code residing? Is there a separate woocommerce css editor?

    Any insight or shove in the right direction would be greatly appreciated!

    element.style {
    }
    woocommerce.css?ver=3.1.2:1
    .woocommerce div.product p.stock {
    font-size: .92em;
    }
    woocommerce.css?ver=3.1.2:1
    .woocommerce div.product .stock {
    color: #77a464;

    https://livingearthnaturals.com
    September 11, 2017 at 2:33 pm #211324
    Erika
    Participant

    Hi Candace,

    Put that code somewhere inside your CSS where you can easily find it and make the changes you want. Then, follow up the changes with an !important designation, like so:

    .woocommerce div.product .stock {
    color: #fff !important;
    }

    Change the hex value accordingly. Let me know if this helps!

    September 11, 2017 at 3:36 pm #211330
    candacegodwin
    Participant

    Thank you! It worked like a charm. Appreciate your quick response. Still confused as to why this code appears "hidden" but adding it to the css worked. So much more to learn and understand! Thank you again for your help. Candace

    September 12, 2017 at 6:41 am #211350
    Erika
    Participant

    You can find the original code in the Woocommerce plugin in files, but doing it this way allows for easy access and editing 🙂

    September 12, 2017 at 11:20 am #211363
    candacegodwin
    Participant

    Thank you! I really appreciated your help and follow up. Best to you, Candace

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