Dark text on home page in K2 content module set to mainbody {SOLVED}

GK User
Mon Feb 14, 2011 2:37 am
Hello everyone,

For some reason the articles that I have chosen to display on the home page (K2 content module in mainbody position) is really, really dark.

When I "inspect element" in Chrome, it shows that it is <div class="moduleItemIntrotext"> and inside of that the text is <span class="Apple-style-span"> and the text is set to be #333333.

I changed the k2.css (within the template area in the Joomla! admin) to this:
Code: Select all
.latestItemIntroText,
.genericItemIntroText,
.userItemIntroText,
.catItemIntroText,
.itemIntroText { font-color:#ffffff; font-size:inherit; font-weight:normal; line-height:inherit; padding:4px 0 12px; }


And even after that, it still shows the same!
Code: Select all
<span class="Apple-style-span" style="color: #333333; font-family: 'lucida grande',tahoma,verdana,arial,sans-serif; font-size: 13px; text-align: left;">blah blah blah.<span class="Apple-converted-space"> </span><br>blah blah, blah blah blah<br></span>


I have looked through the css files and I cannot for the life of me figure out where the that is located to fix it? As it is, it is unreadable because it is so dark.

What can I do? Where shall I look for that?

You can see what I am talking about here (sorry, the DNS hasn't transferred yet)
User avatar
Junior Boarder

Konrad M
Mon Feb 14, 2011 11:34 am
Hi try put in to override.css

Code: Select all
body#bd {
color:#FFFFFF;
}
User avatar

GK User
Mon Feb 14, 2011 4:30 pm
Thank you, Konrad for your kind reply. I tried that and if you look at this page, the text is still dark.

Is there anywhere else I should look or something else I should change?
User avatar
Junior Boarder

GK User
Mon Feb 14, 2011 6:55 pm
Hi

Please don't "copy and paste" pre-formated text from some webpage or doc file.
This will brink up this problem.
Clear up text formation and your problem will be over.

Cheers ;)
User avatar
Platinum Boarder

GK User
Mon Feb 14, 2011 8:57 pm
Thank you, gentlemen! But this is odd. I typed the part directly into override.css just now, as was suggested, cleared both the cache and expired cache and the text is still very dark, however, on this page, the text looks fine. The latter is the category, while the former (still dark) is to the article itself...
User avatar
Junior Boarder

Konrad M
Tue Feb 15, 2011 8:55 am
On this site with dark text, text is in span with this sorcode:
Code: Select all
<span style="font-family: 'lucida grande',tahoma,verdana,arial,sans-serif; font-size: 13px; text-align: left; color: rgb(255, 255, 255);" class="Apple-style-span">


It look's that you still have some pre-formated text
User avatar

GK User
Tue Feb 15, 2011 2:46 pm
Well I'm totally baffled now. :huh:

I hand-typed the entire contents of override.css into a new NotePad++ document, with no font formatting, no copying and pasting, and overwrote the file on the server. And now neither the override for the gtranslate select drop-down list, nor the text color of the K2 module are working. What in the heck?
User avatar
Junior Boarder

GK User
Sun Feb 27, 2011 2:05 pm
Issue resolved! I found some formatting that had snuck its way into the article and removed it and voilá!

Thanks for your help, guys, the override.css works perfectly! :)
User avatar
Junior Boarder


cron