• Resolved rphrus

    (@rphrus)


    Hi,

    I created a couple of fields in a div. How do you code the div to have a background color ie blue so that the fields contained within the div will have a blue background?

    Thank you.

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

    (@codepeople)

    Hi,

    You simply should assign a custom class name to the DIV field. For example: my-container

    Note: The class names are assigned to the fields through the attribute: “Add Css Layout Keywords”

    And then, insert a “HTML Content” field, with the style definition as its content, as follows:

    <style>#fbuilder .my-container{background:#00BFFF !important;}</style>

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘div background color’ is closed to new replies.