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
Similar Topics
Keywords : changing font sizes wordpress- Wordpress Sitebar At Botton
- (14)
- Wordpress Databases And Privileges
- My friend wanted to install wordpress on his server (not on trap17.com (2)
My friend wanted to install wordpress on his server (not on trap17.com) and he has phpmyadmin 2.6.0
and dosnt have the ability to make privliges /blink.gif" style="vertical-align:middle"
emoid=":blink:" border="0" alt="blink.gif" />.How would he set up wordpress without the ability to
set privliges? If you had any suggestions (like step by step directions /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />) that would help alot.
Thankyou,
...
Wordpress Feeds
- How to activate feeds (6)
I have installed Wordpress in my site and feeds seem that dont work. When i click over the link
give me an error, as if the feeds were not running. But when i sindicate the site with any
feed-tool, they work ok. żanybody knows why? Thanks....
Can Wordpress Split Too Long Pages?
- (3)
I have a blog on blogger and it's getting annoying that it never makes another page and thus it
becomes a huge page with as many images or articles as you post.I want to migrate to Wordpress but i
wonder if is it possible let's say after 10-15 posts to get another page just as forums do or
google , so that the visitor doesn't have to wait until the whole bunch is loaded. Another
question I have is: what's the difference between pages and categories in a blog, because
i'm not familiar with them. In a normal web site there would be some navigation menu...
Font Help
- using downloaded fonts (11)
I absolutly love these free font sites people are posting, there are so many to chose from
/laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /> I have downloaded a few
and am wondering how to use them in word or frontpage. I didnt see anything like import font or
anything. is it possible?...
Whatthefont?!
- font recognition system (3)
most of you are likely to adore a font from somewhere, and would want to know what it is for future
use, but don't know what font to look for in the first place and where to start looking.
here's a little tool site which can help you figure out a font (or at least find a suitable
likeness of the font) when you see a font you like in some print or web publication.
http://www.myfonts.com/WhatTheFont/ how does it work? they have a database of font imageries, and
you just have to upload an image of the font you want, sit back, and let the search process your
image...
Wordpress Statistics...
- Good plugin anyone? (1)
Hey everyone! I'm looking for a good and nice statistics plugin for my wordpress site: Dan
Spot I'm looking for a plugin that would show me the number of visitors online in this moment,
how many posts/comments my site had, how many hits/unique visits since its start... I would like
too to be able to see the stats from back-end administration and a nice stats tag to use in my
template. /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> Do you know
any plugin to have some of its features? /laugh.gif' border='0' style='vertical-a...
Wordpress 1.5.1 Installation Problem
- Getting fatal error message (7)
I've just downloaded Wordpress 1.5.1 and uploaded all the contents to public_html and I've
edited wp-config.php like so: CODE <?php // ** MySQL settings ** //
define('DB_NAME', 'myusername_dbName'); // The name of the database
define('DB_USER', 'myusername_dbUsername'); // Your MySQL username
define('DB_PASSWORD', 'myPassword'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to
change this value $table_pre...
Changing Logos...
- you want this! (13)
Many members requested me to share the script to change the logo of a site with each reload. They
did so after visiting my site at http://googlue.tk which has a changing logo... Check it out
and if you like the effect, here is the script for you to use! The script is in TWO parts .
Part 1: To be inserted just below the in your html code CODE <script
language="JavaScript" type="text/javascript"> <!-- var ic = 6;
// Number of alternative images var xoxo = new Array(ic); // Array to hold filenames ...
Looking for changing, font, sizes, wordpress
|
|
Searching Video's for changing, font, sizes, wordpress
|
advertisement
|
|