PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
wolfseye
Hangin' Around


Joined: Feb 06, 2008
Posts: 27

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

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
Moderator


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

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

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: 6044

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

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


Joined: Feb 06, 2008
Posts: 27

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

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.
View user's profile Send private message MSN Messenger ICQ Number
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

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

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


Joined: Feb 06, 2008
Posts: 27

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

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
View user's profile Send private message MSN Messenger ICQ Number
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

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

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
Only registered users can see links on this board!
Get registered or login to the forums!
or
Only registered users can see links on this board!
Get registered or login to the forums!


Last edited by kguske on Fri Feb 15, 2008 11:38 am; edited 1 time in total
View user's profile Send private message
wolfseye
Hangin' Around


Joined: Feb 06, 2008
Posts: 27

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

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
View user's profile Send private message MSN Messenger ICQ Number
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest Đ 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is Đ copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum