Contents of style.php and style-color.php into style-static.css (For CHILD theme)

edited December 2015 in Theme support
I'm following the instructions on Betheme's documentation (http://themes.muffingroup.com/betheme/documentation/) found under 14. Static CSS / Page speed. Couple of questions:

1) Betheme child doesn't have style.php, style-color.php, or style-static.css. 
Should i make copies of these files from the  parent theme and put the copies in the child theme's directory?

2) The 1st instruction states: "get & copy the entire content from both into style-static.css".... 
My question  here is: style.php and style-color.php both contain php code....should i copy the php code into style-static.css as well? (php in a css file?).

3) Depending on your answer to 2), should copy the content and paste it into style-static.css, or should i cut the content and paste it into style-static.css?

4) Finally, if i go to the BeTheme options > Global > Advanced section and turn ON the Static CSS button, and then change my mind and decide that I want the site as it was before turned on the Static CSS button, can i just turn off the static css button and the site will be as it was before?

Comments

  • Hi,

    1) We do not use dynamic css anymore. So files like style-colors.php or style.php do no longer exist.

    2) Did you read the instructions carefully? Because if you look at http://themes.muffingroup.com/betheme/documentation/#static-css you will see the following message:

    After having finished your website, open YOUR style.php and style-colors.php files in your web browser.

    what means that we do not meant PHP content but the result of those files. However, like we wrote, those files does not exist so if you use new theme version, you supposed to read what we wrote after UPDATE!!! part.

    3) Content should be pasted into static.css but since we do not use dynamic css no longer, static css won't speed up your site because now we are loading all styles in header.

    4) Yes, you can only switch the button OFF and the site would be the same as before.
  • Understood, thank you.

    Well, i think it's best that I upgrade to the latest of Betheme now!...just a quick question about that:  

    I'm using BeTheme-Child (which was included in the downloaded zip file when i first downloaded the product from themeforest), so can I just download betheme.zip and upload that?...will it be fine to use latest version of parent theme with original child theme?
  • Yes, you can download and update only parent theme of course.
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.