BuddyBoss Home – Web Support Forums Themes OneSocial theme Change font color in a text block

Viewing 8 posts - 1 through 8 (of 8 total)
  • Question

    #67837
    @angelxie

    What code can I add to change the font color to #ffffff for certain text blocks on a page?

    Answers

    #67895
    @anve

    Hi @angelxie,

    You can use the following code , apply in child theme’s custom css.

    .class-name {
    color : #fff;
    }

    Regards
    Anve

    #68472
    @angelxie

    Thanks but I’m not sure if this is working for me. I need certain text blocks to have white fonts, and the others to have black fonts. Is there specific code I can implement within individual text blocks to achieve that? Thanks!

    The Movement

    #68480
    @anve

    Hi @angelxie,

    Please provide the url of the page , and specify which text block you need to change the color of . I’ll provide you the corresponding css for it. .

    Regards
    Anve

    #68505
    @angelxie

    Great. Here is the page: http://www.rocksavvy.com/movement

    Scroll down to “Reason #2″. I’m trying to change the following text to white:”After gaining control of the diamond supply…destroyed 1,500 years of Shinto tradition.”

    You will also notice within this body text, the two links are the same color as the background. Is there anyway you can work in the code to make the fonts in those two links black? The text for the links are ” “The larger and finer the diamond is, the greater your expression of love will be” in the first paragraph, and ” increased from 5% to 60%” in the last paragraph.

    Thank you so much!

    #68532
    @anve

    Hi @angelxie,

    Please try adding following css in child theme custom css option.

    
    .page-id-60 .vc_custom_1460408130948 .wpb_content_element .wpb_wrapper p {
      color: #fff;
    }
    .page-id-60 .vc_custom_1460408130948 .wpb_content_element .wpb_wrapper a {
      color: #000;
    }
    

    Regards
    Anve

    #68630
    @angelxie

    This works! Thank you!

    #68703
    @anve

    Hi @angelxie,

    Great 🙂 , i’ll close this topic now , you can create a new topic for any other questions.

    Regrads
    Anve

Viewing 8 posts - 1 through 8 (of 8 total)
  • The question ‘Change font color in a text block’ is closed to new replies.