News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

registration form fields too far from descriptions

Started by Neek, March 06, 2011, 12:31:48 AM

Previous topic - Next topic

Neek

i'm using a custom theme and i want the form fields to be closer to their descriptions on the registration page. i'm not sure if the custom theme is causing them to be so far apart or if this is just the way SMF is but i don't know how to bring them closer (horizontally) and am hoping you do.

see attached screen shot for example. thank you.

Neek


HunterP


There are several ways to fix this. What you are seeing is a table. You could make either this table smaller, or align the descriptions to the right.

This can be found in Themes/yourtheme/Register.template.php

My default theme has two lines like :

<form action="', $scripturl, '?action=register2" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator" onsubmit="return verifyAgree();">
   <table border="0" width="100%" cellpadding="3" cellspacing="0" class="tborder">

You could start with decreasing the 100% and see if this solves your issue.

Neek

custom theme doesn't have Register.template.php and editing the 100% to 50% for the table in the default theme's Register.template.php didn't change anything :(

any other suggestions?

i think it might be more complicated than this

HunterP


In stead of a screen shot, can you give an URL?

Neek

ok figured it out

just changed a couple "register" entries in Themes/custom/index.css

specifically for my theme (minimal_20rc4):

- changed width to 200px for dl.register_form dt
- removed width from dl.register_form dd
- added width 200px and changed text-align to right for #confirm_buttons

Advertisement: