Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi Sneed,

    The darkness of the text is controlled by the theme you are using. Do you have a link to a working example so I can supply some CSS specific to your site?

    Thanks,
    Evan

    Thread Starter sneed

    (@sneed)

    Plugin Author Evan Herman

    (@eherman24)

    To globally set things within the Woocommerce product tabs to #000 in color, you can use the following snippet. You’ll want to add this to your child themes style.css file:

    .woocommerce-tabs .entry-content {
      color: #000000;
    }

    That will target any and all woo commerce tab content, including future custom products and tabs that you create on the site.

    Evan

    Thread Starter sneed

    (@sneed)

    I added that code to my BASE-WP child theme style.css file but it had no effect. I haven’t removed the code yet. Here’s what the page looks like:
    /*
    Theme Name: base-wp child theme
    Theme URI: https://moonlightmattress.com/ -not important
    Description: base-wp child theme-not important
    Author: Stephen Cavaseno-not important
    Author URI: https://moonlightmattress.com/ -not important
    Template: base-wp
    Version: 1.0-not important
    */

    woocommerce-tabs .entry-content {
    color: #000000;
    }

    Thread Starter sneed

    (@sneed)

    Oops! It did work. I left out the first “period” before “woocommerce”. The text is noticeably darker, but for some reason it won’t turn black.

    Plugin Author Evan Herman

    (@eherman24)

    Hi,

    I’m not sure what your seeing on your screen but on mine the text does indeed appear black. #000000 is black in hex, and the opacity of the text is 1. Another thing that could slightly affect the appearance of text is the font weight, but again on my end everything appears black.

    Evan

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Text Color’ is closed to new replies.