How to get equal height boxes on the login page
Posted: Wed Mar 20, 2024 5:25 pm
Using 1.0.8.20 Phoenix on test site.
Done a search and found no results.
We have two boxes side by side on the login page. One is for returning customers and one is for new customers.
How do I get both buttons, the 'sign in' on one box, and the 'create account' in the other, aligned with each other. I have so far added the following to a <P> tag in the sign in box template file but there must be a better way.
With the padding added they almost line up but its about 1-2 mm wrong and looks funny.
Here is a screenshot of the page without anything added to the <p> tag
Any help appreciated
Done a search and found no results.
We have two boxes side by side on the login page. One is for returning customers and one is for new customers.
How do I get both buttons, the 'sign in' on one box, and the 'create account' in the other, aligned with each other. I have so far added the following to a <P> tag in the sign in box template file but there must be a better way.
With the padding added they almost line up but its about 1-2 mm wrong and looks funny.
Code: Select all
<p class=" pt-4"><small><?php echo MODULE_CONTENT_LOGIN_FORM_FORGOT_PASSWORD_TEXT; ?></small>
<small><?= '<a href="' . $GLOBALS['Linker']->build('password_forgotten.php') . '">' . MODULE_CONTENT_LOGIN_FORM_FORGOT_PASSWORD_LINK_TEXT . '</a>' ; ?></small></p>Any help appreciated