You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 105 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - How do you add a custom font / color / size to the .css? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
eadtf
Private
Private


Joined: Jul 26, 2004
Posts: 46


PostPosted: Wed Aug 18, 2004 11:04 pm Reply with quoteBack to top

How would I make an addition to my css file so that text in a page has a font 18 Arial with color green.

I understand the basics of css but I can't seem to get it to owrk with nuke
I am trying to make text a different color and font size in a page I created.


On the top right is a Block called Organization, click on one of the links, it opens a simple little page with Some Test Text in it, I want to make that font 18 Arial with color green?

Any sugestions or is it possible under nuke?

Thank You,

Patrick


Last edited by eadtf on Sun Aug 22, 2004 10:45 pm; edited 1 time in total
Find all posts by eadtfView user's profileSend private message
cuniculus
Corporal
Corporal


Joined: Jul 10, 2004
Posts: 53


PostPosted: Thu Aug 19, 2004 1:13 am Reply with quoteBack to top

i see a block called organization only on the top left. if i click one of the links it tells me "Sorry, this Module isn't active!".

but basically: you have at %root%/themes/%yourtheme%/style/ a (style).css file.

here you can edit what you want. in your case maybe something like:

Code:

.biggreen {
color: green;
font-family: arial, helvetica, sans-serif;
font-size: 18px; // you can also make 18pt but that will make the font really big, i think
font-weight: bold;
}


and then you have to set the class for the text you want to edit.
for instance in the respective .php file make:

Code:
<span class="biggreen">This is in Arial with 18px font in green and on $sitename</span>


so, hope that helps.
but be aware that users who chosse a different theme (in case you allow) see it differently since in the respective style.css of the theme they have chossen there is no ".biggreen".

regards.

_________________
> It takes two to lie. One to lie and one to listen.
Image
(uni(ulus
Find all posts by cuniculusView user's profileSend private message
eadtf
Private
Private


Joined: Jul 26, 2004
Posts: 46


PostPosted: Thu Aug 19, 2004 2:17 am Reply with quoteBack to top

Thanks seems to work like a charm... The code structure is exactly what I needed!

Very Happy
Find all posts by eadtfView user's profileSend private message
Snorii
Nuke Cadet
Nuke Cadet


Joined: Feb 13, 2003
Posts: 9

Location: USA

PostPosted: Fri Oct 01, 2004 6:01 pm Reply with quoteBack to top

Thanks Cuniculus. Very Happy
Find all posts by SnoriiView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.391 Seconds - 245 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::