-
Author
-
October 19, 2015 at 11:05 #83115moguaiParticipant
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
moguaiOctober 19, 2015 at 11:07 #83116moguaiParticipanthere is a little pic to maybe clearify what i mean.
Attachments:
You must be logged in to view attached files.October 19, 2015 at 16:22 #83162LauraModeratorHello, 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 solutionLaura 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 🙂
October 21, 2015 at 14:48 #83520AbeKeymasterHi, 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.January 23, 2016 at 15:31 #100144AbeKeymasterHello, 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 CODEadd_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. -
AuthorPosts
You must be logged in to reply to this topic.