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.

#115020 Column classes dropdown missing / not showing all

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 livebuzz on Wednesday, 01 November 2023 15:49 GMT

livebuzz
Hi,

I've found recently that all of the classes available from my custom style sheet aren't available to select from the column dropdown menu. Please see attached screenshots.

The link to the stylesheet is here:
https://www.internetretailingexpo.com/templates/irx/css/backend-template.css

It's possible it's due to a recent update to Joomla 4.4....

JCE version 2.9.41

Please can you advise. Let me know if you need access.

Thanks,
James

Attachments

Ryan
I've found recently that all of the classes available from my custom style sheet aren't available to select from the column dropdown menu. Please see attached screenshots.


Are the classes available in the Styles list? Can you see the effect of the classes on editor content?

Ryan Demmer

Lead Developer / CEO / CTO

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

livebuzz
Hi Ryan,

Thanks for your quick response.

Most of the classes are available in the Styles list, but not all of them.

I can manually add the classes that aren't listed via the 'Code' view, as a workaround.

Please note, I've just updated to version 2.9.51 too.

Thanks,
James

Ryan
Please send me a login -> https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

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

livebuzz
That's been sent now.

Thanks,
James

Ryan
I'm seeing an equal number of classes in the Columns Classes list as in the Styles list in the editor toolbar. In your screenshot above, you appear to have typed something into the Classes list ("box-brackground"), which will trigger the list filter function. If nothing matches the typed in text, then nothing is shown in the list, but the typed in class will still be applied. The reason that some classes are not shown in the Classes or Styles lists is that the selector value is too complex, and only single class selector values are included, eg: "some_class" .some_class is included but not "some_class" .some .some_class The box-background class selector fits this criteria as it is .box-background .wf-column in your stylesheet. If you add an empty value above this in your stylesheet of .box-background {} then it will be included, eg:

.box-background {}

.box-background .wf-column {
  align-items: center;
  background-color: #141747;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 2rem;
  text-align: center;
}

Ryan Demmer

Lead Developer / CEO / CTO

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

Ryan
Please try JCE Pro 2.9.52 Beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development

This fixes seletion of custom classes in the Classes list, to reset the filter so predefined classes are avilable for selection again.

Ryan Demmer

Lead Developer / CEO / CTO

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

livebuzz
I've just installed the 2.9.52 Beta version, but this still have the same issue. Can you check this is the same for you please?

Your other workaround does work, however if you're working on a new version, we can wait for this...

livebuzz
Hi Ryan,

Just checking if you had a chance to look at my latest comment for this please, so I can update my client?

Thanks,
James

Ryan
[quotePost id="115045"]I've just installed the 2.9.52 Beta version, but this still have the same issue. Can you check this is the same for you please?

Your other workaround does work, however if you're working on a new version, we can wait for this...[/quotePost]

Did you add the "box-background" classes to your stylesheet as suggested?

Ryan Demmer

Lead Developer / CEO / CTO

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

livebuzz
Yes, however, you mentioned:

"Please try JCE Pro 2.9.52 Beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development

This fixes seletion of custom classes in the Classes list, to reset the filter so predefined classes are avilable for selection again.
"

But this didn't seem to work for me, and was holding off on manually adding all the classes that aren't appearing to the stylesheet in the other format suggested, as this would be something we'd have to do for all of the websites in our portfolio using JCE...

Thanks,
Mark

Ryan
One of the issuses that was fixed was an error when typing in a custom class that was not in the list and pressing Enter, which should create an item in the Classes field (as if you had selected the class from the list). This would also then reset the list filter, allowing the rest of the classes in the list to be seen and selected.

In your case, this would allow you to type in the "box-background" class name and press enter to select it.

JCE Pro 2.9.52 RC is now available - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

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

Ryan
For example:

https://cdn.joomlacontenteditor.net/tmp/115020-column-classes-dropdown-missing-not-showing-all.gif

Ryan Demmer

Lead Developer / CEO / CTO

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

livebuzz
That's great, thanks for your time and clarifying 😃

Cheers,
James