Community Forums › Forums › Archived Forums › General Discussion › Remove or change Default Color Style Select
Tagged: Agentpress, color style
- This topic has 6 replies, 2 voices, and was last updated 9 years, 8 months ago by Lauren @ OnceCoupled.
-
AuthorPosts
-
August 22, 2014 at 2:46 pm #120539progresstMember
I'm using Genesis AgentPress 2.1 theme and need to figure a way to either change the directory of the "Default" Color Style or remove it.
I configured my own styles in the functions.php but I do not see where I can specify the select option labeled as default. I really need to remove it or direct it to one of my custom styles.
http://216.157.26.175/rightquicksearch/August 22, 2014 at 3:06 pm #120540Lauren @ OnceCoupledMemberYou need to add your new color scheme to your functions file. Have a look in there and you'll see the other colors. Just copy the format of that to add your new scheme.
We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com
August 22, 2014 at 5:34 pm #120558progresstMemberI already did this. I want to remove or use a different color style for the dropdown that says default. This is what I currently have, you'll notice there is no reference to default.
/** Create additional color style options */ add_theme_support( 'genesis-style-selector', array( 'agentpress-gray' => 'Dark Blue/Gray', 'agentpress-blue' => 'Blue', 'agentpress-black' => 'Black/Silver') );
August 22, 2014 at 5:47 pm #120560progresstMemberI already did this. I want to remove or use a different color style for the dropdown that says default. This is what I currently have, you’ll notice there is no reference to default.
/** Create additional color style options */ add_theme_support( 'genesis-style-selector', array( 'agentpress-gray' => 'Dark Blue/Gray', 'agentpress-blue' => 'Blue', 'agentpress-black' => 'Black/Silver') );
August 22, 2014 at 5:50 pm #120561Lauren @ OnceCoupledMemberBy default, your theme doesn't use the color schemes, it uses the standard style sheet colors. That is, if you're basically wanting to remove all but your current color scheme, then just delete the color functions, remove their code block from your CSS, and just edit integrate them directly into your theme.
We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com
August 22, 2014 at 5:57 pm #120568progresstMemberI only want my color styles to show up, not the default. It is confusing to the users. Is there a hook I can use to divert the default to one of my other styles or remove it?
August 22, 2014 at 6:08 pm #120569Lauren @ OnceCoupledMemberYes.
The default theme is integrated into your style sheet. If you want to replace it, you need to replace all the colors in your style sheet. The color schemes are usually in a block near the bottom. Those are the additional options. However, the default one isn't a color scheme at all - it's just the normal colors in your style sheet.
If you want to remove all color options, delete their lines from your functions file. Then go delete their blocks in the CSS file.
You'll be left with the default color theme, which is (hopefully) where you have now implemented your own colors.
We create mobile-first, PageSpeed-optimized, pixel-perfect custom themes! https://www.oncecoupled.com
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.