{"id":4381,"date":"2016-11-09T03:24:15","date_gmt":"2016-11-09T01:24:15","guid":{"rendered":"http:\/\/gr-01.de\/www-whitepapers.grafik-und-redaktion.de\/?p=4381"},"modified":"2016-11-09T03:24:56","modified_gmt":"2016-11-09T01:24:56","slug":"avada-5-0-not-using-child-theme-css-theme-fusion","status":"publish","type":"post","link":"https:\/\/whitepapers.grafik-und-redaktion.de\/?p=4381","title":{"rendered":"Avada 5.0 not using child theme CSS &#8211; Theme Fusion"},"content":{"rendered":"<blockquote>\n<div class=\"bbreply-entry\">\n<p>Just contacted support and had this really easy fix, it worked for me. In your child functions.php file, change out these lines:<\/p>\n<p>From this (not working):<br \/>\nfunction theme_enqueue_styles() {<br \/>\nwp_enqueue_style( &#8218;avada-parent-stylesheet&#8216;, get_template_directory_uri() . &#8218;\/style.css&#8216; );<br \/>\n}<\/p>\n<p>To This (apparently working):<br \/>\nfunction theme_enqueue_styles() {<br \/>\nwp_enqueue_style( &#8218;child-style&#8216;, get_stylesheet_directory_uri() . &#8218;\/style.css&#8216;, array( &#8218;avada-stylesheet&#8216; ) );<br \/>\n}<\/p>\n<p>Hope this helps anyone who stumbles on the thread!<\/p>\n<\/div>\n<\/blockquote>\n<p>Quelle: <em><a href=\"https:\/\/theme-fusion.com\/forums\/topic\/5-0-not-using-child-theme-css\/\">5.0 not using child theme CSS &#8211; Theme Fusion<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just contacted support and had this really easy fix, it worked for me. In your child functions.php file, change out these lines: From this (not working): function theme_enqueue_styles() { wp_enqueue_style( &#8218;avada-parent-stylesheet&#8216;, get_template_directory_uri() . &#8218;\/style.css&#8216; ); } To This (apparently working): &hellip; <a href=\"https:\/\/whitepapers.grafik-und-redaktion.de\/?p=4381\">Weiterlesen &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/posts\/4381"}],"collection":[{"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4381"}],"version-history":[{"count":2,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/posts\/4381\/revisions"}],"predecessor-version":[{"id":4383,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/posts\/4381\/revisions\/4383"}],"wp:attachment":[{"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}