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.

#100220 Gaps between Paragraphs and Custom Classes

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 spaabus on Thursday, 13 June 2019 19:38 BST

spaabus
In my editor there are gaps between my paragraphs and headlines that don't represent how it is going to look on the front end. How do I get rid of those gaps in the editor? Also, I have some custom classes in my Joomla Template. How do I get those to show up as options like the "Format" dropdown shows the "h" tags?

Attachments

Ryan
Please post a link to your site so I can see what css files the template is using.

Ryan Demmer

Lead Developer / CEO / CTO

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

spaabus
Makes sense. The site is http://www.stunewslaguna.com and http://www.stunewsnewport.com. Thanks.

Ryan
On both sites you have a file in the template css folder called editor.css which contains:

@import url(template.css);

body { 
	/*font-family: Arial, Helvetica, sans-serif;*/
	margin: 10px;
	background: white;
	color: black;
}
Edit this file, so it includes @import rules for the other css files loaded in the front-end, ie:

@import url(bootstrap.css);
@import url(template.css);
@import url(custom.css);

body { 
	/*font-family: Arial, Helvetica, sans-serif;*/
	margin: 10px;
	background: white;
	color: black;
}

Ryan Demmer

Lead Developer / CEO / CTO

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

spaabus
That worked. BRILLIANT.
:D