title: Format/Style current_user_display_name in WP
body: <p>I am fairly new to coding and need a little guidance. I am using the following .php:</p>
  <pre><code>// [current_user_display_name]
  
  function display_current_user_display_name () {
      $user = wp_get_current_user();
      $display_name = $user-&gt;display_name;
      return $user-&gt;display_name;
  }
  add_shortcode('current_user_display_name', 'display_current_user_display_name');
  </code></pre>
  <p>and would like to style the text with CSS. I'm not sure how to do this, I tried this:</p>
  <pre><code>.display_current_user_display_name 
  
  {
      color:#ffffff;
      font-family:lato;
      font-size:16px;
      font-weight:regular;
  }
  </code></pre>
  <p>but it did not work. Thanks!</p>