Title: Format Post Titles
Last modified: August 22, 2016

---

# Format Post Titles

 *  Resolved [patternreplicas](https://wordpress.org/support/users/patternreplicas/)
 * (@patternreplicas)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/)
 * Hi!
    Can you guide me with an example on how to add a filter in my child-theme
   to format the titles of the posts (captions)? I managed to follow the recipe 
   to make them link to the post but I’m unable to extract the recipe to format 
   the size, for example. How can I make them bigger or change the font?
 * I plan also to stretch my posts content area, and I’m guessing the plugin would
   respond by increasing the size of the titles? I would like to reach a post format
   where the Related Posts by Tax would display 3 columns with medium size thumbnails
   and strong titles. This is what I have now:
    [http://nimb.ws/f7GMWh](http://nimb.ws/f7GMWh)
 * thanks
 * [https://wordpress.org/plugins/related-posts-by-taxonomy/](https://wordpress.org/plugins/related-posts-by-taxonomy/)

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

 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539720)
 * Hi patternreplicas
 * See [http://keesiemeijer.wordpress.com/related-posts-by-taxonomy/post-thumbnails/#styling](http://keesiemeijer.wordpress.com/related-posts-by-taxonomy/post-thumbnails/#styling)
 * Try it with this in your (child) theme’s stylesheet (style.css) to make the caption
   bold:
 *     ```
       .related-gallery .gallery-caption {
         font-weight: bold;
         font-size: 20px;
       }
       ```
   
 * [http://www.htmldog.com/guides/css/](http://www.htmldog.com/guides/css/)
 * btw:
    consider creating a [child theme](http://codex.wordpress.org/Child_Themes)
   instead of editing your theme directly – if you upgrade the theme all your modifications
   will be lost.
 *  Thread Starter [patternreplicas](https://wordpress.org/support/users/patternreplicas/)
 * (@patternreplicas)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539762)
 * Thanks for coming to the rescue again!
 * I verified the functions.php and the Style.css in my child theme. I don’t understand
   why the titles didn’t change.
 * [https://drive.google.com/file/d/0BwA1IuXMUSGIa3JPcVdpSVVWb1k/view?usp=sharing](https://drive.google.com/file/d/0BwA1IuXMUSGIa3JPcVdpSVVWb1k/view?usp=sharing)
 * [https://drive.google.com/file/d/0BwA1IuXMUSGIZFVOWXM1OTNnSTg/view?usp=sharing](https://drive.google.com/file/d/0BwA1IuXMUSGIZFVOWXM1OTNnSTg/view?usp=sharing)
 * Can you guess what could it be?
 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539770)
 * Don’t put the css inside `/* */`
    Just paste the code as is underneath the child
   theme header.
 *  Thread Starter [patternreplicas](https://wordpress.org/support/users/patternreplicas/)
 * (@patternreplicas)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539781)
 * Thank you! It worked! : )
    Any idea why it doesn’t work to set a different color?
   I added 2 other lines in the css – line-height: 110%; color: #316272; – and only
   the color one didn’t work. And how to remove the underline? I would like to make
   it respond in the same way as the rest of the website’s posts titles: have the
   same color (now is set to a blue, not underlined) and to turn orange when hover.
   Can you help me with these?
 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539785)
 * Try:
 *     ```
       .related-gallery .gallery-caption a {
           color: #316272;
       }
       ```
   
 *  Thread Starter [patternreplicas](https://wordpress.org/support/users/patternreplicas/)
 * (@patternreplicas)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539787)
 * This is what I have in the style.css from the child-theme:
 * .related-gallery .gallery-caption {
    font-weight: bold; font-size: 20px; line-
   height: 110%; } .related-gallery .gallery-caption a { color: #316272; }
 * It didn’t work for the color. Any suggestions?
 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539800)
 * Try
 *     ```
       .related-gallery .gallery-caption a {
       color: #316272 !important;
       }
       ```
   
 * Without taking a look at the site itself there is not much more I can do to make
   this work.
 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539802)
 * To remove the underline try.
 *     ```
       .related-gallery .gallery-caption a {
           color: #316272 !important;
           text-decoration: none;
       }
       ```
   
 *  Thread Starter [patternreplicas](https://wordpress.org/support/users/patternreplicas/)
 * (@patternreplicas)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539804)
 * Hi!
    It worked! thanks!! And I’m really glad cuz I was just realizing that it
   could be because of the Personalize Theme options which had the links color set
   to orange. This way I wont need to change all links on the site but only these
   titles. I’ll try it one more time but it seems to be ok : ) Thank you once again
   for being there!
 *  Plugin Author [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539805)
 * No problem. I’m glad you have it looking the way you want 🙂

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

The topic ‘Format Post Titles’ is closed to new replies.

 * ![](https://ps.w.org/related-posts-by-taxonomy/assets/icon.svg?rev=1115231)
 * [Related Posts by Taxonomy](https://wordpress.org/plugins/related-posts-by-taxonomy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/related-posts-by-taxonomy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/related-posts-by-taxonomy/)
 * [Active Topics](https://wordpress.org/support/plugin/related-posts-by-taxonomy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/related-posts-by-taxonomy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/related-posts-by-taxonomy/reviews/)

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * 10 replies
 * 2 participants
 * Last reply from: [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/format-post-titles/#post-5539805)
 * Status: resolved