• Resolved markp_2000

    (@markp_2000)


    I’m stumped on this. I have search for a similar issue but could not find it.

    I have created a child theme for twentyeleven and placed it in the themes directory.

    twentyeleven-child

    I have added the style sheet

    /*
    Theme Name: Twentyeleven Child
    Description: Child theme for the Twenty Eleven theme
    Author: Mark Parrish
    Author URI: http: //www.parrishconsultinggroup.com
    Template: twentyeleven
    Version: 1.0
    */
    
    @import url('../twentyeleven/style.css');
    
    .wpcf7 label {
        width: 10%;    /*Or however much space you need for the form’s labels*/
        float: left;
        text-align: right;
        margin-right: 4px;
    }

    Yet it still only pulls the twentyeleven style sheet
    snip from the webpage –

    <style>@import url(wp-content/themes/twentyeleven/style.css) ;</style>

    Any ideas?

    Mark

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter markp_2000

    (@markp_2000)

    No changes to twentyeleven. I have wiped the database twice and still the same issue.

    Mark

    Thread Starter markp_2000

    (@markp_2000)

    OK – I created a new child theme and gave it a shot but the same issue is still occurring.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Something is still forcing the generated HTML to use relative paths.

    Is that server a single WordPress installation or is it part of a multisite installation?

    Thread Starter markp_2000

    (@markp_2000)

    I have several sites on this server and this is the only one having this issue.

    Mark

    Thread Starter markp_2000

    (@markp_2000)

    All right – it seems as if

    bloginfo( 'stylesheet_url' );

    is returning the text of the style.css sheet.

    Thread Starter markp_2000

    (@markp_2000)

    Wow!! after all of that I found the cause.

    I had enabled google’s pagespeed module. Once I turned that off everything is now working fine.

    Mark

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘twentyeleven child theme not working’ is closed to new replies.