• 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

Need minor help with Option Framework or Option Tree

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 › General Discussion › Need minor help with Option Framework or Option Tree

This topic is: not resolved

Tagged: options

  • This topic has 3 replies, 2 voices, and was last updated 13 years, 2 months ago by wpspeak.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • January 29, 2013 at 3:34 pm #16133
    dev
    Participant

    I'm am really struggling with the Option Framework or Option Tree or any of these things to build a page that users can make a few CSS changes... like background color, or font size, or a different header graphic (upload one.)

    I know how to create the option page. I know (sort of) how to get the data out of the database via get_option().

    What I don't know is the code to make the changes to the CSS. From what I understand the Option Framework will create an embedded style sheet. So if I want

    #my-class {background: red;}

    and I have an option to let the user choose blue, what code do I use and where to I insert it so that the regular CSS is overridden?

    Maybe I insert some code via a hook? I would think you would code it in the header.php... but Genesis says not to mess with their modules! So that WOULD mean a hook... but which one... there are a zillion of them!

    There are all these tutorials on the web about creating the user option page and getting the data out of the DB, but they all end there. What do I do next? I know CSS and I know PHP... but I don't know all that much about Genesis... so if anyone can spare a minute and post something that will solve this puzzle for me or get me back on track,  I'd be very grateful.

    Thanks.

    January 29, 2013 at 5:24 pm #16191
    wpspeak
    Member

    I'm not a fan of Option Framework. But I suggest you to dig the code of the Genesis Design Palette plugin, Prose Child Theme or Genesis Extender plugin.


    WP Speak | Help the Awesome #Genesiswp Community

    January 29, 2013 at 5:29 pm #16195
    dev
    Participant

    I'm not wedded to Option Framework... I'll use anything that works well with Genesis. I absolutely must incorporate a few CSS options that the client can change... maybe 10 or so. I just don't understand the process OR code in getting an embedded style command(s) into the output of the page so it will override the style.css.

    I will check out both links above. Maybe they are easier than Option Framework or Option Tree?

    January 29, 2013 at 8:03 pm #16245
    wpspeak
    Member

    Maybe they are easier than Option Framework or Option Tree?

     

    ABSOLUTELY. 😀


    WP Speak | Help the Awesome #Genesiswp Community

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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

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