Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: MisterCat - syyskuu 27, 2013, 01:40:49 IP

Otsikko: login css
Kirjoitti: MisterCat - syyskuu 27, 2013, 01:40:49 IP
Hi folks, I'm sure this is a really simple one, but I'm struggling to make the login SSI include look like it does on here in the top left when logged out.

i.e. in-line instead of a standard table, and I understand it's best not to tinker with the SSI or have your own copy/version of it as it'll make updating grief.

I've searched all over but just can't quite get the css to do it. Any help appreciated.
Otsikko: Re: login css
Kirjoitti: All Colours Sam - syyskuu 27, 2013, 07:56:40 IP
You can take a look at the actual function:  function ssi_login($redirect_to = '', $output_method = 'echo')

As you can see, it is a plain HTML form, you can copy that HTML code and paste it on your external php page and do all the changes you need.
Otsikko: Re: login css
Kirjoitti: MisterCat - syyskuu 28, 2013, 06:59:58 AP
Great! I was trying to do it with css but that makes more sense :)