I’m using weblogin and websignup for the first time.
Can someone tell me where I can find the CSS styles that controls these form?
Thank you!
www.terrybarthdesign.com
-
☆ A M B ☆
- 24,524 Posts
You have to have the css in your site’s css files. If you "view source" you can see the layout of the forms and style them accordingly.
So there are no existing css that comes with these? I just need to create my own CSS file.
Got it. Thank you!
And if want to change the layout of the table generated in the page (e.g. make it horizontal vs veritcal), where do I find the code that creates the table? Do I have to edit the include files directly? I’ve searched and searched for this so I really appreciate the help. Thank you!
www.terrybarthdesign.com
-
☆ A M B ☆
- 24,524 Posts
You can create a chunk with the HTML for the form that you want and specify it in the snippet call with &tpl=`nameOfChunk`. What I do is copy the original (find it in assets/snippets/weblogin/weblogin.inc.php, near the bottom of the file, and in the websignup.inc.php file for the registration template) into a chunk, call it in the snippet, to make sure I’ve got that part right, then edit the chunk until it’s the way I want it.
The install also comes with a chunk for a sidebar login form that you can edit and use if you like.
Excellent! Thank you so much!
I will give this a try.
Terry
www.terrybarthdesign.com