Limited Time Offer | Get 10% OFF on All Themes Package. Use Coupon Code GRC10 Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Font color for section title

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8797
    Daniel
    Participant

    How do I change the font color for a Section title?
    I figured out I can create php code for the body of section and change the font white for a dark background, but it doesn’t change the title color.

    #8805
    Grace Themes
    Member

    Hi,

    You can change the section title color from Basic Settings.

    Please send your website URL and write in details which sections title you want to change, so we can check and assist you quickly.

    Regards
    Grace Themes

    #8821
    Daniel
    Participant

    The website is under construction temporarily located at https://mainword.twinbytes.ca
    I see under basic settings you can change section title color but that affects all sections. I want to change font color for section title and section text for just the one section.
    The example is the section on “Disaster Planning” has a picture background which white text would work better than black text. Ofcourse I can’t use white text on every section because other sections are white backgrounds.
    how can I change just that one section?
    Thanks,
    Daniel

    #8832
    Grace Themes
    Member

    Hi,

    To change the section title and text color of Disaster Planning section to white

    Go to Appearance -> Theme Options -> Basic Settings -> Custom CSS
    add below css code

    #disastersection h2.section_title { color: #ffffff; }
    #disastersection h2.section_title::after { background-color: #fff; }
    #disastersection p { color: #ffffff; }

    Please do this changes and let me know your feedback.

    Regards
    Grace Themes

    #8836
    Daniel
    Participant

    Great, that worked. Thanks. I just need to play with the background and color combination to get something that has the perfect contrast.

    #8838
    Grace Themes
    Member

    You are most Welcome.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.