[Resolved] Color picker – Save colors

Home Forums Support [Resolved] Color picker – Save colors

Home Forums Support Color picker – Save colors

Viewing 15 posts - 16 through 30 (of 35 total)
  • Author
    Posts
  • #284206
    Lyle

    Jamal, Tom

    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.

    Cheers!
    Lyle

    #284232
    Tom
    Lead Developer
    Lead 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 πŸ™‚

    #284254
    Lyle

    Awesome! πŸ™‚

    #313605
    Eric

    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.

    #313620
    Tom
    Lead Developer
    Lead 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 πŸ™‚

    #314698
    Doug

    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.

    #314741
    Leo
    Staff
    Customer Support

    Hi Doug,

    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 πŸ™‚

    #350007
    Jamal

    Hi Tom

    Have you figured out how to extend the filter to sections and so on? Thanks !

    #355355
    Tom
    Lead Developer
    Lead Developer

    Yep, just added these default colors to Sections and Page Header for GPP 1.4 πŸ™‚

    #355406
    Jamal

    Awesome news ! Looking forward to use this. Thanks a lot.

    #412883
    Coen

    Wow… I just copied that code in Snippets and activated it -> now my whole site is offline and I can’t access anything!

    #412884
    Coen

    This page isn’t working

    landcruisingadventure.com is currently unable to handle this request.

    #412889
    Coen

    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?

    #413037
    Leo
    Staff
    Customer Support

    Hi there,

    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.

    #413370
    Coen

    Hi Leo,

    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?

Viewing 15 posts - 16 through 30 (of 35 total)
  • You must be logged in to reply to this topic.