| Author |
Message |
wolfseye Hangin' Around

Joined: Feb 06, 2008 Posts: 27
|
Posted:
Thu Feb 14, 2008 6:56 pm |
|
Hi,
in the theme I am using it seems the style.css is preventing me from choosing a different color & size in a Content Article i did. Could you give me a little hint what it could be what I am looking for, since there is quite some stuff in the .css file.
Hope you can help me.  |
|
|
 |
 |
fkelly Moderator

Joined: Aug 30, 2005 Posts: 2182 Location: near Albany NY
|
Posted:
Thu Feb 14, 2008 7:02 pm |
|
What theme?
You asked for hints. Okay, first a lot of the time you need to delete the cache and even delete the cache and close the browser to get style changes to show up. Second, one good way to see what style is affecting a section of text is to do view source. Use the find command on that to see the text you are trying to change. Then see what styles may be affecting it. You could be surprised. Then go try to change those styles. |
|
|
|
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 4853
|
Posted:
Thu Feb 14, 2008 7:12 pm |
|
The format for most content types, including the Content module, are overridden by classes that are defined by CSS. FCKeditor can't do anything about that, unless you cause it to use a different class. Basically, as fkelly suggests, you can change the CSS in your theme's style class. |
|
|
|
 |
wolfseye Hangin' Around

Joined: Feb 06, 2008 Posts: 27
|
Posted:
Thu Feb 14, 2008 7:14 pm |
|
In the source I found this class above the part that I wanted to have in different Font Size & Color.
| Code: |
.content
{BACKGROUND: none; COLOR: #FAFAFA; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica} |
I tried removing this line from the style.css, deleted my cache, closed my Browser, opened it again but its still the problem.
The Theme is btw called FLAME.
Wasnīt there a Firefox addon where you could change the CSS and look what happens live in the Browser, without actually writing to the CSS. d***, forgot what the name of that was. |
|
|
 |
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 4853
|
Posted:
Thu Feb 14, 2008 7:47 pm |
|
Is that the only content class in your style.css? Instead of removing, why not change it to have the color and font-size you desire? |
|
|
|
 |
wolfseye Hangin' Around

Joined: Feb 06, 2008 Posts: 27
|
Posted:
Fri Feb 15, 2008 4:23 am |
|
Because I donīt want it to be overall like that. Just a few words I mark in this text should be with a different Text Size & Color. Otherwise where is the sense in having those functions in the FCK Editor if I canīt use them whenever I need them.
And yes, its the only .content class in this theme. So, when its gone now because I deleted that, why is it still overriding what I am trying to do in the text ?
Wolfseye |
|
|
 |
 |
kguske Site Admin

Joined: Jun 04, 2004 Posts: 4853
|
Posted:
Fri Feb 15, 2008 7:57 am |
|
Then you need to specify new classes in your style.css and then you can use those classes with FCKeditor.
Remember, FCKeditor wasn't specifically developed for use with PHP-Nuke and it's theme structure. And, it isn't aware which classes your theme uses (or any webpage for that matter), though that doesn't mean you can't use your site's CSS (you just might not see what it really looks like in FCKeditor).
Removing the content class means that it uses other CSS definitions, depending on which HTML tags are in play. For more details on CSS, visit the CSS guide on or |
Last edited by kguske on Fri Feb 15, 2008 11:38 am; edited 1 time in total |
|
|
 |
wolfseye Hangin' Around

Joined: Feb 06, 2008 Posts: 27
|
Posted:
Fri Feb 15, 2008 8:10 am |
|
Thank you for your answer. I understand, though this seems a bit too much .css knowledge for me, I am just not that far to do these kinda changes. And I probably like my Site working before I am that smart *g* ... haha
So i think i have to keep searching for another theme that maybe hasnīt those things pre-defined in classes. Or if thats not possible in other Themes, I will have to live with it that I canīt change certain things. I was used in other CMS that I could just use those HTML tags from the Editor in it and it worked, seems different in Nuke.
Wolfseye |
|
|
 |
 |
|
|
|
|