Author |
Message |
wolfseye
Hangin' Around
![](modules/Forums/images/avatars/584c346047b1687c11182.jpg)
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. ![Rolling Eyes](modules/Forums/images/smiles/icon_rolleyes.gif) |
|
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
fkelly
Former Moderator in Good Standing
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 30, 2005
Posts: 3312
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
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. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wolfseye
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wolfseye
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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 http://www.css2.code-authors.com/ or http://www.w3schools.com/css/default.asp |
Last edited by kguske on Fri Feb 15, 2008 11:38 am; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wolfseye
![](modules/Forums/images/avatars/gallery/blank.gif)
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|