Child theme stylesheet id td-theme-css get wrong path

Posted in: Newspaper
Post count: 6

Hey

I create child theme. In my style.css is:

/*
Theme Name: 	BriegChildTheme
Template:       Newspaper
Description: 	Child theme made
Version: 		1.0.2
Tags:black, white, one-column, two-columns, fixed-layout
*/

In my function.php there is no any rewerite rules for styles

The resaults in code is:

<link rel='stylesheet' id='td-theme-css' href='http://localhost/american-inno-site/wp-content/themes/BriegChildTheme/style.css?ver=7.7.1' type='text/css' media='all' />

What is wrong?
It tahes child theme and version from parrent.

  • This topic was modified 9 years by Brieg.
Post count: 20688

Hi,

The child theme is provided in the theme package and can be used according to this tutorial, that specifies what files can be overwritten – https://forum.tagdiv.com/the-child-theme-support-tutorial/
The code from the child theme functions file queues the theme style then the style from the child theme
https://www.screencast.com/t/B3ARcYwn
More information about child themes here – https://codex.wordpress.org/Child_Themes

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.