PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Use CSS Class Name to Hide Form Visibility?

  1. ehong33234
    Member

    I use the price fields QUANTITY form to use as a multiplier for my product pricing however, I need the form to be invisible (hidden) from the user. I tried the conditional logic and while it would work under normal circumstances, it doesn't work for my calculations.

    If someone could please post the CSS and instructions here that I could use, that would be very helpful. I will add it to my woocommerce quick CSS.

    The particular field I am talking about is: Quantity: Field ID 33

    Thank you!

    Posted 11 years ago on Friday December 7, 2012 | Permalink
  2. David Peralty

    Add a CSS class to the field called hidden, and then in your theme CSS add .hidden { display:none; } And then any field with the class of hidden should not show up for the user to see.

    Posted 11 years ago on Friday December 7, 2012 | Permalink
  3. ehong33234
    Member

    Great! I'll give it a shot and report back here.

    As always, thanks David!

    Posted 11 years ago on Friday December 7, 2012 | Permalink