0
Welcome Guest!
Login
0
items
Join Now
Login
Join Now
Search
Home
Grav
Themes
Joomla!
Templates
Extensions
WordPress
Themes
Plugins
Docs
Forum
Perks
Index
Recent Topics
Rules
Search Forum
Premier Support
You are here:
Forum
General
The Water Cooler
Topic
How to change the background color of Articles?
Last Post
Search Topic
JEM
Preeminent Rocketeer
Posts:
17917
Thanks:
4
How to change the background color of Articles?
Posted 16 years 9 months ago
I'm using J1.5 and Joomla Content Editor....
Here's what I want to do:
6 articles - Blog Category Layout - 1 article per row - 6 rows.
Articles 1,3,5 have the 'standard' white background.
Articles 2,4,6 have a light green background
So, the article colors alternate white / green.
I've done this in a single article using tables but need separate articles this time.
When I tried to do it using JCE, I was surprised to find that you can only highlight text, not change the color of the entire background.
On Jooml.org, someone suggested:
Add the following lines to template_css.css
.bgc {
bgcolor: #D3E4A0; <<< (the color I want)
}
and edit HTML like this:
<div class="bgc">your content here</div>
Tried that and it didn't work...
So, I am wondering...
Did I place the info in the correct css file?
Did I edit the article correctly in JCE / HTML view?
How is it done....?
Last Edit:
16 years 9 months ago
by
.
Thanks,
jim
#199542
Time to create page: 0.047 seconds
Powered by
Kunena Forum