Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #985173

    Hi all.. I need to have some text in several different colors in the same text block.. I’ve found this topic
    https://kriesi.at/support/topic/various-headingssizescolors-of-text-in-same-text-block/
    and followed the instructions but nothing happens, Enfold is version is 4.4.1 with Enfold child..
    What’s wrong..?

    Thank You very much..

    #985422

    Hey newmediologo,

    You can write your own markup, like this for instance:

    <span style="color:red;">This text is red </span><span style="color:blue;">and this text is blue.</span>

    Please try that out.

    Best regards,
    Rikard

    #985458

    Hi Rikard.. Thank You for the answer..
    This Tag works in the editor but not on the page, i think that the general style settings overwrite it.. Page is build with Avia Editor..

    I’ve try to use
    <span class="your_unique_class_name">your text</span>

    With in the CSS:

    ,your_unique_class_name{
    color: red !important;
    font-weight: bold !important;
    }

    but it does not works.. Any ideas..? It is really important..

    Thanks

    #985576

    Hi,

    You target classes with a dot, not a comma. Please try this instead:

    .your_unique_class_name{
      color: red !important;
      font-weight: bold !important;
    }

    Best regards,
    Rikard

    #985633

    Hi Rikard, comma is a a mistake in the post..

    I use this code in the text:
    <span class="sentiero_marrone"><strong>Sentiero marrone</strong></span>

    And this in the CSS:

    .sentiero_marrone{
    color: red !important;
    font-weight: bold !important;
    }

    but nothing happens.. What’s wrong..?

    Thanks

    #985634

    Solved.. Is the tag <strong> that cause the inactivity.. Enfold applies the default color settings in the General Style.. Removing the tag the color changes..:)

    Thanks

    #985714

    Hi,
    Thank you for sharing your solution, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Various headings/sizes/colors of text in same text block’ is closed to new replies.