Support » Theme: Hueman » [Hueman] Header menu and sidebar font color, disabling OptionTree

  • Hi.

    I like this theme. I have created child theme for purposes of some site and further customizing but I’m struggling with several issues. I was searching for some answers here but didn’t found any that would be satisfying for me.

    1. I want to change font color of header menu or sidebar… I dont want to change font-weight like some others where suggesting in earlier threads, just font color. Strange thing is whatever I do I cant make it. It’s First time i have that kind of situation that i cant find the way do it.

    2. How to completely disable theme mode of OptionTree from child theme? I would like to customize theme only through code.

    I know that this code is responsible for integrating OT with theme.

    /* ------------------------------------------------------------------------- *
     *  OptionTree framework integration: Use in theme mode
    /* ------------------------------------------------------------------------- */
    	add_filter( 'ot_show_pages', '__return_false' );
    	add_filter( 'ot_show_new_layout', '__return_false' );
    	add_filter( 'ot_theme_mode', '__return_true' );
    	load_template( get_template_directory() . '/option-tree/ot-loader.php' );

    Changing it to return_false or deleting brakes whole theme instead of disabling only OT.

    3. Where OptionTree saves its settings?

    Thanks for help in advance 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi pprzemyslaw. Welcome to the Hueman forum.

    1. The selectors for the main menu:

    #nav-header .nav li a
    #nav-header .nav li.current-menu-item a

    2. Personally I wouldn’t try to do that. The OT options are embedded in multiple locations within the theme. I’d just disable Theme Options > Styling > Dynamic Styles and then override the default theme styling with custom css.

    3. In the database. You can find the record using this query:

    SELECT * FROM wp_options WHERE option_name = 'option_tree'

    It’s a serialized array; here’s what it looks like:

    a:65:{s:10:”responsive”;s:2:”on”;s:19:”mobile-sidebar-hide”;s:1:”1″;s:7:”favicon”;s:0:””;s:8:”rss-feed”;s:0:””;s:13:”page-comments”;s:3:”off”;s:19:”recommended-plugins”;s:2:”on”;s:12:”blog-heading”;s:0:””;s:15:”blog-subheading”;s:87:”<i class=”fa fa-tree”></i> Merry christmas and a happy 2016! <i class=”fa fa-tree”></i>”;s:14:”excerpt-length”;s:3:”100″;s:22:”featured-posts-include”;a:1:{i:0;s:1:”1″;}s:17:”featured-category”;s:0:””;s:20:”featured-posts-count”;s:1:”2″;s:13:”blog-standard”;s:2:”on”;s:11:”placeholder”;s:2:”on”;s:13:”comment-count”;s:2:”on”;s:10:”author-bio”;s:2:”on”;s:13:”related-posts”;s:10:”categories”;s:8:”post-nav”;s:2:”s1″;s:10:”header-ads”;s:2:”on”;s:11:”custom-logo”;s:0:””;s:16:”site-description”;s:2:”on”;s:10:”footer-ads”;s:3:”off”;s:14:”footer-widgets”;s:1:”1″;s:11:”footer-logo”;s:0:””;s:9:”copyright”;s:106:”© 2015. All rights reserved.<span style=”font-weight:bold;float:left;”>Developed by Demu97  </span>”;s:6:”credit”;s:2:”on”;s:13:”layout-global”;s:7:”col-2cr”;s:11:”layout-home”;s:7:”inherit”;s:13:”layout-single”;s:7:”inherit”;s:14:”layout-archive”;s:7:”inherit”;s:23:”layout-archive-category”;s:7:”inherit”;s:13:”layout-search”;s:6:”col-1c”;s:10:”layout-404″;s:7:”inherit”;s:11:”layout-page”;s:7:”inherit”;s:11:”sidebar-top”;s:2:”on”;s:13:”sidebar-areas”;a:1:{i:0;a:2:{s:5:”title”;s:12:”test sidebar”;s:2:”id”;s:12:”sidebar-test”;}}s:7:”s1-home”;s:0:””;s:7:”s2-home”;s:0:””;s:9:”s1-single”;s:0:””;s:9:”s2-single”;s:0:””;s:10:”s1-archive”;s:0:””;s:10:”s2-archive”;s:0:””;s:19:”s1-archive-category”;s:0:””;s:19:”s2-archive-category”;s:0:””;s:9:”s1-search”;s:0:””;s:9:”s2-search”;s:0:””;s:6:”s1-404″;s:0:””;s:6:”s2-404″;s:0:””;s:7:”s1-page”;s:0:””;s:7:”s2-page”;s:0:””;s:12:”social-links”;a:2:{i:0;a:4:{s:5:”title”;s:11:”Testing 123″;s:11:”social-icon”;s:11:”fa-facebook”;s:11:”social-link”;s:17:”;;s:12:”social-color”;s:7:”#81d742″;}i:1;a:5:{s:5:”title”;s:7:”Twitter”;s:11:”social-icon”;s:10:”fa-twitter”;s:11:”social-link”;s:7:”http://&#8221;;s:12:”social-color”;s:7:”#ffffff”;s:13:”social-target”;a:1:{i:0;s:6:”_blank”;}}}s:14:”dynamic-styles”;s:2:”on”;s:5:”boxed”;s:3:”off”;s:4:”font”;s:5:”arial”;s:15:”container-width”;s:4:”1380″;s:15:”sidebar-padding”;s:2:”30″;s:7:”color-1″;s:7:”#8224e3″;s:7:”color-2″;s:7:”#dd9933″;s:12:”color-topbar”;s:7:”#8224e3″;s:12:”color-header”;s:7:”#dd901c”;s:17:”color-header-menu”;s:7:”#000000″;s:12:”color-footer”;s:7:”#33363b”;s:15:”logo-max-height”;s:2:”40″;s:19:”image-border-radius”;s:1:”0″;s:15:”body-background”;s:7:”#81d742″;}

    Theme Author Nicolas


    Hi @bdbrown, I’d like to connect with you by email.
    If you agree, could you contact me with this form :

    Thanks 🙂

    Thread Starter pprzemyslaw


    Bing thanks for answering @bdbrown. So i guess, if i don’t like OptionTree, the only way for me is to find (or write from scratch) such a theme without integrated OT?

    I’m just saying, personally, I wouldn’t try to disable and replace OT if the theme is already using it. There are many themes that don’t use OT. Hueman is moving in that direction as all theme updates posted to in the future are required to use the WP Customizer. There are many commercial themes that use OT or their own custom options interface, but the standard for is to use the Customizer.


    Can you please help me with the change of the font color on the sidebar? Right now it looks grey and not really visible.

    I am using Site Origin Custom CSS plugin, so it would be easy to change with the right code. Here is the website Trade Agent

    Thanks a ton!

    @sitarani – Try adding this CSS to your plugin:

    /* set sidebar text to black */
    .sidebar .widget li, .sidebar .widget li a {
        color: #000;
    • This reply was modified 4 years, 7 months ago by bdbrown.

    Worked as a charm. Thank you!

    One more little question… if I would like to add color to a linked part of the text (on the right sidebar), what would code look like?


    That’s the anchor tag so remove this from the above code:

    , .sidebar .widget li a

    and then add this:

    /* change sidebar links to red */
    .sidebar .widget li a {
        color: #f00;
    • This reply was modified 4 years, 7 months ago by bdbrown.

    Everything worked perfect!

    I changed red to blue and all is ok.

    Thank you so much!


    You’re welcome; glad to help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Hueman] Header menu and sidebar font color, disabling OptionTree’ is closed to new replies.