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
- Forum
- JCE Plugins / Addons
- Hide image caption parameters for Frontend editors
Support is currently Online
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Hi Ryan,
In a frontend editing situation, we want to hide the parameters that are offered in the Add caption dialog box for images (see also screenshot). We want our frontend editors just to submit the caption text; all styling is taken care of in the site's global styling. However:
- We cannot find settings to hide them in the Profile management.
- We also tried hiding them by changing the css in media/jce/css/plugin.css, however this has no effect.
Hope you can help us out on this one?
In a frontend editing situation, we want to hide the parameters that are offered in the Add caption dialog box for images (see also screenshot). We want our frontend editors just to submit the caption text; all styling is taken care of in the site's global styling. However:
- We cannot find settings to hide them in the Profile management.
- We also tried hiding them by changing the css in media/jce/css/plugin.css, however this has no effect.
Hope you can help us out on this one?
Joris
marked this post as Resolved — 2 years ago
This worked in my tests:
[data-plugin="caption"] #text_tab > .uk-form-row {
display: none;
}
[data-plugin="caption"] #text_tab > .uk-form-row:first-child {
display: block;
}
[data-plugin="caption"] #preview {
display: none;
}
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Thanks, but for publishers we prefer the more intuitive caption buttons, if possible.
We expected this code in {media/jce/css/plugin.css} to solve our problem:
But still there. What do we miss?
We expected this code in {media/jce/css/plugin.css} to solve our problem:
[data-plugin="caption"] .uk-active div.uk-form-row {
display: none;
}
[data-plugin="caption"] .uk-active div.uk-form-row:first-child {
display: unset;
}
[data-plugin="caption"] #preview {
display: none;
}
But still there. What do we miss?
As an alternative to the Caption dialog, why not try the Figure format? This will create a <figure> element around the image with a <figcaption> element for the caption text. You can then style this as required using the sites css, eg:
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!