• RE: tellicokats.com
    Hosting: GoDaddy managed WordPress hosting
    Hello,
    I have installed “Customizr Child” child theme from the Customizer website. It is working fine. I was successful modifing the functions.php
    I am having issues modifing style.css via the Child Theme’s editor:
    Appearance –> Editor –> style.css
    Note that I can place the below code into Customizr “Custom CSS” and all works fine.
    Here is the code I have entered:

    /* Remove page icon  */
    #main-wrapper .format-icon:before {
    content: none;
    }
    /* Remove Menu Navbar box  */
    .navbar .navbar-inner {
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none;
    background:         none;
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none;
    }
    /* Footer background color   */
    footer#footer {
        background: none repeat scroll 0 0 #0088cc;
    }

    The code is directly from the Customizr website.
    The “Navbar box” code change does not work at all, and the “page icon” appears and disappears everytime I refresh my browser.
    The odd thing is that the above code works perfect if I enter it into the Custom CSS box within the Customizr menu.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter Rick Lavoie

    (@banjorick)

    I just used FTP to verify that the files are there:
    functions.php
    screenshot.png
    style.css
    I opened the style.css file and the code I added is there.

    BUT, when I use my browser to access style.css
    https://tellicokats.com/wp-content/themes/customizr-child/style.css
    Yes, you are correct, the code I added is NOT there!
    In fact it looks exactly like the original file that came with the “Customizr Child” child theme!
    Permissions are set at 604 (default for GoDaddy).
    I verified the path is correct (browser & sFTP client paths both match up).

    Below is the entire contents of the style.css from the file I just uploaded via sFTP

    /*
    Theme Name:     Customizr Child
    Theme URI:      https://themesandco.com/customizr
    Description:    A child theme for the Customizr WordPress theme. This child theme simply includes 2 files : style.css to add your custom css and functions.php where you can extend Customizr's core code. In order to keep your code as clean and flexible as possible, try to use Customizr's hooks API for your customizations. Do something awesome and have fun !
    Author:         Nicolas Guillaume (nikeo)
    Author URI:     https://themesandco.com
    Template:       customizr
    Version:        1.0.0
    */
    /* Remove page icon  */
    #main-wrapper .format-icon:before {
    content: none;
    }
    /* Remove Menu Navbar box  */
    .navbar .navbar-inner {
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none;
    background:         none;
    -webkit-box-shadow: none;
    -moz-box-shadow:    none;
    box-shadow:         none;
    }
    /* Footer background color   */
    footer#footer {
        background: none repeat scroll 0 0 #0088cc;
    }

    Thread Starter Rick Lavoie

    (@banjorick)

    More info…
    https://tellicokats.com/wp-content/themes/customizr-child/style.css
    I just used my browser to view the style.css again and the “remove page icon” code appears and disappears when I hit the reload button.

    /* Your awesome customizations start right here !
    -------------------------------------------------------------- */
    
    #main-wrapper .format-icon:before {
    content: none;
    }

    Really don’t know what happens..
    Just try this, upload the correct style.css then change permissions to 444 it, and see what happens.

    Thread Starter Rick Lavoie

    (@banjorick)

    Changing permissions to 444 did not help.
    But I’m now noticing that all 3 changes are working on and off…
    Very wierd!
    Go to:
    https://tellicokats.com/find-us/
    Every time I hit reload, my 3 changes appear or disappear on the page.
    Same thing for style.css
    https://tellicokats.com/wp-content/themes/customizr-child/style.css
    The code appears and then disappears each time I het reload!

    Yeah, something weird happens.
    You have to try disabling all plugins and see what happens. If it works then re-activate them one at time, to figure out if some of them is the bad guy.

    Thread Starter Rick Lavoie

    (@banjorick)

    I can place the exact same code into the Customizr “Custom CSS” (under the Customiz’it menu) then all works fine.

    Yeah I remember you said that ??
    The problem is always that you’re not able to use customizr child theme style.css, and this is weird. That behavior is really weird, sometimes that file looks “empty” sometimes not. Really don’t know, maybe it’s not a plug-in related issue neither.
    Sometimes you must proceed by elimination.
    Could be also an hosting related issue.
    Never happened to me, never heard about that.
    Cannot help.
    Hopefully someone could help you more than me.

    Looks like now it loads your child theme style.css ..

    Thread Starter Rick Lavoie

    (@banjorick)

    Yes, I woke up this morning and it is now working. But why?
    There is still a problem. I just changed the footer background from blue to white within the style.css code. The change has NOT occured.
    So there is a big time DELAY. Why?
    If I make the same change using the Customizr “Custom CSS” (under the Customiz’it menu), then the change shows up immediately.

    Could it be that there is a conflict between using “Custom CSS” within Customiz’it, and also using the editor within the “Customizr Child” child theme?
    @nikeo and @electricfeet: have you seen this issue yet?

    I don’t think in a conflict between using “CustomCss” and the editor within “Customizr Child”. Those are completely separated. But I could be wrong.
    Plus I cannot see the reason why yesterday sometimes your style.css were loaded with the “new” version, sometimes with the old one. There’s no reason for that, in my opinion, if not something wrong with server-side caching .. maybe related to your hosting provider.
    But again, I could be wrong.

    Let’s wait for nic and ElectricFeet ..

    Thread Starter Rick Lavoie

    (@banjorick)

    The footer background color changed from blue to white, but there was about a 7 hour delay. I just did the Customizr update.
    Then changed the footer background color back to blue.
    It is still white at the moment. So I’m guesing the update did not address this issue.
    @nikeo and @electricfeet: did the new update address this issue?

    Rick it sounds to me like you are having the same issues that I am having. I have been in touch with the developers at GoDaddy about this. The problem is that the server-side caching that is going on in the wp managed hosting is not working right. As you have seen, it will jump back and forth between earlier and later versions with no input from you.

    Sometimes it will update right away, when you use the “flush cache” feature, other times it will not, or will even go backward to a previous state. Eventually it will catch up to the changes you have made, as they ARE visible in the dashboard editor, and in the files via FTP. But meanwhile, you can’t see the edits on your pages, or you are even seeing edits you made earlier which have since been successfully changed, and those changes were already seen.

    Obviously this is not acceptable. I am waiting to see if they can fix this.

    Thread Starter Rick Lavoie

    (@banjorick)

    Hi Josh,
    Thanks very much for this info! I will contact GoDaddy right away. What you have reported makes perfect sense.

    Just spoke with GoDaddy about this issue. With Managed WordPress if your site is in a production environment you’ll need to flush the cash each time you make a change to your stylesheet. They have the option at the top of the page. If you’re planning on making more than a few changes it would be a good idea to change from a production environment into a staging. There’s a tutorial for that here. https://garage.godaddy.com/webpro/wordpress/set-wordpress-staging-site/

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Issues editing style.css via Customizr Child’ is closed to new replies.