• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

The Cre8tive Diva - WordPress Developer

Digital Nomad | Helping WordPress & Genesis Framework Website Owners All Over the World

  • Home
  • About
    • Accessibility Statement
    • Terms of Service & Privacy
  • Services
    • Blogger to WordPress Migration
    • Buddypress Installation
  • My Work
  • Blog
    • Tutorials
    • Five on Friday
    • Genesis Framework
    • Tipsy Tuesday
    • WordPress
  • Contact
Home ยป Add Color Selector to Maker Pro Child Theme

Add Color Selector to Maker Pro Child Theme

http://www.screencast.com/t/SShaZEvYIT

This morning someone asked if I had a demo of a certain website and I had to go to my Siteground account to search my staging areas. As I was looking, I ran across this demo site I had prepared for a photography client using the Maker Pro Child theme by JT Grauke of Design by Bloom and is sold on StudioPress.

When I was in development with the client he wanted to see what the theme would look like with the dark background. I created a color selector to switch back and forth. He ended up sticking with the white background.

Since I still have this staging area and the code is in action there, I decided to just drop the code into a blog post in case someone might be interested in adding it. Don’t forget to read all the way down. There’s some Bonus Code!!

Demo.
Click the colors on the Navigation.

I know the color selector inside the Customizer has become pretty popular, but there are some clients who are a “no fuss” kinda client who just wants to be able to select a few options and keep it moving. With the colors in the style sheet, you only need to change two colors. The default accent color can be changed inside the Customizer just fine.

Two files will need to be modified – the functions.php file and style.css. You can use an FTP application to modify your files or if you are pretty code savvy, you can edit inside the dashboard.

If you are unfamiliar with working with your theme files, stop and ask for help. If you are familiar with modifying your theme files โ€“ you should back them up before proceeding.

Adding the Function
Copy and paste the code to the bottom of the functions.php file. Then Save it.

https://gist.github.com/cre8tivediva/829946c2ccc1e779e67cf6a663ae1ec7#file-functions-php

Adding the Styling
Copy and paste the code to the bottom of your style.css file. Then Save it.

https://gist.github.com/cre8tivediva/829946c2ccc1e779e67cf6a663ae1ec7#file-style-css

Select your new color
Now that you’ve added the selector. Browse over to Genesis > Theme Settings. You should now see the “Color Style” drop down. Section your color and visit the website.

That’s it. ๐Ÿ™‚

BONUS CODE!!
You will notice with my demo we opted to use the free version of Soliloquy Responsive Slider the in Front Page 5 widget area. We decided to reposition and vertically align the default pager buttons, as well as remove the navigation arrows using CSS. In the Pro Version of Soliloquy, there is a setting to hide the arrows. To do this, just copy and paste the following code into your style sheet. One thing to keep in mind, you may need to change 50% on Line 25 to adjust the buttons depending on how many images you add to your slider.
https://gist.github.com/cre8tivediva/829946c2ccc1e779e67cf6a663ae1ec7#file-soliloquy-css

Now that’s really it! ๐Ÿ™‚

  • Like my Signature? Get the Signature Widget for Genesis right here!

  • FacebookTweetPinPrintShares22

    Filed Under: Genesis Framework, Tipsy Tuesday, Tutorials Tagged With: genesis child theme, maker pro

    Primary Sidebar

    It's just me and my dog Bella. I am a freelance web developer at Cre8tiveDiva.com. I build websites using WordPress and the Genesis Framework, WooCommerce and provide troubleshooting and support. I also build with Shopify. I love chocolate, lots of coffee!

    Sign Me Up!

    Receive my blog posts, tips and updates delivered to your inbox!

    Yes, Sign Me Up

    *By signing up you will receive new blogs, updates on products, services and important alerts.

    Categories

    • Design
    • eCommerce
    • Five on Friday
    • Fonts
    • Free Themes
    • Freebie Friday
    • Genesis Framework
    • Genesis Plugins
    • Genesis Themes
    • Genesis Untapped
    • Instagram
    • MailChimp
    • News
    • Plugins
    • Press This News
    • Social Media
    • Tipsy Tuesday
    • Troubleshooting
    • Tutorials
    • Uncategorized
    • Web Development
    • WooCommerce
    • WordPress
    • WordPress Plugins

    Footer

    Digital Nomad! I can be anywhere I wanna be now.

    Latest Blog Posts

    • Temporary Fix When Using Genesis Blocks Posts and Page Grid with Genesis Simple Share
    • How to Add Reading Time to a WordPress Genesis Child Theme Without a Plugin
    • How to Add “Shop” to WooCommerce Breadcrumbs when Using Yoast

    Looking for Something?

    Copyright © 2012–2023 ยท Designed with by Me! ยท Hosted on SiteGround