How can I change the style and order of the items at form?

Phoca Guestbook - creating guestbooks in Joomla! CMS
fetcom
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Aug 2015, 22:53

How can I change the style and order of the items at form?

Post by fetcom »

Hi,
As you understand from the subject I am trying to change the style and order of the items (Name, title and email) at the form. I want to be the Name and edit box in the same line. Orginally name text (same for title and email) in the first line, and edit box is in the next. Is it possible to show them in same line? You can look at the attached picture what I am trying to do.
Image

Additionaly, how can I change the size of the boxes?

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

Re: How can I change the style and order of the items at for

Post by Jan »

Hi, you need to customize it.

But:
- maybe it can be done only per CSS
- maybe per HTML only
- or per HTML and CSS (I think, this will be the way)

- so the CSS you can change in your template CSS
- and the HTML in components/com_phocaguestbook/views/guestbook/tmpl/default_form.php (default_form_classic.php) :idea:

Jan
If you find Phoca extensions useful, please support the project
fetcom
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Aug 2015, 22:53

Re: How can I change the style and order of the items at for

Post by fetcom »

Thanks Jan,
As you said, to change in default_form.php file is not good enough which I have already done before. With your help I realized that I should also change styles.css file. In styles.css file, there is a part which defines forms and inputs. I succesfully found it and changed display settings. :) Thank you so much again.
Fetcom
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How can I change the style and order of the items at for

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply