BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › Change font color in a text block
- This topic has 7 replies, 2 contibutors, and was last updated 8 years, 7 months ago by Anve S..
Question
April 12, 2016 at 12:00 pm #67837@angelxieWhat code can I add to change the font color to #ffffff for certain text blocks on a page?
Answers
April 13, 2016 at 1:34 am #67895@anveHi @angelxie,
You can use the following code , apply in child theme’s custom css.
.class-name {
color : #fff;
}Regards
AnveApril 15, 2016 at 12:35 pm #68472@angelxieThanks 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!
April 15, 2016 at 12:59 pm #68480@anveHi @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
AnveApril 15, 2016 at 3:33 pm #68505@angelxieGreat. 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!
April 16, 2016 at 12:16 am #68532@anveHi @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
AnveApril 16, 2016 at 9:23 pm #68630@angelxieThis works! Thank you!
April 18, 2016 at 1:25 am #68703
- The question ‘Change font color in a text block’ is closed to new replies.