Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #78313
    vteck
    Member
    Post count: 5

    hi there,

    I’ve just installed the theme on my server and it worked fine.
    after the installation, I updated the theme to the latest version and I found that the child theme doesn’t appear to be the same as the main theme, and all the information is not loaded correctly.

    please advise on this matter, thanks.

    #78329
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    If you provide specific page url so i can debug to fix the issue very soon .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #78401
    vteck
    Member
    Post count: 5
    This reply has been marked as private.
    #78415
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit style.css of child theme directory :

    Find this code 
    @import url("../dante/style.css");
    Replace with
    @import url("../../dante/style.css");
    

    Hope that will fix your issue sure .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #78420
    vteck
    Member
    Post count: 5
    This reply has been marked as private.
    #78421
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome . I’m glad that issue resolved .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #78466
    Frank-Peter
    Member
    Post count: 14

    Hi Mohammad,

    in my localinstalation (WordPress 3.9.1 / DANTE 2.56) work this in the Child Theme


    @import url("../dante/style.css");

    Is it not better to use the function.php from the child-theme with this:


    add_action('wp_head','load_parent_style',0);
    function load_parent_style() {
    wp_register_style('parent-theme',get_bloginfo('template_directory').'/style.css');
    wp_enqueue_style('parent-theme');
    }

    or it does not matter???

    Best Regards
    Peter

    #78468
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Seems much easier to use the import in the stylesheet, no?

    – Kyle

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register