• Resolved archizoom

    (@archizoom)


    hello,
    i am german / my english is not well

    i have made an child-theme.

    the “mother-link” in style.css is:
    @import url(‘http//www.wordpress.org/wordpress/wp-content/themes/justwrite/style.css’);

    also / in child-theme / a functions.php only with:
    <?php
    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’);
    }
    ?>

    but i can´t edit style.css or other files

    why ?
    can someone help ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter archizoom

    (@archizoom)

    done

    rryo

    (@rryo)

    How to do this??

    Thread Starter archizoom

    (@archizoom)

    i thought it works. but it don´t work.

    i have created:
    – child theme
    – style.css in child theme with
    @import url(“../justwrite/style.css”);
    – custom.css in child theme

    – someone told me to create a funktions.php wiht (but i don´t):
    <?php
    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’);
    }
    ?>

    in this case, should be no the
    “@import url(“../justwrite/style.css”);
    entry in the accounts

    all changes in style.css or custom.css will not be accepted.

    why ?

    I believe I may have solved your problem… All child themes will have this problem if I am correct!

    See my post here

    Hope you can understand my English better than I can understand your Deutsch! 😉

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘child theme – i can´t edit style css’ is closed to new replies.