Hi, I have downloaded the basic Unwind child theme from your site, but changes to the CSS does not apply.
It made me look closer to the content of the functions.php file, where an ending tag ?> must be missing?
And what does the “8” stand for?
This is a copy of the contend in the Basic Unwind child functions.php folder:
<?php
/**
* Enqueue the parent theme stylesheet.
*/
function unwind_child_enqueue_parent_style() {
wp_enqueue_style( 'unwind-parent-style', get_template_directory_uri() . '/style.css' );
}
add_action( 'wp_enqueue_scripts', 'unwind_child_enqueue_parent_style', 8 );
Best regards
Carsten
Hi Calu,
Can you please clarify where you downloaded this Unwind child theme? Can you please try this child theme instead?
To answer your questions, <?php is commonly omitted as it prevents potential spacing issues (typically leading to a “headers already sent issue)”) – this is 100% safe and honestly recommended.
8 is the priority that the hook runs at.
Hi Alex, thank for your reply. The child theme I am using was downloaded from this thread:
Thread: child theme unwind
I have downloaded the child theme folder from your link, and I noticed that the functions.php file contains this line of code, which the one I use dosen’t.
wp_enqueue_style( ‘unwind-child-style’, get_stylesheet_uri(), array( ‘unwind-parent-style’ ) );
I will install the new theme and let you know if it works or not.
Regards
Carsten
Hello again, I have tested the new child theme you suggested, unfortunately with same result.
Changes which applies when added in the WP dashboard >appearance >customize, do not apply when added in the child theme instead.
Regards
Hi :)
Please, send a link to your site with the child theme in place and rules in the child style.css file so we can take a look.
Thanks
Can I send you my site information in an email instead?
Hi Calu,
Unfortunately, only premium users can privately message support. SiteOrigin Premium is a very affordable product that includes a number of additional features and premium support. It’s definitely worth checking out. With that said, if you would like to hide your link your best option outside of upgrading would be to use a link masking service.
To clarify, what settings aren’t applying? Is it the settings inside of the Theme Settings Group or other settings?
Alex, it is all CSS, also basic theme CSS like background-color. I have been using Vantage, which by the way also is a great theme, with a child theme before without any issues so it is strange that Unwind dosen’t run as easy.
Yes, it was for hiding link, but I will check out your Premium option, because SiteOrigin already has contributed so much to my work and made it easy.Your great themes, your widget bundle and the pre designed layouts inspires, and suddenly makes non creative web designers, creative…
Regards
Carsten
Hi Carsten,
So, to clarify, are you seeing a completely unstyled website? (as in, white background with black text and basically none of the expected styling). If so, that’s quite odd as that’s a sign that the child theme isn’t correctly setup. Hm. To confirm, did you uninstall the previous child theme with the child theme provided in this thread (here’s the download link once more).
At this point, we really need to take a look at your website.
Hello Alex, sorry if I have not expressed myself clearly about the child theme issue.
The site is running perfectly well with all CSS, with the child theme.
It is the theme customization I made, that does not run when added to the style.css in the child theme.
I will look into how to use a masking service and send you my site information.
Regards
Carsten
Once we’ve taken a look at the site we can help isolate why a particular rule or set of rules isn’t taking effect. Assuming the child theme is working correctly then it might be an issue of specificity or cascading order and inheritance.