Tagged: font weight, Font-color
-
AuthorPosts
-
July 13, 2018 at 2:36 pm #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..
July 14, 2018 at 8:08 am #985422Hey 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,
RikardJuly 14, 2018 at 10:14 am #985458Hi 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
July 15, 2018 at 6:43 am #985576Hi,
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,
RikardJuly 15, 2018 at 12:02 pm #985633Hi 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
July 15, 2018 at 12:10 pm #985634Solved.. 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
July 15, 2018 at 7:15 pm #985714Hi,
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 -
AuthorPosts
- The topic ‘Various headings/sizes/colors of text in same text block’ is closed to new replies.
