How do I change the color of the text?

How can I change the color of a specific text, by the class in css, changes only the color of the icon, how to change the text?

You have to refer directly to the class element, or, if the element to which you want to apply the style (text in our case) has its own class, then directly to it. For example:

<div class="Example">
    <label>I`m a label</label>
    <button>I`m a button</button>
    <a href="#">I`m a link</a>

    <label class="child">I`m a label 2 with class</label>
    <!-- ETC -->
</div>

<style>
    .Example label {
        color: red;
    }
    .Example button {
        color: green;
    }
    .Example a{
        color: blue;
    }
    /* Or like this */
    .Example .child{
        color: black;
    }
</style>

Hi,

Sorry for the inconvenience, but customization is beyond our support scope - it includes fixing bugs and guidance about the available features Support Policy | HivePress

If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work https://fvrr.co/32e7LvY

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.