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
- Background color for blocks
Support is currently Offline
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Please post your question in the Forum and we will get back to you as soon as we can.
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
Just because you're not paranoid doesn't mean everybody isn't out to get you.
Please send me a login - https://www.joomlacontenteditor.net/contact/site-login
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!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »