Title: Shortcode Color
Last modified: June 13, 2021

---

# Shortcode Color

 *  [kalebweeter14](https://wordpress.org/support/users/kalebweeter14/)
 * (@kalebweeter14)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/shortcode-color/)
 * I would like to change the color of 2 shortcodes. I plan to change the background
   color of my site to black and so the text in the shortcodes need to be white.
 * The first shortcode is the contact forum on my contact page. I do not know how
   to change the text to white text.
 * The second shortcode is on the page I linked to. Not only would I like the text
   to be white, but also the box where you input your response needs to be black.
   It does not change with the site’s color. It stays white no matter what.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-color%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/shortcode-color/#post-14552500)
 * Hello,
 * Visited the shared URL but not getting the black background.
 * 1. For the contact form, ​please try to add the below CSS code from the Appearance
   > Customize > Custom CSS, and check.
 *     ```
       div#wpcf7-f175-p69-o1 {
           color: #fff;
       }
       form input[type="text"], form input[type="email"], form input[type="url"], form textarea {
           color: #fff;
       }
       ```
   
 * 2. Kindly shared a snapshot with the marked sections which need to convert in
   white.
 *  Thread Starter [kalebweeter14](https://wordpress.org/support/users/kalebweeter14/)
 * (@kalebweeter14)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/shortcode-color/#post-14552516)
 * I have not changed it yet. The text boxes are what need to be black. When the
   background changes the inside of the text boxes remain white
 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/shortcode-color/#post-14552537)
 * Hello,
 * If possible kindly replicate the issue, so I will try to inspect it and able 
   to give you the solution accordingly.
 *  Thread Starter [kalebweeter14](https://wordpress.org/support/users/kalebweeter14/)
 * (@kalebweeter14)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/shortcode-color/#post-14552764)
 * [https://straightforwardpiano.com/courses/test/](https://straightforwardpiano.com/courses/test/)
 * Here is the issue replicated
 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/shortcode-color/#post-14566535)
 * Hello,
 * I apologize for teh delay.
 * ​Please try to add the below CSS code from the Appearance > Customize > Custom
   CSS, and check.
 *     ```
       textarea.mlw_answer_open_text, textarea.mlw_answer_open_text.mlwRequiredText {
           background-color: black !important;
           color: white;
       }
       ```
   
 * If you are facing issues in other sections too, please share the snapshots of
   those.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Shortcode Color’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.6/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/shortcode-color/#post-14566535)
 * Status: not resolved