Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #578603

    Hi Kriesi Team.
    I have a big issue with my Multisite install using Enfold as father theme and various children themes for each site in the network.
    I am trying to update one particular stylesheet located in wp-content/archicad/style.css, I save and upload the new version, but the file online is always the old one and it is minified.
    It is not a cache problem because others stylesheets in others child-themes are not being minified and are being updated normally.
    I do not have cache plugin, and no minify plugin installed.

    What’s going on?
    here you have the link to the website: http://archicad.fr/start-edition-riccardo2/
    and here you have the link to the stylesheet: http://archicad.fr/wp-content/themes/archicad/style.css?ver=2

    Thank you

    • This topic was modified 8 years, 9 months ago by Mercheric.
    #578628

    …one more strange thing:
    if you take a look at the footer in this page: http://archicad.fr/start-edition-riccardo2/
    it has different colors than in all other pages! what’s that??? the css files are the same.

    thank you again

    • This reply was modified 8 years, 9 months ago by Mercheric.
    #579353

    Hi,

    What happens if you transfer the CSS to Quick CSS instead? Please send us an admin login in private so that we can have a closer look.

    Best regards,
    Rikard

    #579464

    Hi Rikard.
    Thanks for your help.
    I tried to put the style.css in Quick CSS and it is correctly updated.
    And I would like to use style.css in my child theme and not the quick css.

    Now, in the head, you can see a style.css?ver=2 (the one not working)
    and a style.css?ver=4.4.1 (that I added manually to make the css work)

    Thank again!
    Riccardo

    • This reply was modified 8 years, 9 months ago by Mercheric.
    #579595

    Hey!

    Try doing a hard refresh and see if it gets fixed:
    http://refreshyourcache.com/en/cache/

    Best regards,
    Josue

    #579604

    Nothing changes.
    If you see this line in the <head> code:
    <link rel=”stylesheet” id=”avia-style-css” href=”http://archicad.fr/wp-content/themes/archicad/style.css?ver=2&#8243; type=”text/css” media=”all”>
    and the CSS in that file is minified, means that it is an old version. All the others sites in my multisite are using style.css not minified and correctly updated (ex: http://ivisit360.com/wp-content/themes/ivisit/style.css?ver=2)

    #580178

    Hey!

    I would like to check the plugins and editor panel but it’s not there even if I go to the multisite dashboard. Did you disable those panels for the current user?

    Regards,
    Ismael

    #580221

    Hi Ismael.
    Sorry, I disabled them for security reasons. I’ll enable it right now for you if you want to check again.

    Riccardo

    #581603

    Hi!

    try to deactivate all plugins to check if one is causing this issue. Editor panel is still not available for me, please check and let us know when we can take a look into it.

    Best regards,
    Andy

    #581649

    Hi Andy.
    Already tried to deactivate plugins, and it does not change anything.
    And I just have the plugin editor in multisite, not the theme editor. How can I enable it ?

    #581791

    Hey!

    Would be better to have a FTP access, can you provide us that via private reply?

    Regards,
    Josue

    #679214

    Hello,

    I’m having this exact same issue. Could you solve it?

    Quick CSS changes work but I have a large CSS file and I have to use the stylesheet from the child theme.

    I’m able to see the changes once I clear the cache of my browser. The problem is that I can’t make my clients clear their cache everytime I make a change.

    Can you help me?

    #679668

    Browsers cache resources so they aren’t downloading unnecessarily. Clearing the browser cache is actually very simple:
    https://wiki.scratch.mit.edu/wiki/Help:Hard_Refresh

    Best regards,
    Josue

    #679674

    Josue, yes, that would work only for me, but what about my clients? I can’t tell them to “Hard refresh” their browser everytime I make changes to the site.

    #679693

    We can’t change how browsers work, what code are you using to include your large CSS file?

    #679729

    No code, I’m editing the Enfold Child Theme Style.CSS file.

    #679737

    You could try changing this line in functions.php:

    wp_register_style( 'avia-style' ,  $child_theme_url."/style.css", array(), 		'2', 'all' );
    

    To:

    wp_register_style( 'avia-style' ,  $child_theme_url."/style.css", array(), 		null, 'all' );
    
Viewing 17 posts - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.