Title: Changing text colour of one section
Last modified: February 22, 2021

---

# Changing text colour of one section

 *  Resolved [JenniferCross](https://wordpress.org/support/users/jennifercross/)
 * (@jennifercross)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/)
 * Hi Kharis and Roman,
 * I would like to change to colour of the text in the ‘In the Press’ section on
   the home page. You will see that I have managed to change the background colour
   to pink, and I would like to change the text and button text to #fff.
 * Please note I don’t want to change the text colour of the Blog section above.
 * I look forward to hearing from you.
 * Many thanks,
    Jen
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchanging-text-colour-of-one-section%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14087032)
 * Hi Jen,
 * Firstly you’ll need to add a custom class name to your widget from **Widget Class**
   option under the **Widget Styles** on the widget’s settings. For example: my-
   posts-row
 * [https://drive.google.com/file/d/1HaymY4AkMBxdXKVlbgwPFeBkJJKUWXp2/view?usp=sharing](https://drive.google.com/file/d/1HaymY4AkMBxdXKVlbgwPFeBkJJKUWXp2/view?usp=sharing)
 * Update page. Then add this CSS code to **Appearance** > **Customize** > **Additional
   CSS**.
 *     ```
       .my-posts-row .latest-news-area .entry-summary, .my-posts-row .latest-news-area .widget-title, .my-posts-row .latest-news-area .entry-title a {
          color: #fff;
       }
       ```
   
 * I hope this reply helps.
 * Regards,
    Kharis
 *  Thread Starter [JenniferCross](https://wordpress.org/support/users/jennifercross/)
 * (@jennifercross)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14088861)
 * Hi Kharis,
 * Thanks for getting back to me. I’ve given this a go but it hasn’t worked unfortunately.
   Are you able to see what I am doing wrong?
 * Many thanks,
    Jen
 *  Thread Starter [JenniferCross](https://wordpress.org/support/users/jennifercross/)
 * (@jennifercross)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14101449)
 * Hi Kharis,
 * Just wondering whether you are able to shed any light on this, as I’m still struggling
   to change the colour?
 * Thanks so much,
    Jen
 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14108550)
 * Hi Jen,
 * Seems likely you haven’t yet added a custom CSS class to the respected widget.
   Or, do you problem with it?
 * [https://siteorigin.com/thread/how-to-add-classes-to-widget-class-in-the-page-builder-and-how-to-add-styles-to-that-widget-class-pls-explain-with-an-example-nothing-seems-to-work-that-i-added/](https://siteorigin.com/thread/how-to-add-classes-to-widget-class-in-the-page-builder-and-how-to-add-styles-to-that-widget-class-pls-explain-with-an-example-nothing-seems-to-work-that-i-added/)
 * Regards,
    Kharis
 *  Thread Starter [JenniferCross](https://wordpress.org/support/users/jennifercross/)
 * (@jennifercross)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14134691)
 * Thank you Kharis, I understand now and it is working. Please could we make the
   box and text saying ‘See all articles’ white within this section as well?
 * Thanks so much,
    Jen
 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14137007)
 * You’re welcome Jen!
 * > Please could we make the box and text saying ‘See all articles’ white within
   > this section as well?
 * Try adding this CSS code to your website’s **Additional CSS**.
 *     ```
       .my-posts-row a.all-news {
         background-color: #fff;
         border-color: #fff;
       }
       ```
   
 * Regards,
    Kharis
 *  Thread Starter [JenniferCross](https://wordpress.org/support/users/jennifercross/)
 * (@jennifercross)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14138074)
 * Thank you Kharis.
 * With regard to the button, could we make the background to the button #a3195b,
   the border #fff and the text in the button #fff, to match the button on the Meet
   the Client section?
 * Thanks,
    Jen
 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14144881)
 * Sure, Jen!
 * Try this code:
 *     ```
       .my-posts-row a.all-news {
         background-color: #a3195b;
         border-color: #fff;
         color: #fff;
       }
   
       .my-posts-row a.all-news:hover {
         background-color: #fff;
         color: #a3195b;
       }
       ```
   
 * Regards,
    Kharis
 *  Thread Starter [JenniferCross](https://wordpress.org/support/users/jennifercross/)
 * (@jennifercross)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14148759)
 * Thanks Kharis, that’s done it.
 * Thanks very much.
 * Jen
 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14148848)
 * You’re welcome, Jen!
 * Please let us know in a new topic if you have any further questions, or if we
   can provide you with any other assistance.
 * Regards,
    Kharis

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

The topic ‘Changing text colour of one section’ is closed to new replies.

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

 * 10 replies
 * 2 participants
 * Last reply from: [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/changing-text-colour-of-one-section/#post-14148848)
 * Status: resolved