-
Author
-
October 17, 2015 at 18:48 #82945
bluecafe
ParticipantHi, I have created a child theme and some theme options won’t change such as background color of footer, font-family and others. Is there any function I need to add to a child theme that it will recognize all theme options?
October 18, 2015 at 15:36 #83003Harald888
ParticipantI have the same problem with the menu. Yesterday I was playing around with the fontsize of the menu. But the theme did not respond.. I stopped at fontsize 30, wich is really big. Nothing happened. But today while I was working in a page it suddenly jumped to fontsize 30… But now I can’t change it back… (child?)theme does not change it, even when I leave the field blank, wich is ‘default 12’
This problem occured after I created the child…October 18, 2015 at 16:19 #83007sharmstr
ModeratorThat is a caching issue. Kleo writes to the db (so that it can see your settings in theme options) but also writes to a custom css file located at /uploads/custom_styles/dynamic.css. If your sever caches that file or you have a CDN in place, it will load the old file until it expires.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 18, 2015 at 16:20 #83008sharmstr
ModeratorAlso, it has nothing to do with having a child theme or not.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 18, 2015 at 16:42 #83013Harald888
ParticipantThanks!!! I will look in to that 🙁 (I’m not quite the wizzkid) 😉
October 18, 2015 at 16:52 #83016sharmstr
ModeratorDont worry. Its a very common mistake. People think “how can I make my site faster? Through caching!!!” But they fail to realize the downside of that when they are still developing the site. I disable caching on all of my sites until they are launched.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 19, 2015 at 00:06 #83067bluecafe
Participanthmm … I don’t have any cache plugin enabled. I am working on a local xampp installation with no cdn envolved.
October 19, 2015 at 00:10 #83068bluecafe
ParticipantBut I will check if changes are being stored in the dynamic.css file. Thanks for the info.
October 19, 2015 at 05:19 #83079sharmstr
ModeratorIf its not, check permissions and/or try this in your functions.php file
COPY CODEadd_filter( 'kleo_theme_options_ajax', '__return_false' );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 19, 2015 at 08:20 #83099bluecafe
ParticipantThank you so much, this did the trick ! I have added the filter and now I can change fonts and header settings via theme options. Much appreciated …
October 29, 2015 at 16:20 #84883felesia103
ParticipantWhere should I add that line in the functions.php file?
October 29, 2015 at 16:42 #84888sharmstr
ModeratorIt goes in your child theme’s functions.php file (/kleo-child/functions.php) anywhere after
COPY CODE/** * kleo child theme functions * add custom code below */
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
You must be logged in to reply to this topic.