shigajet
Feb 12 2006, 06:21 AM
| | I brought up this question in another thread, but I'd like to know how you can allow the user to change font sizes on a blog. An example of this can be found on this site. What files would I need to edit - header.php, style.css?
If you can help me out on this one, feel free to shout out. |
Reply
jlhaslip
Feb 12 2006, 07:50 AM
Shigajet, On the top right hand corner of the site you link to, there are three square buttons, small 'a', medium 'a', and a large 'a'. Clicking these buttons by a user will alter the size of the font for their display. And I think this piece of code which I found by doing a view source is the html for those links, so find the classes in one of the stylesheets and change the font-size to whatever you want it to be. CODE <div id="fontcontrol"> <h3 class="hidden">Adjust font size:</h3> <ul> <li class="font1"><a href="#" onclick="setActiveStyleSheet('Small');return false;" title="Small"><i>Small</i></a></li> <li class="font2"><a href="#" onclick="setActiveStyleSheet('Medium');return false;" title="Medium"><i>Medium</i></a></li> <li class="font3"><a href="#" onclick="setActiveStyleSheet('Large');return false;" title="Large"><i>Large</i></a></li> </ul> </div>
Reply
Tyssen
Feb 12 2006, 08:38 AM
SqlByte
Feb 12 2006, 01:48 PM
i remember i had problems with wordpress font size... i changed what i thought i should to smaller fonts, but it wouldnt change my font size on that page. It was realy wierd, anyway i think this could solve your problem, what jlhaslip told you. btw i realy like your blog style
Reply
spy_charly
Feb 12 2006, 05:22 PM
try downloading another theme that has bigger fonts and then check the css and lookk for the size. If it doesnt work try seeing the php pages for some reference....i had to do so sometimes with the goolge ads...so it would be bad to check some code...
Reply
shigajet
Feb 12 2006, 11:41 PM
Actually, the site I made a link to in my post is not my own blog, as I'm using WordPress, not Nucleus (although one could almost say they have a lot of similarities). Still, thanks for the code - and the term as well - and I'll see how it turns out.
Reply
Recent Queries:--
changing font in wordpress script - 891.53 hr back. (1)
Similar Topics
Keywords : changing, font, sizes, wordpress
- Changing Isps
A unique view into the lives of Statesmen and RadioChick (7)
Combine Mediawiki And Wordpress
(1) I have a small requirement here. Is it possible to combine a wordpress and a mediawiki. It might be
a little strange why I want to do this, thats because I want a blogging platform to be integrated
within the wiki I have now, instead of using one of the articles to be used to post stuff... where
commenting and feedback cannot be obtained. So, thats where the need for integration comes and I am
very doubtful if i can do it better without making much change to the existing installation and not
bringing down the service... If some one have a work around or a better and alt....
Changing Hosts?
(1) I have a qupis account with an alpha package And... I found this new hosting site 000webhost And was
wondering How do I cancel my qupis hosting and change to it....
Cutenews Vs. Wordpress
What is best, and what would you recommend? (7) Hi, so I need some help. Some of you might now that I am struggling to get my blog/site up and
going, but I have made some progress in the last couple of days. I have tried my best not to "fall
off" and currently I am so excited and I am putting all my time and energy into my project. Even
though it is not noticeable for you, I have done some stuff. Now I am wondering what to choose.
CuteNews or Wordpress? I am quite familiar with CuteNews, but many people claims Wordpress to be
better. Because I have worked with CuteNews before this would be easier for me. What are t....
Wordpress Vs Movable Type
(0) What do you generally think about Wordpress and Movable type as blogging platforms. With what
platform are you more comfortable with, which one has more options, which one is more newbie
friendly? I don't have experience with movable type, but wordpress.org is to me a much better
alternative (I use it on my self hosted blog on trap17). Tell me your experiences. /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Thanks.....
Wordpress Error - Bytes Exausted [resolved]
NextGEN Gallery (7) Hey, I have just gotten my blog up and migrated it from my own webserver. I have fixed up most
problems but one issue remains. When I try to upload an image to NextGEN Gallery I get and error
when it tries to generate a thumbnail. QUOTE Fatal error: Allowed memory size of 33554432 bytes
exhausted (tried to allocate 1992 bytes) in
/home/samlock/public_html/wp-content/plugins/nextgen-gallery/lib/thumbnail.inc.php on line 183
It does it for EVERY image size, so it's not because of a big image. Help, please.....
Question About Changing Domain Names.
(8) Hey guys how's it going! I just had a quick question about changing domain names. My domain
now is fearclan.trap17.com, and I wanted to change it to fearclan.org. How should I do it? Do I use
the credit system and it will give me my own domain for free? Or do I have to buy a domain name from
godaddy or something and then change it? I really need an answer for this as soon as possible.
Thank you so much guys! /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0"
alt="laugh.gif" />....
Wordpress Categories Disappear
(5) This problem has happened to both my wordpress blogs hosted with trap17. I made some posts and
assign them to different categories but a few days later, the categories disappear and all my posts
are automatically placed in the Uncategorized category instead. I believe this is not a unique
problem because I've seen some info about this on the wordpress support website. However, there
doesn't seem to be a single solution to it. I've tried repairing my database but it
doesn't help. I've got the latest version of wordpress. Anybody got any suggestions? Th....
Wordpress Upgrade Notification
(7) Attn: Moderators of computinghost & Trap17 Wordpress blog software in most of the servers is not
updated in most of the times. Whenever it gets upgraded on wordpress site but not on fatastico, i
have managed to send PM or Ticket and then reported to upgrade the version in fantastico.So
everytime whenever it gets updated, i have to create ticket or PM to notify. is there anyway we can
automate this task? Currently, The wordpress version on iota server is not updated(its on 2.2.3),
so i'm requesting for the upgrading it.As well as to any other version in future.....
My Minimalist Wordpress Theme
I need feedback (7) As the title says, it is minimalist, so don't expect fancy graphics and a stunningly beautiful
site. The theme is called 'MiniMoo', inspired by the use of Mootools 1.2 There is ajax
functionality for only paging. The only reason why not the entire theme is ajaxed is due to
analytical purposes. Have a play with it and do not hesitate to let me know what you think:
http://limetouch.com/archives/minimoo-mini...ordpress-theme/ ....
The Worst Experience In My Life Yesterday
life changing (1) i was with one of my friends. we went to a roller rink. it was around 9:00 pm she was giving 6
people rides home so theres 8 people in the van. i new 1 out of the 6 people. she new them all.
1guy5girls me and my friend Kaitlyn. one of the girls in the middle row sed "lets ride on the bumper
agen" i didn't no what they rely where going to go. we pulled to a back road and 2 of the girls
got out and got on the back bumper and held on to the top railing. 3 people including me where
telling them this is not a good idea they sed " don't worry we did this before" we dr....
Changing Root Script
(0) I decided to go with paid hosting with computinghost.com. When I chose my initial installation, in
my ignorance, I didn't know you couldn't install both the Joomla installation and the
Soholaunch website builder, so I checked both. They installed the Joomla and not the Soho. Since I
have never looked at Joomla and know nothing about using it, I would like the other installation. I
first tried live chat, but they said contact sales. So I sent an email and got a ticket number.
BPM-881376 When I try to check on the status I get this message: Fatal error: ERROR: You ....
Review My Wordpress Theme
(7) I have just completed my WordPress theme and I hope you can help to give me your feedback and maybe
squeeze some bugs out. Here it is: http://limetouch.com ....
Changing From Free Hosted To Paid Hosted [resolved]
How dows it affect my account (3) I recently purchased a paid hosting account and since I was a previous trap 17 free hosted account
user I wanted to knwo what will the changes be and and how will i see the upgrade on my account.
Will the server completely change from the gamma server that im currently on to the delta server or
will it remain the same. Also I did purchase 3S. Thanks......
Wordpress Backup For A Server Move
backing up a Wordpress site (2) i have question: how can we backup wordpress from fantastico...is it possible to backup and move
it to new host if you want?....
Wordpress 2.5 Released
(3) The latest version of Wordpress is out now with a new UI and a lot more features. the recent
release is Wordpress 2.5, download it from here the new release includes the following features,
* Cleaner, faster, less cluttered dashboard * Dashboard Widgets * Multi-file upload with
progress bar * JPEG : EXIF extraction * Search posts and pages * Tag management * Password
strength meter * Concurrent editing protection * Few-click plugin upgrades * Friendlier visual
post editor * Built-in galleries * Salted passwords - impossible to bruteforce * Se....
How Do I Change The Default Windows Font Size?
Without changing DPI, of course. (4) I know there's an option in Ubuntu to change all the font sizes of the general system, the
windows, and etc. Now I'm trying to do this in Windows. I've changed everything about
the windows except for the general system size. How do I do this?....
Changing Trap17 Domain?
(2) Hello. I think I've heard about this somewhere or another on this site, but am not sure.
Currently, my domain is http://sherwoodinfo.trap17.com ...is there any way I can get it changed to
http://sherwood.trap17.com , I checked and it seems that is available. Thank you!!....
Identify This Font
Help! (3) Hey everybody, I need help identifying the font used in the above letter. I have
searched most every font site on the internet and have come up with zilch. Without a name, it seems
an impossible task. Does anybody know what the name of this font is? ....
What Is Fun Anymore?
Changing the definition of 'fun' (5) Child comes home, flips on the flips on the tv. Toasts the waffle, spreads the peanut butter with a
grim face. Ready for some 'fun.' But this isn't the fun that you and I know and have
come to love. I remember when fun used to be playing in the park, building a castle out of my
sister's leftover girl scout cookie boxes. But not anymore, that is boring, a waste of time. I
remember when being creative was fun thing to do. Why is it, that when a child of today is
asked whether they would like to game, they remark, 'Sure, what site?'....
Blogger Vs. Wordpress
(4) I've been using Blogger off and on for about 6 months, but I've recently became more serious
about the direction I'm going and I'd appreciate some input on a few things. From the
perspective of a guy who isn't up to speed on programming does it make sense to switch to
Wordpress.org if I want to accomplish the following. 1) Create a website address brand without
having the annoying blogspot.com in my address name? Perhaps I can buy an address and forward it to
blogger. 2) If I switch to wordpress.org and find a hosting service is the site building....
Wordpress Login Trouble [resolved]
It says something about cookies. (8) Whenever I try to login to my newly installed Wordpress account, it gives me this message at the
top: Warning: Cannot modify header information - headers already sent by (output started at
/home/a0123b56/public_html/wp-config.php:29) in /home/a0123b56/public_html/wp-login.php on line 12
Warning: Cannot modify header information - headers already sent by (output started at
/home/a0123b56/public_html/wp-config.php:29) in /home/a0123b56/public_html/wp-login.php on line 24
And then when I ignore that and try to login, it says that either cookies are blocked or your brow....
Changing Dns Records
How to change my DNS records? (5) I need to change my DNS records, that is, to add several CNAME records... Now, I registered my top
level domain (.net) through my ISP, and they in turn registered my domain at some other registrar...
Now, my ISP doesn't give me CPanel to update my DNS info, if I don't buy their hosting plan
(which is pathetic compared to Trap17 free account)... I had them change my nameservers to Trap17
servers, and now, they tell me I need to edit CNAME records on Trap17 nameservers... I must admit
I'm not really familiar with how all that DNS administration works, so I want....
Wordpress Blog Help
wordpress blog help (5) I have already built a blog at wordpress.com .Now I want to know that is it possible to have that
blog at wordpress.com here in my trap17 website. ....
Changing The Windows Xp Splash Screen
another quick tutorial (10) First make create 16 bit 640*480 image and save it as boot.bmp in 'c:\windows'
directory Click Start|Run and type c:\boot.ini. The file opens in Notepad. Look for an entry
similar to this. CODE
"multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft
Windows XP Professional" /noexecute=optin /fastdetect" Add /noguiboot /bootlogo at the
end of the line so that it looks like this. CODE
"multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft
....
Changing Legal Age For Driving
(43) Now this is a good debate I think as it's something I'm not happy with as I have haven't
passed yet. I first started having driving lesson at 17 and I didn't fully understand that I
would have to take quite a few as I have learning disabilities and I quit them. As for my brother
he has been taking them for a couple of months now bu the thing that has pissed him off quite a bit
is that they are supposedly chnaging the age of when a newbie can learn how to drive and that will
include even when they have passed. They are supposed to be poutting the age of ....
Changing Background Color In Php
usefull for templating. (5) Tutorial on how to change background color with PHP I will be descibing to similiar ways that
you can change the background color of your website with php and leave it at that till the user
changes it again. We are going to do this with CSS. You can either have your cSS info on your page
or in a spereate document. The first thing youll have to do is decide if your going for the linked
stylesheet or directly on your page. IF you link it you'll need to have this code in you
tags. CODE <style type="text/css"> <?php include ("st....
Changing A Gmail Password
how do u do it? (10) hi i have a gmail account well a couple of them and i know that someone has been getting on my
account and screwing with it however i dont know how im supposed to get on and change my password.
i've tried even getting them to send me information and what not when i forget my password but
all the same i can never get to a point where i can change it and it kinda is making me upset. my ex
gets on my account and yells at my friends telling them that i've changed and that i dont want
anything to do with them and thats wrong i love my friends. anywayz if you know how ....
Change Font Size On Taskbar Buttons
(4) Would you like larger fonts on your taskbar buttons? Maybe you're a little short sighted, or
just want to mess about a bit:) Here's how to do it... 1. Right click anywhere on your Desktop
(not on an icon) and the context menu appears. 2. From the context menu, select Properties, and the
Display Properties window appears. 3. Select the "Appearance" tab by clicking on it once. 4.
Select the "Active Title Bar" from the "Item:" drop down list. 5. Adjust the font size, color,
bold, or italics using the selectors to the right of the font box. 6. Click Apply to ....
Changing A Dynamic Ip
How to change your dynamic IP. (18) In this tutorial I will tell you how to change a dynamic IP if you have Windows XP. First of all go
to - Start >> Run - and type 'cmd'. A window with a black background and grey text. In
this window type 'ipconfig' and text should come up saying: IP Address ............. *IP
HERE* Subnet Mask ................ *SUBNET MASK HERE* Default Gateway .......... *DEFAULT GATEWAY*
Write this down on a bit of paper on in notepad. You will need them later. Now type
'ipconfig/release' - this will terminate your internet connection - but don't g....
Looking for changing, font, sizes, wordpress
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for changing, font, sizes, wordpress
*MORE FROM TRAP17.COM*
|
advertisement
|
|