Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #358206

    Hi,

    In the theme settings, general styling tab, I want to set the primary colors to hex F18700. The theme doesn’t accept this color and changes it to F18900. Not much of a difference but not the color the designer and customer delivered.

    Tested this on 2 different Enfold setups and both have the same problem. Bug?

    Cheers,
    Jaap

    #358527

    Hi Jaap!

    Yes I notice it too. Perhaps it’s not a valid color code. If you try to change the numbers around you’ll see it automatically snaps to certain areas. What program are you using to get that color?

    Cheers!
    Elliott

    #358596

    Hi Elliot,

    It’s a valid code, got it from the designer and can also select it in Photoshop. Strange thing is the problem is only in the theme settings. I can pick the code in any of the Avia modules. :-/

    Cheers,
    Jaap

    #359305
    #365931

    Hi Josue,

    Thanks, it worked. Any idea how to implement this in child theme setup. Creating the same path to the js file in child theme didn’t do the trick.

    Cheers,
    Jaap

    #366014

    Hi!

    Please add following code to Functions.php file of your Child theme

    function wp_change_avia_colorpickerjs() {
       wp_dequeue_script( 'avia-default' );
       wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/js/avia_colorpicker.js', array('jquery'), 2, true );
    }
    add_action( 'wp_print_scripts', 'wp_change_avia_colorpickerjs', 100 );

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.