[Resolved] Colour Palette for GB BLocks

Home Forums Support [Resolved] Colour Palette for GB BLocks

Home Forums Support Colour Palette for GB BLocks

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1452912
    Ian

    I have implemented a custom colour palette for Customizer. How do I use these custom colours inside GB Blocks?

    #1452914
    Leo
    Staff
    Customer Support
    #1452929
    Ian

    Beautiful, that worked perfectly. Just to make sure, it’s normal that WordPress won’t accept this snippet. I had to use SFTP to add the script to functions.php.

    #1452936
    Leo
    Staff
    Customer Support

    Make sure you aren’t adding it in the parent theme’s function.php as it will be erased during updates.

    You will need to use one of these methods here:
    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Code Snippets plugin is the easiest if you aren’t using a child theme already.

    #1460336
    Ian

    Thanks Leo. I have tested this again and it seems WordPress or my host has disabled these particular functions from being entered into WordPress itself. I had to SFTP in and update functions.php. Wanted to report back to share. Thanks again!

    #1460440
    Leo
    Staff
    Customer Support

    No problem 🙂

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