Change the Button Colors from grey/grey to xx

Phoca Guestbook - creating guestbooks in Joomla! CMS
wenings
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Mar 2010, 09:05

Change the Button Colors from grey/grey to xx

Post by wenings »

Hi,
i've got the problem that the displayd buttons are grey text on darkgrey background.
I can't find the file and position of the code to change the color. I think it's written in the css of my template right?

Thanks for your help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change the Button Colors from grey/grey to xx

Post by Jan »

Hi, which buttons you mean?
If you find Phoca extensions useful, please support the project
wenings
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Mar 2010, 09:05

Re: Change the Button Colors from grey/grey to xx

Post by wenings »

i mean the "Save" and "Reload" Button in the User Frontend to add a new Guestbook entry.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change the Button Colors from grey/grey to xx

Post by Jan »

Hi,
the save button should be styled by your template, if there is no style you should add it.

The reload button is an image, you need to change the image in phocaguestbook image folder:
components\com_phocaguestbook\assets\images\
If you find Phoca extensions useful, please support the project
wenings
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Mar 2010, 09:05

Re: Change the Button Colors from grey/grey to xx

Post by wenings »

Jan wrote:Hi,
the save button should be styled by your template, if there is no style you should add it.

The reload button is an image, you need to change the image in phocaguestbook image folder:
components\com_phocaguestbook\assets\images\
Where can i change the Code of the Guestbook to use an other Style/Type if i dont want to change the template?

If i look in the source-code i see the buttons are not defined with class="button"

Code: Select all

<input name="save" value="Absenden" type="submit"> &nbsp;<input name="reset" value="Zurücksetzen" type="reset">
The other buttons are defined like this

Code: Select all

<input name="Submit" class="button" value="Anmeldung" type="submit">
Where can i change this? I don't have much experience with CSS and so i don't know if its needful to use <div> or something for that.
wenings
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Mar 2010, 09:05

Re: Change the Button Colors from grey/grey to xx

Post by wenings »

anybody who can help me?
wenings
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 10 Mar 2010, 09:05

Re: Change the Button Colors from grey/grey to xx

Post by wenings »

Ahhhhh...i'f found it

File: /components/com_phocaguestbook/views/phocaguestbook/tmpl/default.php

there i found

Code: Select all

.'<td colspan="3">'
	.'<input type="submit" name="save" value="'. JText::_('Submit').'" />'
	.' &nbsp;'
	.'<input type="reset" name="reset" value="'. JText::_('Reset').'" /></td>'
	.'</tr>'
and change to

Code: Select all

.'<td colspan="3">'
	.'<input type="submit" class="button" name="save" value="'. JText::_('Submit').'" />'
	.' &nbsp;'
	.'<input type="reset" class="button" name="reset" value="'. JText::_('Reset').'" /></td>'
	.'</tr>'
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change the Button Colors from grey/grey to xx

Post by Jan »

Great to hear it, Jan
If you find Phoca extensions useful, please support the project
Post Reply