Site logo

Archived topic

Problem with CSS

5 replies · Started by Giuseppe on April 22, 2019

Viewing posts 1–6 of 6

Hi,

on one page I added CSS code in the text editor, as shown below:

<div class"my-contenitor">
<div> Text 1 </div>
<div>Text 2 </div>
</div>

Then I added the simple css plugin, and gave the attributes and values ​​to the classes, as shown below:

.my-contenitor {
background-color: orange;
width: 200px;
height: 200px;
}

However it does not work. Can anyone explain to me why? Where am I wrong?

Thanks

Hi there,

could you share a link to the page with that code on?
You can edit your original topic and use the Site URL field for privacy.

Hi David,

I disabled all plugin and now the code works.

Now I need to understand which plugin generates the conflict.

Thank you for now!

Was any of them a caching plugin? Or JetPack?

Hi David,

it was a plugin cache because now I use new plugin for cache (WP Fastest Cache) and the problem seems to have disappeared.

Thanks for letting us know, Pesky Caches :)

This archived topic is closed to new replies.