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.

#104449 Add a custom.css file to overwrite JCE admin layout?

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 Ryan on Tuesday, 02 June 2020 12:36 BST

saraheagle
Hello, is it possible to add a custom.css file so I could overwrite the JCE admin layout?

For example here, I would like to hide the first 3 tabs so the admins cannot pick any old colour, just the ones I have selected for them.
It would mean that you don't always need to add options for more advanced JCE users as they can tweak things like this themselves.



Thanks

Attachments

Ryan
Please try JCE Pro 2.8.13 Beta 5 - https://www.joomlacontenteditor.net/downloads/editor/pro/development Then use the following css in a plugin.css file located in media/jce/css/ :

#colorpicker_tabs > ul li {
	display: none;
}

#colorpicker_tabs > ul li:last-child {
	display: block;
}

#colorpicker_tabs .tab-content > div {
	display: none;
}

#colorpicker_tabs .tab-content > div:last-child {
	display: block;
}

Ryan Demmer

Lead Developer / CEO / CTO

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