css

hello,

I tried to put the hook for my child theme funtion file and create another css file in the child theme.

I tried to use my css file from the child theme

I read all your documentation and all the answers that people had already posted but it still does not work for me.

My css file is in 404 response

 

 

 

 

Attachments: 
otacke's picture

From the comments of the customization plugin template:

The path can be absolute, so
'path' => 'http://mydomain.org/score-tracking.js',
would to try to load the script from the URL

The path can be retrieved using WordPress functions, so for instance
'path' => plugin_dir_url( __FILE__ ) . 'scripts/score-tracking.js',
will try to load scripts/score-tracking.js inside this plugin's folder

What are you setting the 'path' to? Seems to be some place that the server is sent looking for that doesn't make sense.

problem solved by creating a plugin with code from github

So I created a plugin with the github file and from there, I can modify the CSS without worries, I abandoned the idea of putting the hook in the functions file of my child theme