badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Guenni007

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: BTW One Year Update and Support #5717
    Guenni007
    Participant

    thanks i got it

    in reply to: BTW One Year Update and Support #5699
    Guenni007
    Participant

    you mean via the contact form ?

    in reply to: html Validation #3857
    Guenni007
    Participant

    btw you can stay class s but add id s

    <form action="<?php echo esc_url( home_url( '/' ) ); ?>" class="searchform clearfix" method="get">
    <label class="assistive-text" for="s"><?php _e( 'Search', 'cleanretina' ); ?></label>
    <input id="s" class="s field" name="s" type="text" placeholder="<?php esc_attr_e( 'Search', 'cleanretina' ); ?>">
    </form><!-- .searchform -->
    in reply to: html Validation #3854
    Guenni007
    Participant

    i now did it this way:
    i removed the class s and set an id s

    <form action="<?php echo esc_url( home_url( '/' ) ); ?>" class="searchform clearfix" method="get">
    <label class="assistive-text" for="s"><?php _e( 'Search', 'cleanretina' ); ?></label>
    <input id="s" class="field" name="s" type="text" placeholder="<?php esc_attr_e( 'Search', 'cleanretina' ); ?>">
    </form><!-- .searchform -->

    and this will do the trick

    in reply to: html Validation #3851
    Guenni007
    Participant

    one quick and dirty solution to get rid of that searchform error is to give no label to the assistive-text.

    so remove the line:
    <label class=”assistive-text” for=”s”><?php _e( ‘Search’, ‘cleanretina’ ); ?></label>

    Search will work without it and html Validation is than correct.

Viewing 5 posts - 1 through 5 (of 5 total)