Title: styling title
Last modified: August 22, 2016

---

# styling title

 *  Resolved [TambelaLen](https://wordpress.org/support/users/tambelalen/)
 * (@tambelalen)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/styling-title/)
 * Hi –
    Thank you for your previous support! I am trying to style the title above
   the related posts. I am using the Momma theme and under custom CSS I have .related_post_title{
   font-family: Georgia, ‘Times New Roman’, Times, serif; !important font-size: 
   20px; !important text-align: center; !important margin-left: auto; !important
   margin-right: auto; !important }
 * Changing the font worked, but font-size and centering did not.
    notice that I
   am trying several ways to center the text.
 * An example is on our site at
    [http://tambela.com/blog/perfumers-nose-stories-of-petitgrain/](http://tambela.com/blog/perfumers-nose-stories-of-petitgrain/)
 * Thank you for your help.
    Leonard
 * [https://wordpress.org/plugins/related-posts-by-zemanta/](https://wordpress.org/plugins/related-posts-by-zemanta/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [TambelaLen](https://wordpress.org/support/users/tambelalen/)
 * (@tambelalen)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/styling-title/#post-5280079)
 * ps, I had a syntax error and moved the ‘;’ to the end of each line, but it didn’t
   help.
 *  [PetraP](https://wordpress.org/support/users/petrap/)
 * (@petrap)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/styling-title/#post-5280208)
 * Hey Leonard,
 * no problem – try adding this to your CSS code box:
 *     ```
       .wp_rp_wrap .related_post_title
       {
       font-size: 20px !important;
       text-align: center !important;
       margin-left: auto !important;
       margin-right: auto !important;
       }
       ```
   
 * It should work 🙂
 * Let me know how it goes, take care and have an amazing day,
    Petra
 *  Thread Starter [TambelaLen](https://wordpress.org/support/users/tambelalen/)
 * (@tambelalen)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/styling-title/#post-5280305)
 * That worked. Thanks!
    A nice feature for the future would be if the styling of
   the ‘across the web’ posts matched the ‘from my site’ posts. Leonard
 *  [PetraP](https://wordpress.org/support/users/petrap/)
 * (@petrap)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/styling-title/#post-5280306)
 * Hey,
 * glad to hear it worked! But as far as your feature request goes…I must disappoint
   you, this will probably stay the same as it is (for the time being). Sorry! We
   do appreciate your feedback though.
 * Take care and have a lovely weekend,
    Petra

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘styling title’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/related-posts-by-zemanta_7b9a7c.svg)
 * [Related Posts by Sovrn](https://wordpress.org/plugins/related-posts-by-zemanta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related-posts-by-zemanta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related-posts-by-zemanta/)
 * [Active Topics](https://wordpress.org/support/plugin/related-posts-by-zemanta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related-posts-by-zemanta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related-posts-by-zemanta/reviews/)

## Tags

 * [centering](https://wordpress.org/support/topic-tag/centering/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [post title](https://wordpress.org/support/topic-tag/post-title/)

 * 4 replies
 * 2 participants
 * Last reply from: [PetraP](https://wordpress.org/support/users/petrap/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/styling-title/#post-5280306)
 * Status: resolved