Theme Options 'custom-styles.css' being ignored
-
Hi all,
Having a bit of trouble with a child theme that I’m working on. I’ve enqueued the parent stylesheet like so…
<?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
.. and that works fine. But the theme has some ‘theme options’ which have an associated “custom-styles” css document. The theme options all seem to work and respond correctly (turning on/off various features etc), but any style/CSS stuff doesn’t work. It takes no effect. For example, one of the options is to adjust the header height. If I change that, I think it goes into the “custom-styles” css document. But then nothing. It’s being ignored.
Will I need to enqueue this document as well, since the theme doesn’t seem to be looking for it? If so I’d appreciate some guidance on how I do this.
Apologies if any of this is unclear. But do let me know what other information I need to provide.
Thanks!
- The topic ‘Theme Options 'custom-styles.css' being ignored’ is closed to new replies.