What is the Difference?

Posted in: Newspaper
Post count: 140

What is the difference between Newspaper Theme CSS and http://demo.tagdiv.com/newspaper theme CSS?

There is the huge difference in CSS file size between your demo CSS and theme CSS. To optimize loading theme, i did try to minify CSS using various online minifiers. But all them getting crashed due to 20K and above lines in CSS file.

How can i optimize like http://demo.tagdiv.com/newspaper like CSS? Or can i use the CSS from http://demo.tagdiv.com/newspaper ?

Post count: 9544

You can minify the style.css file by following my tips in my pagespeed optimization sticky post, as well as other tips/tricks for speeding up/optimizing your site — including a new method of compressing .js files without breaking them, recommended by Google. 🙂

Post count: 140

Hi

I did tried various online minification tools to minify the Newspaper theme CSS and Visual composer CSS.

When i try to minify the CSS files using online minifier tool, browser getting crashed. Will you please suggest me the better way to minify CSS files without any issues?

Post count: 6600

Hi,

You can find Chris’s recommendations in this regard here: https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/#post-37493 so you can try like he recommends doing this.

You can also try and test the minified version we use on our demo: http://demo.tagdiv.com/newspaper/wp-content/themes/011/style.css?ver=6.5_d38 but make sure that you use latest theme version.

We use cloudflare’s mifnication on our demo without any issues. We still need to test this more rigorously and we will do that in the next few days so we can be positive in this regard but you could try it yourself and see how it goes. We will update this tread once we test this and have and accurate answer on this.

Thanks!

Post count: 140

@Lucian

Thanks for your reply. Instead of using Cloudflare, will you recommend some offline 3rd party tools to minify CSS files?

(Note : Tried various online tools which leads to crash my browser)

Post count: 9544

The online CSS minifier should not “crash your browser” when using it … you might want to try a different web browser like Chrome, where it works perfectly on both Mac and PC.

It’s what I use to minify CSS for all my sites.

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.