You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#107012 Custom html module changes?

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by ant on Friday, 05 March 2021 09:27 GMT

ant
Hello on this page https://www.antoniocornacchia.com/esplorazioni/io-sono/io-sono-te there is a custom module with this content:

<div style="z-index: 995; letter-spacing: -2px; font: bold 104px Montserrat; text-align: center; position: fixed; margin-right: auto!important; margin-left: auto!important; width: 100%!important; padding-top: 55vh;" contenteditable="true"/>Scrivi qui il mio nome.</div>
where the text "Scrivi qui il mio nome.” is inside the div. In the frontend page it is outside the div, so I get it in the left high corner instead of the correct position. The page code results:

<div class=customvisible-desktop><div style="z-index: 995; letter-spacing: -2px; font: bold 104px Montserrat; text-align: center; position: fixed; margin-right: auto!important; margin-left: auto!important; width: 100%!important; padding-top: 55vh;" contenteditable=true></div>Scrivi qui il mio nome.</div>
Is it possible that JCE "change" it? Thanks

Ryan
There is a small mistake in your code, with a closing slash in the div, eg: contenteditable="true"/> which should be removed, so the code should be:

<div style="z-index: 995; letter-spacing: -2px; font: bold 104px Montserrat; text-align: center; position: fixed; margin-right: auto!important; margin-left: auto!important; width: 100%!important; padding-top: 55vh;" contenteditable="true">Scrivi qui il mio nome.</div>

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

ant
Yes it is. Thanks a lot