How do I change/edit Dokan skin green.css from my child theme?

  • Home
  • Forums
  • Dokan
  • How do I change/edit Dokan skin green.css from my child theme?
This topic contains 3 reply and 3 voices, and was last updated by Sk 10 years, 3 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
September 15, 2014 at 4:17 am 26797
Sk Hello Wedevs team, I need to make some adjustment to green.css in dokan>assets>css>skins from my child theme. How to do that? I tried to copy green.css into my-child-theme>assets>css>skins and edit it from there, but nothing happened. Am I doing it right? Any step that I missed? Hope you guys can help me with this. Thanks in advance guys.
September 15, 2014 at 3:03 pm 26817
Sekander Badsha Sekander Badsha

Hello Abell,
Here is the documentation about customizing the CSS http://docs.wedevs.com/styling-chile-theme/

September 15, 2014 at 3:33 pm 26819
abelljefrry abelljefrry

I already tried to override it from my child theme style.css but it didn’t work.

Any other changes that I made on my style.css works perfectly, except for the css selector that I grabbed from green.css

When I adjust it directly at dokan>assets>css>skins>green.css, it works just fine. Any idea why?

September 25, 2014 at 11:05 am 27487
Sk Sk

use the following code to your function.php where you enqueue the style sheets.
[php]
wp_deregister_script(‘dokan-skin’);
wp_dequeue_style( ‘dokan-skin’ );
wp_register_style( ‘dokan-skin’, get_stylesheet_directory_uri() . ‘/assets/css/skins/green.css’, false, null );
wp_enqueue_style( ‘dokan-skin’ );
[/php]

Thank you.

Viewing 3 Posts - 1 through 3 (of 3 total)