Problem with mandatory asterisk (*) in review form (3 posts)

  1. darshakparmar
    Posted 3 years ago #

    Dear Team,

    Thanks for this wonderful e-commerce plug-in. I'm using it in one of the wordpress implementation that I'm doing for myself.

    I have noticed that the HTML mark-up used for mandatory asterisk (*) in review form is causing asterisk to break into next line.

    <label for="author">Name</label> <span class="required">*</span>

    Which ideally should be

    <label for="author">Name <span class="required">*</span></label>

    Can you please fix this small bug as it really looks unprofessional to have asterisk in next line.


  2. James Koster
    Plugin Author

    Posted 3 years ago #

    This isn't really a bug. The asterisk is 'on the next line' because of the css in your theme.

    By default labels will display: inline; which means they would actually be on the same line. You theme must be setting label { display: block; } somewhere.

  3. darshakparmar
    Posted 3 years ago #

    Thanks James for your quick response.

    However, I tried to reference it against comment form under any other normal post where the mark up is
    <label for="author">Name <span class="required">*</span></label>

    Also, FYI - I am so far using default twentlytwelve theme without any changes.

    below is a screenshot:

    Error snapshot

    pl let me know if there is something wrong being done from my side - although which is unlikely at this stage as I have not touched any files or CSS so far.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic