Viewing 15 replies - 1 through 15 (of 23 total)
  • Chris,

    In wp-customer-reviews.css you will see

    #wpcr_respond_1 blockquote.description p { font-size:14px; font-weight:normal; display:inline !important; }

    add your desired font colour in there, for example

    #wpcr_respond_1 blockquote.description p { font-size:14px; COLOR: BLACK; font-weight:normal; display:inline !important; }

    Thread Starter chrislewisdrums

    (@chrislewisdrums)

    That’s fantastic, thankyou. Sorry for the daft questions – I’m pretty new to all this, but is there any easier way to find that part of the code other than reading it all? Just scanned through it quickly but I must have missed it! Going to have another look….

    No worries Chris.

    just go in to the editor, ctrl+f and paste the original code, ie

    #wpcr_respond_1 blockquote.description p { font-size:14px; font-weight:normal; display:inline !important; }

    and enter – you’ll go directly to the code

    Thread Starter chrislewisdrums

    (@chrislewisdrums)

    ok, great, but I just did that and it says phrase not found.

    Thread Starter chrislewisdrums

    (@chrislewisdrums)

    Is it in this part of the code?

    if (!$inside_div) {
    $reviews_content .= ‘</div>’; /* wpcr_respond_1 */
    }

    return array($reviews_content, $total_reviews);
    }

    /* trims text, but does not break up a word */
    function trim_text_to_word($text,$len) {
    if(strlen($text) > $len) {
    $matches = array();
    preg_match(“/^(.{1,$len})[\s]/i”, $text, $matches);
    $text = $matches[0];
    }
    return $text.’… ‘;
    }

    Thread Starter chrislewisdrums

    (@chrislewisdrums)

    sorry, I was being stupid and wasn’t lookin at CSS code. I’ve found it and fixed it now. Thankyou so much for your help, it’s much appreciated!

    Ah, no, you’re in a php file.

    Hover over “plugins” on your left sidebar menu, choose editor. Now over on the right you’ll see a dropdown called “select plugin to edit” – choose wp customer reviews and press select. Now underneath that you’ll see a list of files contained within that plugin – choose the wp-customer-reviews.css, then ctrl+f and paste that code..

    No worries Chris.

    Thread Starter chrislewisdrums

    (@chrislewisdrums)

    One more small problem….the review is now showing up in black which is great. Now it’s still in white as the reviewer is typing in the review. I’m sure I’ll find the line I need to change to black on my own with a bit of experimenting!

    Thread Starter chrislewisdrums

    (@chrislewisdrums)

    Hmmm…still struggling a bit! Ahem… The text as you’re inputing on the form is still white

    Hm, I’ve had a quick look and cant see anything in wp-customer-reviews.css and cant see anything. I think this is probably inherited from your themes css – have a look around in there. Try downloading Firebug for Firefox – it’ll allow you to inspect the css of each page element.

    Thread Starter chrislewisdrums

    (@chrislewisdrums)

    I just tried changing the text colour in my theme, and it didn’t make any difference in the text input area… Does this mean it’s not from my theme? I tried changing all the text colours – everything set to a dark colour so it would show up, but nothing…

    ctrl+f and search for textarea in your themes css file.

    You’ll see a font size etc in there, add color: black;

    I would go with editing your theme’s CSS file over the plugin CSS. This way you don’t lose the CSS when the plugin is updated.

    What is your website URL? Maybe I could take a quick look a paste some CSS here for you.

    Thread Starter chrislewisdrums

    (@chrislewisdrums)

    It’s https://www.chrislewisdrums.co.uk

    I really appreciate all your help with this!

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘[Plugin: WP Customer Reviews] Text colour’ is closed to new replies.