Change color of title

Phoca Guestbook - creating guestbooks in Joomla! CMS
funga
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 06 May 2008, 09:09
Location: Netherlands

Hi,i wan

Post by funga »

Hi,

i want to change to color in the background of the title. Searched on the forum, but didn't find any good answer.

http://www.othila.org/index.php?option= ... ok&id=1&It emid=78

I mean the light color blue behind the username and title.

Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

You can change the f

Post by Jan »

You can change the font color only for all fonts and for the date font... If you want to change specific tag, you must do it in CSS file or in HTML:

components\com_phocaguestbook\assets\phocaguestbook.css
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
If you find Phoca extensions useful, please support the project
funga
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 06 May 2008, 09:09
Location: Netherlands

components\c

Post by funga »

components\com_phocaguestbook\assets\phocaguestbook.css
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php

The strange thing is that those files do not exist ...

greetings

funga
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Post by Jan »

Phoca Guestbook will not work without these files
If you find Phoca extensions useful, please support the project
funga
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 06 May 2008, 09:09
Location: Netherlands

I've found them

Post by funga »

I've found them now...
I was looking in joomla\administrator\components *blush*

but I can't still find it...

" $msgpg .= '<div style="border:1px solid '.$this->css['bordercolor'].';color:'.$this->css['fontcolor'].';margin:10px 0px;">';"

I suppose it says here to get the color from a css file, but which file?

greetings
funga
funga
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 06 May 2008, 09:09
Location: Netherlands

Or?

Post by funga »

Or?

<tr>
<td width="5"><b><?php echo JText::_('Title'); ?>: </b></td>
<td colspan="4"><input type="text" name="title" id="title" value="<?php echo $thi
s->formdata->title ?>" size="32" maxlength="200" style="border:1px solid #cccccc" /><
/td>
</tr>


can I add a background color in those lines?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48689
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

everywhere you want

Post by Jan »

everywhere you want but you must know CSS

<tag style="background:red">...</tag>

FROM
$msgpg .= '<div style="border:1px solid '.$this->css['bordercolor'].';color:'.$this->css['fontcolor'].';margin:10px 0px;">';"
TO (e.g.)
$msgpg .= '<div style="border:1px solid '.$this->css['bordercolor'].';color:red;margin:10px 0px;">';"
If you find Phoca extensions useful, please support the project
Post Reply