Home Forums General Issues Value color select, have you an function ?


Value color select, have you an function ?

  • Hello,

    thanks you for your great plugin.

    I need color my text when i use the select box in my post.

    (i use visual composer for display the select label)

    Do you have an function for the color on the text label with the value ?

    (exemple: green : Label) (i think)

    Thanks for your help and sorry for my bad english.


  • If you’re still looking for help. Not exactly sure what you’re looking for.

    Do you want to create a field to select a color and then use that color to change a font color?

    Use a Color Picker field. This will allow the selection of a color then.

    $color = get_field('my_color_picker_field');
      <span style="color: <?php echo $color; ?>;">My Text Here</span>
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Value color select, have you an function ?’ is closed to new replies.