WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
Making child-stylesheet work correctly (3 posts)

  1. hrrubin
    Member
    Posted 11 months ago #

    I have made a child-theme of Responsive.

    Currently I have:
    header.php
    style.css

    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 11 months ago #

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

  3. gdisalvo
    Member
    Posted 11 months ago #

    Do something like this.

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

Reply

You must log in to post.

About this Theme

About this Topic