is there a way to set a background color for an article with jce editor? Or is it possible to set a background color or an image as a background in a block?
Thanks.
Tobias
A content editor for Joomla!®
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
Please create a new Ticket and we will get back to you as soon as we can.
Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Latest post by Ryan on Wednesday, 11 May 2022 10:50 BST
is there a way to set a background color for an article with jce editor?You could probably do this by wrapping all the content in a div tag with a special class attribute that styles the div (best done in the Code editor), eg:
<div class="content-bg-1">
Your content...
</div>
then add the class to your template stylesheet, eg:
.content-bg-1 {
background-color: #eee;
}
but how effective this is will depend on how your template lays out the article content.
Or is it possible to set a background color or an image as a background in a block?Assuming you mean a column created using the Columns tool, again the best way is to use a css style in your template stylesheet, eg:
.content-bg-1 {
background-color: #eee;
}
and then to select and apply this to the Columns using the Classes list in the Columns dialog, which I have just added in JCE Pro 2.9.21 Beta - 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 Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Ryan Demmer
Lead Developer / CEO / CTO
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Your post is being submitted…