Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

I need help changing the font within the style.css.
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Other PHPNuke Issues View previous topicPrinter friendly versionView next topic
Author Message
ctatech

Novice
Novice


Joined: Apr 11, 2005
Posts: 22

PostPosted: Mon Apr 11, 2005 12:10 pm    Post subject: I need help changing the font within the style.css. Reply with quote

I am new to php nuke and have took over someones position who just recently left the company. But I am needing help on changing the font on a website he was developing. I have tried a few things in the style.css but had no luck. I would appreciate any help or information I can get on this issue. Thanks
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: I need help changing the font within the style.css.  

Back to top
drmike

Wizard
Wizard


Joined: Mar 20, 2005
Posts: 229
Location: Charlotte, NC

PostPosted: Mon Apr 11, 2005 2:01 pm    Post subject: Re: I need help changing the font within the style.css. Reply with quote

Which style.css are you changing?

Which few things are you changing?

This fonts that you are changing (I'm assuming that's what you're doing.), do you have those fonts installed on the box you're viewing your site with?

Are you clearing out your local cache before reviewing the site in question?

-drmike
Back to top
Offline View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ctatech

Novice
Novice


Joined: Apr 11, 2005
Posts: 22

PostPosted: Mon Apr 11, 2005 2:43 pm    Post subject: Re: I need help changing the font within the style.css. Reply with quote

I have tried changing all the fonts that I seen available to change to see if one of them would take care of what I needed. I am not for sure what style.css it is exactly but i go through public_html themes and then vi style.css. I am new at this so I am not for sure how to answer your questions correctly but I will do my best. and I have tried clearing out the cache of the browser as well.
Back to top
Offline View user's profile Send private message
drmike

Wizard
Wizard


Joined: Mar 20, 2005
Posts: 229
Location: Charlotte, NC

PostPosted: Mon Apr 11, 2005 2:53 pm    Post subject: Re: I need help changing the font within the style.css. Reply with quote

Take a look at the source code of the pages that PHPNuke is generating for you. You will notice something called a 'class' and a name assigned to that class. Your browser is seeing that 'class' and looking within your style.css file for the font information that it needs to display the text correctly. For example, if the text has a class called "smith," it's looking within the style.css file for something called "smith" and using the information provided with that section.

Do note that it uses the style.css file within the actual subdirectory of the theme that you are using. There maybe a number of themes installed. You need to make sure that you're modifing the correct one. You can discover the name of the theme by reviewing the preferences page within your PHPNuke admin section.

Also remember that the name of the font has to be exactly matched to the name of the installed font within your home computer. If it's 'Ariel' on your home PC, it has to be 'Ariel' within the css file. 'ariel' won't cut it.

A quick search in google suggests this site for a review of css files:

http://www.htmldog.com/guides/cssbeginner/

Good luck,
-drmike
Back to top
Offline View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ctatech

Novice
Novice


Joined: Apr 11, 2005
Posts: 22

PostPosted: Mon Apr 11, 2005 2:57 pm    Post subject: Re: I need help changing the font within the style.css. Reply with quote

I think they are ok with the font type, they are wanting me to change the font size. I prolly didnt make it clearer. that is my fault. I am using the AHP theme. and I am just trying to change the font size. they want to make it bigger than what it is now.
Back to top
Offline View user's profile Send private message
drmike

Wizard
Wizard


Joined: Mar 20, 2005
Posts: 229
Location: Charlotte, NC

PostPosted: Mon Apr 11, 2005 3:14 pm    Post subject: Re: I need help changing the font within the style.css. Reply with quote

ctatech wrote: › I think they are ok with the font type, they are wanting me to change the font size. I prolly didnt make it clearer. that is my fault. I am using the AHP theme. and I am just trying to change the font size. they want to make it bigger than what it is now.


Then you want to be changing the font-size settings within the style.css file. Do note that your browser maybe overriding whatever setting you've choosen though.

-drmike
Back to top
Offline View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ctatech

Novice
Novice


Joined: Apr 11, 2005
Posts: 22

PostPosted: Mon Apr 11, 2005 3:26 pm    Post subject: Re: I need help changing the font within the style.css. Reply with quote

I have changed the font sizes and it didnt make any difference so it must be that the browser is overiding it. How do I set it to where it doesnt override it all the time?
Back to top
Offline View user's profile Send private message
drmike

Wizard
Wizard


Joined: Mar 20, 2005
Posts: 229
Location: Charlotte, NC

PostPosted: Mon Apr 11, 2005 4:15 pm    Post subject: Re: I need help changing the font within the style.css. Reply with quote

Tools -> Internet Options -> Accessibility.

Also make sure you're setting the font sizes to settings like 14px. You need the px bit in there for it to work.

-drmike
Back to top
Offline View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ctatech

Novice
Novice


Joined: Apr 11, 2005
Posts: 22

PostPosted: Mon Apr 11, 2005 4:21 pm    Post subject: Re: I need help changing the font within the style.css. Reply with quote

How would I set that up to where everyone wanting to view that page wont have to do that? Or will everyone who wants the font bigger have to change that setting?
Back to top
Offline View user's profile Send private message
drmike

Wizard
Wizard


Joined: Mar 20, 2005
Posts: 229
Location: Charlotte, NC

PostPosted: Mon Apr 11, 2005 4:45 pm    Post subject: Re: I need help changing the font within the style.css. Reply with quote

Um, was that setting turned on within your browser? If not, it's probably moot then.

Are you sure the font size changes aren't working? Have you tried going from something like 10px to 20px just to see if anything changes? Remember, this is pixels we're talking about. 72 of them per inch on your screen. You can't go 1 or 2 and expect to see a large change.

-drmike
Back to top
Offline View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ctatech

Novice
Novice


Joined: Apr 11, 2005
Posts: 22

PostPosted: Mon Apr 11, 2005 4:48 pm    Post subject: Re: I need help changing the font within the style.css. Reply with quote

it wasnt set to ignore or anything like that, and i set it to ignore font sizes specified and it made a difference. I will try changing it to something more drastic and see if it changes.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Apr 12, 2005 6:30 am    Post subject: Re: I need help changing the font within the style.css. Reply with quote

realize, though, that if your users have their browsers set to override font sizes, all this work is for naught (or is it nought?).
Back to top
Offline View user's profile Send private message Visit poster's website
drmike

Wizard
Wizard


Joined: Mar 20, 2005
Posts: 229
Location: Charlotte, NC

PostPosted: Tue Apr 12, 2005 7:55 am    Post subject: Re: I need help changing the font within the style.css. Reply with quote

dari wrote: › realize, though, that if your users have their browsers set to override font sizes, all this work is for naught (or is it nought?).


I've only seen that set a few times but the setting does come up every once in a while. It'll get set and the user will forget all about it and then start wondering why things always look the same on every page or why text doesn't fit correctly on a page.

Usually those with visual issues set this so they can get used to one size text on their screen.

-drmike
Back to top
Offline View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ctatech

Novice
Novice


Joined: Apr 11, 2005
Posts: 22

PostPosted: Tue Apr 12, 2005 9:43 am    Post subject: Re: I need help changing the font within the style.css. Reply with quote

I dont think they have it set to override the font settings, I have tried to get them to just go with a different theme cause that takes care of the font sizes but they didnt like that idea. So where at exactly in the style.css file do I change to where it will change the size of the whole website. Cause it looks like there are different sections all with different fonts. If there is one section to where it takes care of it all with just one change that would be great.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Apr 12, 2005 11:03 am    Post subject: Re: I need help changing the font within the style.css. Reply with quote

look through the CSS file for "font-size" entries...since there won't be one single place for them (ie, there will be an entry for "body", one for "a active", "a hover", etc).
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Other PHPNuke Issues View previous topicPrinter friendly versionView next topic
Goto page 1, 2, 3  Next

 
Jump to:  
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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia