Making child-stylesheet work correctly (3 posts)

  1. hrrubin
    Posted 2 years ago #

    I have made a child-theme of Responsive.

    Currently I have:

    While my child styles.css is found and being used, I find that I can't just change stuff like #wrapper{} - I have to use #container #wrapper{} before anything is changed. On the contrary, it's no problem changing #container{} on its own. Same goes for example: #header. It needs #container #header.

    Child theme: wp-content/responsive/responsive-child
    Child css: wp-content/responsive/responsive-child/styles.css

    In child header for the stylesheet it says:

    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.css" type="text/css" media="screen" title="no title" charset="utf-8">

    This loads the parent css file. Have tried fiddling with it, but no succes.

    Here is my site: rubinreklame.dk

    What am I missing?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    As per the theme developer's request, please post in the theme's dedicated forum: http://cyberchimps.com/forum/free/responsive/

  3. gdisalvo
    Posted 2 years ago #

    Do something like this.

    $template_directory = get_stylesheet_directory_uri();
    $files = '<link rel="stylesheet" href="'.$template_directory.'/css/login.css" />

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic