• Resolved sabbathpuzzle

    (@sabbathpuzzle)


    I don’t know why I am not understanding the changing the styles but let’s try again with something very simple. If I want to make the words “Tomorrow will be cloudy” in the Section Break field, what do I do with the #FFFFFF00? Do I put something like <Font color=#FFFFFF00>Tomorrow will be cloudy</font> in the part that has the Add CSS Layout Keywords at the bottom of the Section Break?

    And for bolding the same thing, do I put the following in the same location?
    <font color=#FFFFF00>Tomorrow will be cloudy</font>
    It is this type of the html that I have been placing directly into the boxes and it has been working. But as you said, the updated version of the plugin would not support that, so I have to get the styles done they way you would like me to do them.

    Do I do the same thing, using your codes (which are different from html) and placing them in the bottom box entitled “Add CSS Layout Keywords”?, while I have the words “Tomorrow will be cloudy” in the Section Break section?

    Thanks

    https://wordpress.org/plugins/calculated-fields-form/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    You’ve two ways to do it:

    – First option, enter in the attribute: “Field Label” the HTML tag:

    <font color="#FFFF00">Tomorrow will be cloudy</font>

    – Second option, enter in the “Field Label” attribute, only the text: Tomorrow will be cloudy

    Assign a classname to the field through the attribute: “Add Css Layout Keywords”, for example: my-section-break

    and finally, includes the class definition in any of the css files used by your website:

    .my-section-break label{ color:#FFFF00 !important; }

    The advantage of second option is that you can use the new class in other fields.

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Changing styles’ is closed to new replies.