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

This topic is: resolved

This topic contains 3 replies, has 3 voices, and was last updated by  Sk 4 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26797

    abelljefrry
    Member
    Post count: 23

    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.

    #26817

    Sekander Badsha
    Member
    Post count: 2067

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

    #26819

    abelljefrry
    Member
    Post count: 23

    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?

    #27487

    Sk
    Moderator
    Post count: 371

    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 4 posts - 1 through 4 (of 4 total)

The topic ‘How do I change/edit Dokan skin green.css from my child theme?’ is closed to new replies.