Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wordpress not reading css from child theme. #389

Open
Hammer1980 opened this issue Apr 24, 2024 · 5 comments
Open

wordpress not reading css from child theme. #389

Hammer1980 opened this issue Apr 24, 2024 · 5 comments

Comments

@Hammer1980
Copy link

I have set up the understrap starter child theme downloading it from the website, and whilst it reads changes in template files, like header.php etc, it just won't make the changes in style.css.

Any ideas what could be wrong, or is there something I should alter ?

Thank you.

@dekkydog
Copy link

Hi @Hammer1980 , have you read the documentation on how to use the child-theme effectively? - https://docs.understrap.com/#/

@Hammer1980
Copy link
Author

Yes. First place I looked. Since my last post I saw of a facebook group said about editing the chlid-theme. min css. I did that by renaming the child-theme.css to the min version and that seems to work.

Is there a better way. The bits I saw on the link you sent me has very little about the child theme that I can find and the read me with it doesn't explain either, unless I missing something blatantly obvious, which I wouldn't rule out by the way. Clearly by your post you think I haven't ! I wouldn't be posting here if I hadn't exhausted every avenue I could find :)

Only found this by chance, wish I had found this theme and system a while ago.

@dekkydog
Copy link

dekkydog commented Apr 25, 2024

If you have followed ALL of the installation and setup steps as per the documentation - You should not be having to change the naming conventions of CSS files for this child-theme to work out of the box. The child-theme uses SASS to compile to minified CSS files via Node JS commands. Note that without "context" to your specific issue it is very hard for anyone here to help troubleshoot you particular problem.

@Hammer1980
Copy link
Author

I am doing this on a live domain. I am probably a bit out of my depth here to be honest. I have just uploaded the theme, and the child theme.

I totally agree abut the context bit. I was assuming it was something I could do in the functions file and I was expecting, well more hoping it would be,' you haven't done that line' or 'change this'.

I need to get something online quick for someone as their current them is not php8.2 compliant, currently 7.4. A quick and dirty name change will have to do for now, but when I read up about the development course I think I really fancy having a crack at that.

Really grateful for your time in trying to get me sorted.

@Hammer1980
Copy link
Author

Now for some reason, today my browser developer tools has stopped showing me the line numbers of css ! Handy with 15k lines of css :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants