Child theme doesn't work.
-
Hi, weblizar. It looks like this them doesn’t support child theme. Or it is a bug. the child theme style.css is never loaded.
Thanks
Vincent
-
Please refer this thread.
I have resolved the excerpt issue. However how to have the child theme style.css loaded?
thanks
VincentIt looks like following statement in css_js.php causes the child theme issue. it should use stylesheet uri instead of template uri.
How to fix this in a elegant way?
wp_enqueue_style(‘stylsheet’, WL_TEMPLATE_DIR_URI . ‘/style.css’);
Hi, did this issue get resolved on another thread?
I have also tried to create a child theme for enigma but it does not work.
Any suggestions?
Thanks
Just to note, the thread provided above by weblizar doesn’t appear to solve the child theme problem…
Some problem here, i keep adding changes to my child theme style.css but the never seem to work! How to resolve this??
ThanksHello All
Please use to child creator plugin for child theme.
After that open child theme style.css file and add your custom css code.
For example :
.enigma_heading_title h3 { size:80px !important; }
Save the changes.
Thanks
I’ve installed the plugin, but still the changes won’t show up on the actual website?? I’ve tried to change the border color in the Orbisius Theme Editor to this:
.enigma_heading_title h3 {
border-bottom: 4px solid #31A3DD;
color: #0ba486;
}But this makes no difference. Then i tried it with FTP, but still no change of color.
Any other suggestions?
Can you link a page with the issue?
Oops, start a new thread: https://wordpress.org/support/theme/enigma#postform
You can make modifications to the theme by adding css into the child theme theme-options section. However ideally it would be possible via the style.css file modifications. I haven’t yet tried the plugin option, although it seems from other people that this doesn’t work either.
Sorry, just notice the request from Andrew above. Let me know if you want me to add this comment to a new thread.
Hello All
If you have created child theme.
So you can add customize css code in child theme style.css file
For example :
.enigma_heading_title h3 { border-bottom: 4px solid #31A3DD !important; color: #0ba486 !important; }Thanks
Yes I know how to make changes to the theme with a child theme, but it doesn’t work. Also with !important it makes no difference. Something is holding back the changes.
Hello guys. Am playing around with the child theme for Enigma and I found very difficult to make some changes to the theme appearance. I know that we can use !important rule in order to make changes but that is not the way it should be done properly.
I know that weblizar guys don’t really wan’t us to make changes but rather to buy the full PRO version with more features and I can understand that approach.
Despite all of my moaning, I would like to ask more advanced developers is my approach to make changes is actually at least “good”.
I was able to make changes I want in Enigma by creating my custom copies of stylesheets, putting them into the child theme root folder and adding following code to my functions.php within my child theme:
function load_my_styles() { wp_dequeue_style( 'enigma-theme', get_template_directory_uri() . '../enigma/css/enigma-theme.css' ); } add_action( 'wp_enqueue_scripts', 'load_my_styles', 400); function load_child_stylesheet() { wp_enqueue_style( 'enigma-new', get_stylesheet_directory_uri() . '/css/enigma-new.css' ); } add_action( 'wp_enqueue_scripts', 'load_child_stylesheet', 300); function load_default_stylesheet() { wp_enqueue_style( 'default_new', get_stylesheet_directory_uri() . '/css/default-new.css' ); } add_action( 'wp_enqueue_scripts', 'load_default_stylesheet', 200); function load_main_stylesheet() { wp_enqueue_style( 'style', get_stylesheet_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'load_main_stylesheet', 100);Looking for any suggestions if I did something incorrectly or it could be achieved in more simple or more proper way.
The topic ‘Child theme doesn't work.’ is closed to new replies.
