• I created a child theme for Twenty Eleven and have been using Live Preview to view my changes. Yesterday afternoon the site stopped reflecting the changes that I was making.

    I’ve tried clearing the cache, hard refreshing the browser, switching browsers and contacted my host and they said they do not keep a cache on the backend. I have even deleted all of the files and reuploaded them.

    I also made changes to the footer just to test if it would update and this was successful.

    Any ideas?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Let’s see your site

    Thread Starter angieps

    (@angieps)

    my site is
    https://uncommoncoffeeroasters.com

    but the child theme is not live.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    what is the name of your child theme folder?

    Thread Starter angieps

    (@angieps)

    twentyeleven-child

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    There are so many styles in your child theme style.css file, which style specifically doesn’t work?

    Thread Starter angieps

    (@angieps)

    I made these changes that I thought would be drastic and noticeable but I have not been able to see them in the live preview

    body {
    background: #ff0000;

    #page {
    margin: -10em auto;
    max-width: 1600px;

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I can’t debug CSS in 2 thousand lines of code ?? And I assume that you don’t know what those 2 thousand lines of code are doing.

    So let’s start from scratch. Can you only put this style inside of your Child Theme style.css file:

    body {
        background: #ff0000;
    }

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Actually let’s use more specific selectors than that, try:

    html body {
        background: #f00;
    }

    Thread Starter angieps

    (@angieps)

    I did that, deleted everything and only left

    /*
     Theme Name:   Twenty Eleven Child
     Theme URI:    https://example.com/twenty-fifteen-child/
     Description:  Twenty eleven Child Theme
     Author:       John Doe
     Author URI:   https://example.com
     Template:     twentyeleven
     Version:      1.0.0
     License:      GNU General Public License v2 or later
     License URI:  https://www.gnu.org/licenses/gpl-2.0.html
     Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
     Text Domain:  twenty-eleven-child
    */
    
    body {
        background: #ff0000;
    }

    nothing changes

    Thread Starter angieps

    (@angieps)

    same results with html body

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    That’s weird, your child theme style.css file no longer exists: https://uncommoncoffeeroasters.com/public_html/wp-content/themes/twentyeleven-child/style.css

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Style sheet not updating’ is closed to new replies.