title: How can I add custom text in a row above an attribute in Woocommerce?
body: <p>I was using this function to add text next to the attribute label, however I need it above or below an attribute, for example something like "Please choose desired colour" right above (or below) the pa_colour attribute.</p>
  
  <pre><code>add_filter( 'woocommerce_attribute_label', 'custom_attribute_label', 10, 3 );
  function custom_attribute_label( $label, $name, $product ) {
      $taxonomy = 'pa_'.$name;
  
      if( $taxonomy == 'pa_size' )
          $label .= '&lt;div class="custom-label"&gt;' . __('MY TEXT', 'woocommerce') . '&lt;/div&gt;';
  
      return $label;
  }
  </code></pre>
  
  <p>The problem is, I'm not sure how to do that. If you can direct me I would greatly appreciate it.</p>
  
  <p>What I'd like to see:<br>
  <img src="https://snag.gy/L10cCp.jpg" alt=""></p>
  
  <p>What I'm seeing now:<br>
  <img src="https://snag.gy/QfAux5.jpg" alt=""></p>