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.
Change the Button Colors from grey/grey to xx
-
wenings
- Phoca Newbie

- Posts: 6
- Joined: 10 Mar 2010, 09:05
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change the Button Colors from grey/grey to xx
Hi, which buttons you mean?
If you find Phoca extensions useful, please support the project
-
wenings
- Phoca Newbie

- Posts: 6
- Joined: 10 Mar 2010, 09:05
Re: Change the Button Colors from grey/grey to xx
i mean the "Save" and "Reload" Button in the User Frontend to add a new Guestbook entry.
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change the Button Colors from grey/grey to xx
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\
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

- Posts: 6
- Joined: 10 Mar 2010, 09:05
Re: Change the Button Colors from grey/grey to xx
Where can i change the Code of the Guestbook to use an other Style/Type if i dont want to change the template?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\
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"> <input name="reset" value="Zurücksetzen" type="reset">Code: Select all
<input name="Submit" class="button" value="Anmeldung" type="submit">-
wenings
- Phoca Newbie

- Posts: 6
- Joined: 10 Mar 2010, 09:05
Re: Change the Button Colors from grey/grey to xx
anybody who can help me?
-
wenings
- Phoca Newbie

- Posts: 6
- Joined: 10 Mar 2010, 09:05
Re: Change the Button Colors from grey/grey to xx
Ahhhhh...i'f found it
File: /components/com_phocaguestbook/views/phocaguestbook/tmpl/default.php
there i found
and change to
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').'" />'
.' '
.'<input type="reset" name="reset" value="'. JText::_('Reset').'" /></td>'
.'</tr>'
Code: Select all
.'<td colspan="3">'
.'<input type="submit" class="button" name="save" value="'. JText::_('Submit').'" />'
.' '
.'<input type="reset" class="button" name="reset" value="'. JText::_('Reset').'" /></td>'
.'</tr>'
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change the Button Colors from grey/grey to xx
Great to hear it, Jan
If you find Phoca extensions useful, please support the project