• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Navigation Pro: Creating a custom editor palette?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Navigation Pro: Creating a custom editor palette?

This topic is: not resolved

Tagged: color, customizer, editor, Gutenberg, Navigation Pro, palette, php

  • This topic has 0 replies, 1 voice, and was last updated 2 years, 5 months ago by Vanderbeam.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • April 30, 2020 at 2:00 pm #498329
    Vanderbeam
    Participant

    Hey there!

    I've quickly become a huge fan of Navigation Pro, but I need a bit of assistance modifying the colour palette. I'd put in a ticket and they recommended I come here.

    Goal: Implement design/brand colours as the editor's palette; disable custom colour selector
    Issue: add_theme_support( 'editor-color-palette', array( and add_theme_support( 'disable-custom-colors' ); do not work with this theme

    Since Navigation Pro is Gutenberg Optimized, my normal snippet for creating a custom palette and disabling the custom colour option in functions.php doesn't work.

    I know how to add additional colour selection options to the Customizer via the Navigation Pro files but my issue seems to be figuring out how to connect those colours to the palette AND disable the custom colour selector without upsetting the editor. If anyone could point me in the correct direction, that'd be awesome! I don't even necesarilly need to be able to control it from the Customizer, back-end only is fine.

    If additional details are necesarry, I'd be happy to provide them or paste the text from my original support ticket which provides the snippet I usually use to control the editor palette and a description of what happens when I try to implement it in Navigation Pro.

    Thanks!

  • Author
    Posts
Viewing 1 post (of 1 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble