Announcement

Collapse
No announcement yet.

Images in the registration module

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Font Size
    #1

    Images in the registration module

    If you want to display an image in the registration module, upload these images password.png and username.png to your / images folder.
    Then find the following template login_main
    Roughly on the line

    23- <span class="td">
    <input type="text" value="{vb:var formData.username}" class="js-login-username b-form-input__input b-form-input__input--full" placeholder="{vb:hrase {vb:var loginPhrase}}" />
    </span>
    Add this before <img src="images/username.png" alt="Username">

    Code:
    <span class="td">
    <img src="images/username.png" alt="Username"> <input type="text" value="{vb:var formData.username}" class="js-login-username b-form-input__input b-form-input__input--full" placeholder="{vb:phrase {vb:var loginPhrase}}" />
    </span>


    Roughly on the line
    28-<span class="td">
    <input type="password" autocomplete="off" name="password" class="js-login-password b-form-input__input b-form-input__input--full" placeholder="{vb:hrase password}" />
    </span>
    Add this before <img src="images/password.png" alt="Password">
    Code:
    <span class="td">
    <img src="images/password.png" alt="Password"><input type="password" autocomplete="off" name="password" class="js-login-password b-form-input__input b-form-input__input--full" placeholder="{vb:phrase password}" />
    
    </span>
    Click image for larger version

Name:	password.png
Views:	105
Size:	606 Bytes
ID:	2640Click image for larger version

Name:	username.png
Views:	57
Size:	679 Bytes
ID:	2644
    Attached Files
    Similar Threads
X

Thread Information

Collapse

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

    Those who read this thread

    Collapse

    Members who have read this thread: 2

    Working...
    X

    AdBlock Detected

    Please Disable Adblock

    Please consider supporting us by disabling the ad blocker.

    I've Disabled AdBlock