Redundant CSS Code?

Posted in: Newsmag
Post count: 53

I was trying to minify the CSS on the NewsMag, but noticed that even if I use Autoptimize for creating a single and Minify CSS, the NewsMag is loading a full CSS within the HTML of the front page and the posts. I try even disabling all plugins except Visual Composer and this problem is still there.

This is some kind of redundant code I guess, so how do I get it off?. I scan your code on https://demo.tagdiv.com/newsmag/ and is certainly very clean of this redundant CSS.

My website: https://www.tekcrispy.com and if you scan the code, the CSS I’m referring to start at the line ~120 of the source code.

Post count: 23312

Hello pacoesni,

Unfortunately, our theme does not have such an option to minify the style.css file and we cannot recommend any plugins with this functionality because is not tested with our theme. For minifying this file, we are using CloudFlare for our demo and works fine. If you want to read other views from our users, please check this topic -> https://forum.tagdiv.com/topic/tip-how-to-easily-minify-your-css-without-breaking-your-site/

One of our top members here on the forum wrote his own optimization tutorial here:
https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/ and here -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/

Hope this helps!

Thank you for the message!

Post count: 53

Ok, so let me re-state my question and forget the thing about minify, How do I rid off the “redundant CSS code” that is appearing on my HTML? Redundant because it’s also appearing on my main style.CSS.

Post count: 23312

Hello pacoesni,

Please note that our theme has no redundant CSS code. All code base is very useful to bring the best results and none of them is extra. If you want to get rid of it some code you should do it yourself because this request is not part of our support and we cannot provide custom work at the moment, sorry!
If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you!
Usually we recommend the developers from studio.envato.com

Thanks for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newsmag’ is closed to new topics and replies.