Home > other >  How to remove a css style from elementor-lite.min.css file
How to remove a css style from elementor-lite.min.css file

Time:11-26

How to remove a line from elementor plugin frontend-lite.min.css file without editing this file?

This is the style

.elementor iframe
{ width: 100%;
  margin: 0;
}

If I want to remove this line: ,width: 100%;, is there anyway I can do that without editing the css file? I try to give width different value, but none of them work in my situation. The only way to fix my problem is to remove this line.

Thank you.

CodePudding user response:

Link your preferred CSS class attributes in a file after the Library

Example:

<link rel="stylesheet" href="library.css">
<link rel="stylesheet" href="style.css"> <- Your CSS file with preferred attributes

Or alter with JS DOM

CodePudding user response:

Try to change it by JavaScript or using jQuery. Catch it by class name ex.

document.getElementsByClassName('elementor iframe').style.width = "width you want";
  • Related