mugsgame on "forest theme child theme difficulty"

ساخت وبلاگ

When I made a child theme of forest, I can not overide some of the css.

Specifically, Items relating to the slider which refer to assets/css/default.css

I believe this may be because style.css in the parent theme functions.php is enqueued first rather than last. However I am still leaing things about child themes, so I was wondering if you knew a solution for this for this.

mugsgame
Member
Posted 13 minutes ago #

Well it tus out I can over ride everything with my child theme style.css by using !important.

Seems weak to have to do this, I am not a theme developer but I would assume the proper thing to do would be to design the theme so that the style.css is loaded last, thereby the child theme css is loaded after that. The wordpress framework, when a child them is created, with enqueue styles, places the child theme style.css right after the parent theme style.css. This theme then loads all the rest of the style sheets. Sort of defeats the whole purpose.

I would mark this question as resolved but I'm curious if there is any support on this forum; it's been a week and the theme author hasn't replied.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 236 تاريخ : سه شنبه 5 مرداد 1395 ساعت: 10:00