Advertisement:

Author Topic: <button type="submit"> in Modern theme  (Read 827 times)

Adyyda

  • Sr. Member
  • ****
  • Posts: 435
<button type="submit"> in Modern theme
« on: July 07, 2015, 06:55:16 pm »
Can anyone tell me where the submit button is constructed?

We have for instance in login area only this code
Code: [Select]
<button type="submit"><?php _e("Log in"'modern');?></button> which is complicated into

<div class="button" style="-moz-user-select: none;">
<span>
Log in
<button type="submit">Log in</button>
</span>
</div>

which in fact are 2 buttons and 1 has absolute position, outside of container
Code: [Select]
div.button a, div.button button, div.button input {
    position: absolute;
    top: -9999px;
« Last Edit: July 07, 2015, 06:59:26 pm by Adyyda »

Adyyda

  • Sr. Member
  • ****
  • Posts: 435
Re: <button type="submit"> in Modern theme
« Reply #1 on: November 02, 2015, 10:25:34 pm »
Anyone? This is theme related because in modern is not constructed like this. Problem is i can't find in which file is done.