This topic has 7 replies, 3 voices, and was last updated 8 years by Abe.

  • Author
  • #83115
     moguai
    Participant

    Hi,
    does anyone know where i can change or maybe create these color presets that are found under the header styling options in the backend?
    thanks in advance
    moguai

    #83116
     moguai
    Participant

    here is a little pic to maybe clearify what i mean.

    Attachments:
    You must be logged in to view attached files.
    #83162
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #83302
     moguai
    Participant

    Hi Laura,
    thanks for the support.

    #83518
     moguai
    Participant

    Anyone?

    #83520
     Abe
    Keymaster

    Hi, right now that can only be changed from the theme in the file lib/theme-options.php

    In the next update we will make it possible to change it from the child theme with a hook.

    Thankd

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #83522
     moguai
    Participant

    Hi Abe,
    thanks for the info.

    #100144
     Abe
    Keymaster

    Hello, this was added for the 4.0 update coming next week. You will be able to add a new preset like this in your child theme/ functions.php

    COPY CODE
    
    add_filter('section_color_presets', 'kleo_my_add_custom_color_preset');
    function kleo_my_add_custom_color_preset( $presets ) {
    
        $presets['my-preset-slug'] = array(
            'alt'     => 'My color preset name',
            'img'     => KLEO_LIB_URI . '/assets/images/presets/deep-purple-ac-amber.jpg', //path to custom image
            'presets' => array(
                'text'    => '#ffffff',
                'headings'    => '#ffffff',
                'bg'    => '#673ab7',
                'border'    => 'transparent',
                'link'    => '#ffffff',
                'link_hover'    => '#d1c4e9',
                'high_color'    => '#ffffff',
                'high_bg'    => '#ffc107',
                'alt_bg'    => '#7e57c2',
                'alt_border'    => '#7e57c2',
            )
        );
    
        return $presets;
    }
    

    All the best

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?