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 Editor
- Text color attributes with Gantry 5
Hi I am using Gantry 5 to generate Joomla templates but one thing I have noticed is that if I use text colours from JCE in article editor the attributes are added to the HTML correctly but they are no rendered on the front end - they just come out in standard text colour.
How can I change this behaviour so that specific colours chosen in the editor are actually displayed correctly?
How can I change this behaviour so that specific colours chosen in the editor are actually displayed correctly?
You can also use css to apply a style to the first letter in a paragraph. Edit the Poems menu item, and add the Page Class value of poems in the Page Display tab. Then add the following to the custom css file:
.poems p:first-letter,
.poems h3:first-letter {
color: red;
font-weight: bold;
}
Just because you're not paranoid doesn't mean everybody isn't out to get you.
See this - https://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
and in the custom css file add:
Alternatively apply the Bold to the text first, then the color.
and in the custom css file add:
strong {
color: inherit;
}
Alternatively apply the Bold to the text first, then the color.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
more than a month ago
·
#112357
Thanks
I know its not related to JCE but any idea how to override a CSS file? I don't want to edit the main file as updates will overwrite it.
I know its not related to JCE but any idea how to override a CSS file? I don't want to edit the main file as updates will overwrite it.
more than a month ago
·
#112348
I am upgrading a site from Joomla 3 to 4 but in the process had to change template as the J3 template was not upgradable.
I have a page of poetry with initials highlighted
Here is the J4 link (work in progress)
https://www.tanya.lairdswood.com/poems
Compare to the J3 original version
https://www.tanyaanisimova.com/poems
I have a page of poetry with initials highlighted
Here is the J4 link (work in progress)
https://www.tanya.lairdswood.com/poems
Compare to the J3 original version
https://www.tanyaanisimova.com/poems
- 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!