- This topic has 34 replies, 13 voices, and was last updated 5 years, 10 months ago by Tom.
February 26, 2017 at 9:12 am #284206Lyle
Nope, it’s not just on your side 🙂
With the filter applied I see what Jamal is saying, but it is not universal 🙂
– the filter is NOT applied only to the Secondary Navigation and Secondary Sub-Navigation BACKGROUND items; the Text items use the filter colors.
– any of the other main Colors items BACKGROUND items use the filter’s colors.
The color picker that is used in the above instances, as well as the Sections and Page Header pickers, appears to be the default WP Color picker and values.
LyleFebruary 26, 2017 at 10:35 am #284232TomLead DeveloperLead Developer
The palettes in Secondary Nav are already fixed in the next version.
I’ll try to get the Section and Page Header pickers working too 🙂February 26, 2017 at 11:05 am #284254Lyle
Awesome! 🙂May 3, 2017 at 7:15 pm #313605Eric
You just made me a very happy man! This will save me so much time.
The funny thing is that the default palette colors are very close to the color palette of the project I’m working on at the moment. I thought it was auto saving the colors until I started using the presets and noticed things were off.May 3, 2017 at 7:46 pm #313620TomLead DeveloperLead Developer
The first 3 or 4 colors take the values from some of your set colors (link color etc..).
Glad you’re finding the filter useful 🙂May 6, 2017 at 4:58 am #314698Doug
Is all this really necessary to set default color swatched on the color palette on GPPro?
I have no idea where the default colors are coming from and if there isn’t a way to “set” the colors in the palette then what good are the swatches?
I’m confused.May 6, 2017 at 9:31 am #314741LeoStaffCustomer Support
All you need to do is to copy and paste the filter here: https://docs.generatepress.com/article/generate_default_color_palettes/
into Code Snippet: https://docs.generatepress.com/article/adding-php/#code-snippets
and change the hex code to whatever color you want to display.
Let me know if this makes sense 🙂July 15, 2017 at 11:49 pm #350007Jamal
Have you figured out how to extend the filter to sections and so on? Thanks !July 26, 2017 at 11:02 am #355355TomLead DeveloperLead Developer
Yep, just added these default colors to Sections and Page Header for GPP 1.4 🙂July 26, 2017 at 1:27 pm #355406Jamal
Awesome news ! Looking forward to use this. Thanks a lot.October 30, 2017 at 5:45 am #412883Coen
Wow… I just copied that code in Snippets and activated it -> now my whole site is offline and I can’t access anything!October 30, 2017 at 5:45 am #412884Coen
This page isn’t working
landcruisingadventure.com is currently unable to handle this request.October 30, 2017 at 5:57 am #412889Coen
I manually deleted the snippet plugin and then everything is fine. I deleted the table inside the Snippets database about the colorpicker and now the Snippets are running again..
How can I get the color picker to work without messing up the site?October 30, 2017 at 9:02 am #413037LeoStaffCustomer Support
Just to double check…this is the code you added? https://docs.generatepress.com/article/generate_default_color_palettes/
I just tested it myself and it works fine without crashing the site.October 30, 2017 at 7:12 pm #413370Coen
Thanks for checking back with me.
Exactly that code. I have no idea why, must be a conflicting thing somewhere…
Anyway, is there another way to get colors set up fixed after my choice. btw are those also shifting over to Elementor that you know?
- You must be logged in to reply to this topic.