Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues
Author Message
wolfseye
Hangin' Around



Joined: Feb 06, 2008
Posts: 27

PostPosted: Thu Feb 14, 2008 6:56 pm Reply with quote

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
 
View user's profile Send private message MSN Messenger ICQ Number
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Thu Feb 14, 2008 7:02 pm Reply with quote

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.
 
View user's profile Send private message Visit poster's website
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Thu Feb 14, 2008 7:12 pm Reply with quote

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!
 
View user's profile Send private message
wolfseye







PostPosted: Thu Feb 14, 2008 7:14 pm Reply with quote

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







PostPosted: Thu Feb 14, 2008 7:47 pm Reply with quote

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







PostPosted: Fri Feb 15, 2008 4:23 am Reply with quote

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







PostPosted: Fri Feb 15, 2008 7:57 am Reply with quote

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 
wolfseye







PostPosted: Fri Feb 15, 2008 8:10 am Reply with quote

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
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Themes Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©