• What if I want to change not the color of the whole text theme but only of few words in the sidebar theme. I have added a text to the sidebar.php theme and I want to change the color of this text only. The rest can stay gray as it is in the original. Wht should I do ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • span – that’s the keyword.
    https://www.w3schools.com/TAGS/tag_span.asp

    Well say you have a div with the id of sidebar, and the text you added is wrapped with an H2 tag.

    example:

    <div id="sidebar">
    <h2>text you added</h2>
    </div>

    In your CSS file you can put:

    #sidebar h2 {color: #000000;}

    This would change the H2 in your sidebar to the color black.

    hope that helps, you could read some CSS tutorials, etc and figure it out fairly easy as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme TEXT – COLOR change, in some places only ?’ is closed to new replies.