site selectorĬolor-scheme-control.js /* global colorScheme, Color */ You need to update the array in color-scheme-control.js to reflect your changes in customizer.php and also your array index in customizer.php for $color_scheme is wrong, since you've removed the $wp_customize->remove_control( 'background_color' ) the index 0 is for page_background_color not index 1īelow is the changes I made, currently only works for 'Header Background Image' section which applied to. Just isn't working with Color Schemes and the default color scheme.Įdit 2: Also noticed its not auto updating the site when editing in Customizer (as in picking new colors), I am totally stuck now and have to be missing something painfully simple. While normally I would try to offer more details of what I have tried to do to fix it, at this point I am totally lost just pulled up the Codex to start figuring out some of the new things hoping to get a break somewhere.Įdit: If I manually select colors and save it, it works. Here is a pastebin of my Customizer.php file. I am continuing to look through it to see what I have messed up but if anyone could point me in a direction to solving this that would be great. I went in changed the Customizer.php file the way I needed it for CSS changes, but its not picking up the color scheme options anymore and passing them through, so my theme currently starts with basically no colors. I took an HTML site and built it ontop of the stock TwentySixteen theme for base file structure as well as to tie into some of the newer features (well new to me). I haven't worked on WordPress in years, Customizer is totally new to me and I believe I have messed up getting the default color scheme values and could really use some help.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |