Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.1
Author Message
Bamafan
Regular
Regular



Joined: Feb 07, 2004
Posts: 59

PostPosted: Sun Mar 21, 2004 8:08 pm Reply with quote

Raven I noticed where in the 'services available' block your text is in a differ font color... How? Thanks!
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Mar 21, 2004 9:35 pm Reply with quote

Use either a font tag with the color attribute or a style attribute
Code:
<font style="color:blue;">This is text</font>
 
View user's profile Send private message
Bamafan







PostPosted: Mon Mar 22, 2004 10:49 am Reply with quote

oh... sorry where do you go to edit the font color?
 
Raven







PostPosted: Mon Mar 22, 2004 11:48 am Reply with quote

In your block code.
 
Bamafan







PostPosted: Mon Mar 22, 2004 3:41 pm Reply with quote

Please forgive my ignorance.. I have looked in my blocks file... either I am missing it all together or I am in the wrong spot looking...
 
Raven







PostPosted: Mon Mar 22, 2004 4:14 pm Reply with quote

It's plain HTML tags that you surround your text with. Find the text in your block file that you want to change the color for and use the font tag as I stated above.
 
Bamafan







PostPosted: Mon Mar 22, 2004 8:06 pm Reply with quote

Ok, I didn't realize the sites admin area where you can admin blocks could accept html... Thanks... One more question where or how can I add a small logo beside the block titles in my site?
 
GanjaUK
Life Cycles Becoming CPU Cycles



Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Tue Mar 23, 2004 8:35 pm Reply with quote

You could simply put the image html in the block title in BlocksAdmin

Code:
<img src=logo.gif>Site Info
 
View user's profile Send private message Visit poster's website
Bamafan







PostPosted: Wed Mar 24, 2004 8:42 am Reply with quote

I've tried using image tags but the block will only hold so many characters and adding a pic takes more than I am allowed... can I change how many characters are allowed in the block? Is there another way to add a small pic?
 
GanjaUK







PostPosted: Wed Mar 24, 2004 8:47 am Reply with quote

I think you can get 60 chars in there, are your titles really that long? The image html could only take up 15 chars at the least, leaving you a hefty 45 for your title.

Did you want the same image in all blocks? Or a different image for each block?
 
Nukeum66
Life Cycles Becoming CPU Cycles



Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Wed Mar 24, 2004 9:01 am Reply with quote

What theme are you using?

_________________
Scott Johnson MIS Ubuntu/Linux 11.10 
View user's profile Send private message Visit poster's website
Nukeum66







PostPosted: Wed Mar 24, 2004 9:10 am Reply with quote

If you are using a theme that has a file blocks.html , you could edit it, but this would place the same image in all the blocks.

Find : something like this in blocks.html
Code:
<font class="block-title"><strong>$title</strong></font></td>


Then before $tilte put your image tag
Code:
<img src="themes/yourtheme/images/yourimage.gif"/>&nbsp;


When finished sould look something like this
Code:
<font class="block-title"><img src="themes/yourtheme/images/yourimage.gif"/>&nbsp;<strong>$title</strong></font></td>
 
GanjaUK







PostPosted: Wed Mar 24, 2004 9:15 am Reply with quote

I was coming to that Laughing But I think he might want a different image for each block.
 
Bamafan







PostPosted: Wed Mar 24, 2004 9:39 am Reply with quote

No the same image is fine... that has helped but on the blocks which I have a a colored font it added an extra "layer" for the pic... and on the ones I have left default font it put the pic on the same line... is there a way I can have my cake and eat it too?...lol... I would like to maintain the pic and colored font all in the same "layer"... I have left it as is as you can see on the Donations block on the bottom left it has the default colored font and the others I edited... Thanks for all the help thus far, I am close to getting what I would like... here is the link to site...> www.ps2onlineleagues.com
 
Bamafan







PostPosted: Wed Mar 24, 2004 10:09 am Reply with quote

That's ok I have decided to add a better pic and keep the extral layer created and have a pic centered above each block and then on the next layer my block name in colored font... but thanks for all the help! That is why I always come here, you all aresuch a great help, I even get help by reading other posters questions, keep up the good work!
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.1

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©