|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
on my ubb i would like to change my font size by the pixel, because 2 is too large and 1 is too small. Can someone tell me how I could get started doing that? Thanks 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
heheh... that's a huge project Check here for a project LK and I worked on: https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=17;t=000403;p=2#000020 It's full css of all the public template files. You can use those and set font sizes in your stylesheets. Note, you'll have to re-install any modifications you've done already.
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
i see...
so the ezinetemplates are what I want to install? do they change anything, or do they just add a css stylesheet I can edit?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
no, those are probably a little too radical, just use the regular css'd templates  They have an included css file you can edit for colors and fonts. Do this on a test board first, it's a pretty huge change to your site. 
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
excellent, I downloaded the templates. I'll upload them later and start working on the re-hacking heheh thank you very much 
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
On second thought, is there any other way to do this? I've installed alot of modifications already, re-doing all the templates would take forever 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
If you have a program like ultraedit, you can do a global search/replace for every instance of size="2" and size="$vars_style{TextSize}" with whatever size you like. Make sure you have backups 
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
heh, I don't have ultraedit, but I could do that with cutehtml Could I put a css code in my header insert, and add classes for the font tags? I'm not sure if that would override it or not, but that would be much better so I could have different sizes for different schemes. 
|
|
|
|
Joined: Jul 2002
Posts: 45
Member
|
Member
Joined: Jul 2002
Posts: 45 |
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
you could do it like that, it's basic css
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|