WordPress.com editor removes transform property
-
I want to center a child div within a parent div container with an image (so that the child div hovers above the image). It can be done with little css tweaking, in essence the parent div is position:relative and the child div is position:absolute. The child div is then positioned in the center of the parent div (top:50%;left:50%), but this puts child div’s top left corner in the center. To fix that, one uses transform:translate(-50%,-50%) property.
It all used to work marvelously as one can see here: https://fiktivny.travel.blog/zapisky/slovensko/
However, if I now want to edit the page, or even make a simple copy of the aforementioned page, upon saving WordPress removes every transform:translate property from the source code, so newly saved pages are not displayed as intended, see here: https://fiktivny.travel.blog/
What gives? What changed in the past 2 years I did not edit the pages, so that the transform: translate property now mysteriously disappears?
The blog I need help with is: (visible only to logged in users)
-
Incorrect second link supplied in the first post, the correct one is
https://fiktivny.travel.blog/slovensko/
This is a carbon copy of the first page, only upon saving it WordPress.com simply removes the said transform property).
- The topic ‘WordPress.com editor removes transform property’ is closed to new replies.