Title: Styling Echoed Text
Last modified: May 13, 2017

---

# Styling Echoed Text

 *  Resolved [kayla](https://wordpress.org/support/users/kaylaz/)
 * (@kaylaz)
 * [9 years ago](https://wordpress.org/support/topic/styling-echoed-text/)
 * Hello,
 * I am using this code to call the product title to display above the product image
   in WooCommerce.
 *     ```
       function sv_add_text_above_wc_shop_image() {
           echo  the_title();
       }
       add_action( 'woocommerce_before_shop_loop_item_title', 'sv_add_text_above_wc_shop_image', 9 );
       ```
   
 * How can I format the color, size, and alignment of the text?
 * I have tried many things including p, div, style, and font both inside the function
   and outside the function.
 * [http://funkydreamerstorytime.com/product-category/podcasts4kids/](http://funkydreamerstorytime.com/product-category/podcasts4kids/)

The topic ‘Styling Echoed Text’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/my-custom-functions_0e1030.svg)
 * [My Custom Functions](https://wordpress.org/plugins/my-custom-functions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-custom-functions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-custom-functions/)
 * [Active Topics](https://wordpress.org/support/plugin/my-custom-functions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-custom-functions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-custom-functions/reviews/)

## Tags

 * [format](https://wordpress.org/support/topic-tag/format/)
 * [style](https://wordpress.org/support/topic-tag/style/)

 * 0 replies
 * 1 participant
 * Last reply from: [kayla](https://wordpress.org/support/users/kaylaz/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/styling-echoed-text/)
 * Status: resolved