Tagged: child theme, enfold, minify, style.css
-
AuthorPosts
-
February 5, 2016 at 5:14 pm #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=2Thank you
- This topic was modified 8 years, 10 months ago by Mercheric.
February 5, 2016 at 5:40 pm #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, 10 months ago by Mercheric.
February 8, 2016 at 6:03 am #579353Hi,
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,
RikardFebruary 8, 2016 at 10:25 am #579464Hi 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, 10 months ago by Mercheric.
February 8, 2016 at 1:40 pm #579595Hey!
Try doing a hard refresh and see if it gets fixed:
http://refreshyourcache.com/en/cache/Best regards,
JosueFebruary 8, 2016 at 1:47 pm #579604Nothing 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″ 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)February 9, 2016 at 7:58 am #580178Hey!
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,
IsmaelFebruary 9, 2016 at 9:18 am #580221Hi Ismael.
Sorry, I disabled them for security reasons. I’ll enable it right now for you if you want to check again.Riccardo
February 11, 2016 at 1:39 pm #581603Hi!
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,
AndyFebruary 11, 2016 at 3:06 pm #581649Hi 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 ?February 11, 2016 at 6:12 pm #581791Hey!
Would be better to have a FTP access, can you provide us that via private reply?
Regards,
JosueAugust 30, 2016 at 1:02 am #679214Hello,
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?
August 30, 2016 at 8:39 pm #679668Browsers cache resources so they aren’t downloading unnecessarily. Clearing the browser cache is actually very simple:
https://wiki.scratch.mit.edu/wiki/Help:Hard_RefreshBest regards,
JosueAugust 30, 2016 at 8:42 pm #679674Josue, 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.
August 30, 2016 at 9:01 pm #679693We can’t change how browsers work, what code are you using to include your large CSS file?
August 30, 2016 at 10:14 pm #679729No code, I’m editing the Enfold Child Theme Style.CSS file.
August 30, 2016 at 10:55 pm #679737You 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' );
-
AuthorPosts
- You must be logged in to reply to this topic.