Can I change the layout in the CSS or php somewhere?

More
5 months 4 weeks ago #1 by Peter
I would like the fields in the subscription form to be better placed, and I would like the field showing the mailing lists to start and end with a horizontal line, or in a box or something similar.
How can I make such changes?
And will they stay in case I make a software update?

And of course it would be great to change colors etc to match the look of the homepage .

Kind regards
Peter

Please Log in or Create an account to join the conversation.

  • Christopher Mavros
  • Christopher Mavros's Avatar
  • Offline
  • Administrator
  • Administrator
More
5 months 3 weeks ago #2 by Christopher Mavros
Replied by Christopher Mavros on topic Can I change the layout in the CSS or php somewhere?
Hello Peter and thank you for posting.

You may create a template override of the file
Code:
components/com_nspro/views/nspro/tmpl/default_mailing_lists.php
by copying it and placing it in
Code:
templates/your_template/html/com_nspro/nspro/default_mailing_lists.php

This will allow you to customize the look of the mailing lists as much as you want, and it's generally update proof.

Same applies for
Code:
components/com_nspro/views/nspro/tmpl/default.php
which contains the name, email and some of the other fields.

There's also the file
Code:
components/com_nspro/views/nspro/tmpl/default_anti_spam.php
that controls the anti-spam fields.

If you have other extra fields and want to change their look, you can use CSS, but template overrides are not possible at the moment.
Let me know if you need help with CSS.
Thanks again.

At the moment, customizing the layout of the custom fieldsĀ 

Christopher Mavros
me@mavxr.com
If you like our extensions, please rate us on the JED!
The following user(s) said Thank You: Peter

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros