#129198 Creating custom text colors in WordPress Blog Editor — Jupiter overriding?

Landing Forums JupiterX WordPress Theme Creating custom text colors in WordPress Blog Editor — Jupiter overriding?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Daniel

    Hi — am wrapping up site and getting close to going live. I have tried to set up brand colors in the standard post editor, and they show up in the backend but once published they are not showing up in the front end.

    This is the code I added to the functions.php page in the child theme:

    add_theme_support( ‘editor-color-palette’, array(
    array(
    ‘name’ => __( ‘Green’, ‘toln’ ),
    ‘slug’ => ‘green’,
    ‘color’ => ‘#59663b’,
    ),
    array(
    ‘name’ => __( ‘Blue’, ‘toln’ ),
    ‘slug’ => ‘blue’,
    ‘color’ => ‘#708f96’,
    ),
    array(
    ‘name’ => __( ‘Yellow’, ‘toln’ ),
    ‘slug’ => ‘yellow’,
    ‘color’ => ‘#dbbf66’,
    ),
    array(
    ‘name’ => __( ‘Brick’, ‘toln’ ),
    ‘slug’ => ‘brick’,
    ‘color’ => ‘#94402b’,
    ),
    array(
    ‘name’ => __( ‘White’, ‘toln’ ),
    ‘slug’ => ‘white’,
    ‘color’ => ‘#ffffff’,
    ),
    array(
    ‘name’ => __( ‘Gray’, ‘toln’ ),
    ‘slug’ => ‘gray’,
    ‘color’ => ‘#6b6e69’,
    ),
    array(
    ‘name’ => __( ‘Black’, ‘toln’ ),
    ‘slug’ => ‘gray’,
    ‘color’ => ‘#000000’,
    ),
    array(
    ‘name’ => __( ‘Yellow’, ‘toln’ ),
    ‘slug’ => ‘yellow’,
    ‘color’ => ‘#dbbf66’,
    ),
    array(
    ‘name’ => __( ‘Rose’, ‘toln’ ),
    ‘slug’ => ‘rose’,
    ‘color’ => ‘#bfa89c’,
    ),
    array(
    ‘name’ => __( ‘Sage’, ‘toln’ ),
    ‘slug’ => ‘sage’,
    ‘color’ => ‘#a19e73’,
    ),
    array(
    ‘name’ => __( ‘Sienna’, ‘toln’ ),
    ‘slug’ => ‘sienna’,
    ‘color’ => ‘#ab6b45’,
    ),
    ) );

    Private
    Daniel
    This reply has been marked as private.
    Nodari Support Team

    Hey Daniel

    It’s not by Jupiter X, this problem is coming from the Elementor color kit, check this out: https://prnt.sc/1qbgo0f you have to disable these colors from ELementor or, simply match them to the colors you applied by your custom function

    Best wishes

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