• 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

Color Contrast Detector – Breakthrough Pro

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 › Color Contrast Detector – Breakthrough Pro

This topic is: resolved

Tagged: Breakthrough Pro, Colors, contrast detector, customize, inline style

  • This topic has 2 replies, 2 voices, and was last updated 3 years, 6 months ago by jbculp.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 17, 2019 at 3:10 pm #333086
    jbculp
    Participant

    Does anyone know how to disable the color contrast detector on the Breakthrough Pro theme? Its modifying my button text with an inline style sheet that I can't find and I don't want to have to hunt down every occurrence of it's color selecting activity and over-ride it with custom css in the theme customizer.

    January 17, 2019 at 3:22 pm #333219
    Victor Font
    Moderator

    If you look in the theme's lib/helper-functions.php file you'll find 2 functions for determining color contrast and brightness. breakthrough_color_contrast and breakthrough_color_brightness. I would put a return; right before the $hexcolor variable in both functions so the function will essentially do nothing.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 17, 2019 at 4:49 pm #334157
    jbculp
    Participant
    This reply has been marked as private.
  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Color Contrast Detector – Breakthrough Pro’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 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