How to apply Static.css

Hey guys,

I have already trying to browsing the forum back and forth, but I still confused about how to apply static.css

Can u give me the explanation in detail how to apply this?

Based on this http://themes.muffingroup.com/betheme/documentation/#static-css and my theme version already beyond 9.6

Already trying to find the styles mention in the documentation in header.php and not finding them, I'm afraid to have mistaken here, because the styles that look alike in the documentation can be found in style.php and style-colors.php.

So I somewhat confused what to do, am I to copy from style.php and style-colors.php OR from header.php, if from header.php what section do I copy?

And in the style-static.css
/* 
* Static CSS Styles
*
* Place static CSS styles here.
*
* For more info please see: http://themes.muffingroup.com/betheme/documentation/#static-css
*/

/* paste header dynamic styles content below */

I see 2 section in here
1. for "Place static CSS styles here."
2. for "paste header dynamic styles content below"

Can you give detail what to in here?
Like:
1. Copy Paste the style.php
2. Copy Paste the style-colors.php?
What to do in precise in here?

Really need to apply this to improve my web page speed.

Thanks for the help guys

Comments

  • Hi,

    if you use such an old version where style.php and style-colors.php files were supported, you need to follow the steps from above documentation before the UPDATE!!! note where we also explained how to copy it's css. All you need to do is open those files in the browser and copy it's results. So the steps are following:

    1st step - open style.php file in browser.
    2nd step - copy it's result and paste into style-static.css file.
    3rd step - open style-colors.php file in browser as well.
    4th step - copy it's content the same way as in 2nd step.
    5th step - go to Theme options > Global > Advanced section and activate Static CSS option.

    That's all you need to do.
  • Hi,

    Thank you guys. Gonna try this one.
  • edited April 2018
    Hello there, just to make sure: What if i have enabled static css and need to edit something and then return to static? 

    Should i deactivate the Static CSS Option, edit, publish, and the repeat the steps? 

    Thx in advance

    P.s: I don't know why i can't edit my profile picture... i'm not angry at all with this theme, it's a life saver.
  • Hi,
    the profile picture is not really related to the theme because it is a wordpress feature.
    Yes, you should disable the static css and then create it again after you make the changes.
    thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.