I'm using the NukeNews theme, and I really, really want to have the ability to change how things look on my front page messages, specifically font sizes and colors. I'd like some fonts bigger, some smaller and some in other colors, but just can't seem to figure it out. I've already changed my config file to permit them (or so I'd thought) but it still strips out my code and shows it the way it wants to.
For that matter, how do I change font sizes in my articles? Would like those different too, but not so that they change the sizes of my fonts in my blocks too.
Help, pretty please?
dezina Support Mod
Joined: Jun 09, 2003
Posts: 1713
Location: England
Posted:
Tue Jan 31, 2006 6:09 am
/themes/NukeNews/style/style.css
could also be altered in /themes/NukeNews/theme.php
Experiment, but backup files first
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
tekjansen Private
Joined: Jan 03, 2006
Posts: 37
Posted:
Tue Jan 31, 2006 11:30 pm
Oops, not just like that. I mean I want the ability to adjust my font sizes within a single message, not just in general.
spottedhog Captain
Joined: Apr 30, 2004
Posts: 566
Posted:
Wed Feb 01, 2006 3:30 am
What dezina told you is true.... use the style.css file to adjust font sizes within a message. You could add a "span" html code and make a class for it in the style.css file that makes the text a different size.
This is the present and future for html so you might as well dig in and see what to do.....
SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
tekjansen Private
Joined: Jan 03, 2006
Posts: 37
Posted:
Thu Feb 02, 2006 3:50 am
spottedhog wrote:
This is the present and future for html so you might as well dig in and see what to do.....
How DARE you suggest I consider evolution. I am a creationist, good person, I do not subscribe to such things!
But on a more serious note, I get it and I take your meaning. I've been struggling with bringing myself up to speed on the transitional XHTML language (as a throwback from 1999) but have been doing more and more... alright, alright, I'll TRY to grow, but I make no promises.
As a followup, how do I set it so that I can use FONT SIZE= codes within the body of a message or article... can I do this? Am I even more mad than before?
spottedhog Captain
Joined: Apr 30, 2004
Posts: 566
Posted:
Thu Feb 02, 2006 4:00 am
tell ya what..... do a google search on css and you will find bunches of websites with simple tutorials on that....
Basically, what you will want to do is one of 2 things..... you can make the "p" html code a class with a certain font size, or you can make a "p.font" or some other class name and make it with a certain font size.
It really is fairly simple and straight forward.
I would think within the year everyone SHOULD be writing themes and modules more with CSS.
Heck, there may even be a new Nuke fork come out using CSS and not tables....
SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
tekjansen Private
Joined: Jan 03, 2006
Posts: 37
Posted:
Thu Feb 02, 2006 4:05 am
spottedhog wrote:
I would think within the year everyone SHOULD be writing themes and modules more with CSS.
Boy, I tell ya, you'd sure THINK it, but you just can't underestimate the sheer force of idiot power. Like my idiomentor's been saying for years, you keep making it idiot-proof and we'll just keep making better idiots
If it's a CSS thing I can delve in to it. I didn't realize I could define a "P" sort of thing thusly. That's pretty slick, but not surprising in terms of its many applications and the sure demand for it.
I really, really do appreciate your help and feedback, so thank you.
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