Modify the fields alignment in the module

wendy
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Jul 2018, 11:57

Modify the fields alignment in the module

Post by wendy » 17 Jul 2018, 11:01

Hi, as in the subject, I would know how can modify the fields and the button alignment inside the newsletters subscription module, cause now it results on the left but I would like to show them centered... thanks!!

Dani


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

Re: Modify the fields alignment in the module

Post by Jan » 19 Jul 2018, 14:54

Hi, can you display here the screenshot what you exactly mean?

Did you try to change it per CSS (which should be the easiest way :idea: )?

Jan
If you find Phoca extensions useful, please support the project

wendy
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 13 Jul 2018, 11:57

Re: Modify the fields alignment in the module

Post by wendy » 20 Jul 2018, 17:56

Hi Jan, thanks for your answer... So, in the box the form fields and the submit button are aligned on the left side, but I would know how can show them centered... in case, how can I modify the CSS (and, mainly, where I find it)?? Thanks again!! :)

https://isolachenonce-online.it/immagin ... gnment.jpg

christine
Phoca Hero
Phoca Hero
Posts: 1366
Joined: 28 Nov 2010, 17:20

Re: Modify the fields alignment in the module

Post by christine » 20 Jul 2018, 19:57

Hi wendy,

Your screenshot .jpg is very nice, but can't check them with developer F12 to see, which codes could be taken :-)

As I'm not using Newsletter, I checked this: https://www.phoca.cz/newsletter as an example.
Maybe it will help you also for your site. You could add below code e.g. to your template.css, or user.css, or custom.css (depends on template).

Code: Select all

div.userdata {
text-align:center;	
}
Kind regards
Christine

Post Reply