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.

#101864 clearfix class has no effect in the edit / preview mode

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 GreezeLee on Wednesday, 27 November 2019 11:08 GMT

GreezeLee
On my webpage, the "clearfix" class has no effect in the edit oder preview mode. But it works correct with the published article.
I.e. the following html code works fine on the Demo page (https://demo.joomlacontenteditor.net). But not on my page. What is the problem on my page?
<div class="clearfix"><img style="float: left;" src="https://www.joomlacontenteditor.net/images/sampledata/cockroach.jpg" alt="cockroach" width="381" height="229" />Text Right</div>
<div>Text Below</div>

Attached are two screenshots of both pages:
- The screenshot of the demo page that looks ok.
- The screenshot of my page, where the clearfix has no effect in the edit mode.

Thank you for your support!

Attachments

Ryan
Please post a link to an example on your site.

Ryan Demmer

Lead Developer / CEO / CTO

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

GreezeLee
I've sent a private message with an account for the website.
Thanks.

Ryan
Your sites template is using a non-standard default path for it's template.css file, so JCE is unable to load this automatically, to style the editor contents.

I have updated the Editor Styles and Custom CSS Files options in the Editor Global Configuration on your site to fix this.

Ryan Demmer

Lead Developer / CEO / CTO

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

GreezeLee
That's the solution.
Thank you very much for your support!

Andreas