• Resolved rzharding

    (@rzharding)


    Greetings Vova

    I have defined two highlight Colors – “Highlight One” and “Highlight Two“. I cannot change “Color” of the text to the desired value.

    Shortcode title: Highlight Two
    Shortcode description: Highlights text – color formatted as #rrggbb
    Shortcode tag name: highlight_two
    Default content: Default content

    Attribute 1
    Field label: Background color
    Attribute name: background_color
    Field type: text
    Default value: #3cb371 [green]
    Description: Background color

    Attribute 2
    Field label: Color
    Attribute name: color
    Field type: text
    Default value: #ffff00 [yellow]
    Description: Color

    When I insert a new “Highlight Two” shortcode, the preview shows the “Color” as yellow which changes to cyan after a few seconds.

    When I view the page, the text is black with the background green.

    Richard

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rzharding

    (@rzharding)

    The field type for Attribute 1 should be “Color”. It has been defined correctly in the shortcode.

    Thread Starter rzharding

    (@rzharding)

    I will start again – I will be more careful this time.

    I have defined two highlight Colors – “Highlight One” and “Highlight Two”. I cannot change “Color” of the text to the desired value.

    Shortcode title: Highlight Two
    Shortcode description: Highlights text – color formatted as #rrggbb
    Shortcode tag name: highlight_two
    Default content: Default content

    Attribute 1
    Field label: Background color
    Attribute name: background_color
    Field type: color
    Default value: #3cb371 [green]
    Description: Background color

    Attribute 2
    Field label: Color
    Attribute name: color
    Field type: color
    Default value: #ffff00 [yellow]
    Description: Color

    When I insert a new “Highlight Two” shortcode, the preview shows the “Color” as yellow which changes to cyan after a few seconds.

    When I view the page, the text is black with the background green.

    Richard

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Highlight Color – Cannot Edit Color’ is closed to new replies.