• 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

How to disable accent color in Cafe Pro theme

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 › How to disable accent color in Cafe Pro theme

This topic is: not resolved

Tagged: accent color, cafe pro

  • This topic has 6 replies, 2 voices, and was last updated 7 years, 10 months ago by Brad Dalton.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • May 16, 2015 at 1:20 pm #152414
    webcami
    Participant

    Is there a way to remove the accent color setting from Cafe Pro?

    May 16, 2015 at 3:11 pm #152424
    Brad Dalton
    Participant

    Remove the control setting from the customizer?


    Tutorials for StudioPress Themes.

    May 18, 2015 at 10:00 am #152560
    webcami
    Participant

    The control setting can stay there, I just don't want this color choice to override the settings in my style.css. I don't want there to be a color choice outside of the those I've coded. I can't seem to remove it even with inline css.

    Any help is appreciated.

    May 18, 2015 at 10:21 am #152566
    Brad Dalton
    Participant

    You can remove the PHP code from the customiser file.


    Tutorials for StudioPress Themes.

    May 22, 2015 at 2:18 pm #153308
    webcami
    Participant

    Actually, I removed the code below and it took down the site. I will have to read through it more thoroughly.

    function cafe_customizer_get_default_accent_color() {
    return '#a0ac48';
    }

    May 22, 2015 at 2:20 pm #153310
    webcami
    Participant

    Do I remove the FULL FILE?

    May 22, 2015 at 8:05 pm #153372
    Brad Dalton
    Participant

    You can but then you also need to remove the line in your functions file which loads the file and you lose all the customise options.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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