questions

Two style files and conflict issue in use on one page

Rate this post

in my css file there is a class called .header This class also exists in WordPress’ stylesheet as a result, both style files I call have the same class and the last one has an effect. as a result, unwanted results occur

the solution is probably this;

#custom-div .header{
color:red;
}

but my style file is too big. It will be very difficult to add this to the beginning of the whole classes.

Is there any other solution?

 

✔️Solution:

WordPress Admin Dashboard > Appearance > Customize > Additional CSS >

#custom-div .header{
color:red !important;
}

This code copy paste and Published.

Leave a Reply

Your email address will not be published.

Back to top button