Jump to content

Avoid @import CSS


Himanshubishtt

Recommended Posts

Hi everyone,

I have a website on Prestashop 1.7.2

And I am using a paid theme. So my question is how to avoid @import CSS from theme.css.

What I tried is :

I have been trying to remove @import CSS in theme.css. And I successfully managed to do it. And also it increased my website performance significantly.
But after making changes website is not loading proper fonts as well as font awesome icons cause I think I did something wrong. And the main menu in the mobile browser is also lost (Screenshot).
 
So, 1.png is the default CSS and 2.png is what I changed. And those href is a file I saved in a directory outside the main CSS.
 
If anyone knows how to remove @import CSS then please help us.

Thanks in advance :)

1.png

2.png

Screenshot_2019-05-16-11-38-16-831_com.android.chrome.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...