Placing element.style Coding.

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/8/2012 9:37:43 PM
Gravatar
Total Posts 55

Placing element.style Coding.

Hi, I was wondering where I can paste this code. 

element.style {

color: white;
font-weight: normal;
font-size: 11px;
line-height: 18px;
}

I'm trying to edit the text color on the HTML content modules on my site. I tried pasting this onto style.css and it didn't work.

Where is the appropriate place to place this snip of code?

1/9/2012 5:19:29 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Placing element.style Coding.

element.style isn't a CSS selector. It's a Firebug indicator of styling that's being applied directly on an element through HTML or JavaScript. So you'll need to find the actual element that you want to style, add a CSS class to it if necessary, and style that (possibly with !important to force an override). Unfortunately it may require a lot of trial and error to get it right.

I ran into something similar and Joe helped me in this thread.

Jamie

You must sign in to post in the forums. This thread is closed to new posts.