'Related post' font size

  • Posted in : TheBlogger
  • aggiephoto
    Participant

    How do I change ‘related post’ font size and weight? Also, is there a way to change the font size of the ‘Top Posts’ widget? Thanks so much-

    serkan
    Moderator

    Hi,
    You can use these custom css codes;

    .related-posts .post-thumbnail .entry-title {  font-size: 18px; font-weight: 700; }
    .tptn_title { font-size: 16px; }

    http://www.pixelwars.org/forums/topic/how-to-use-custom-css-for-wordpress-themes/
    Thanks

    aggiephoto
    Participant

    Thank you for the code , but when I tried this it didn’t work. I can add new custom code to another custom code already in that section , right?
    Thank you!!

    serkan
    Moderator

    Hi, If you forget to close parentheses at the end of the previous code, subsequent codes will not work. Please check the codes. And also copy this code to the top and try again.
    Thanks

    aggiephoto
    Participant

    Again, this didn’t change anything. I tried everything I could think of. I’m looking to change the size of titles of the posts listed under “You might also like” area. I thought this was related posts but maybe not?

    serkan
    Moderator

    Hi, Could you provide me your related url, please?
    Thanks

    aggiephoto
    Participant

    Sorry I didn’t include earlier. I’ve tried everything with the code you provided earlier. The font size and weight is a little bold for me.
    http://mydellajane.com/greatbooksfor2018/

    serkan
    Moderator

    Hi,
    If it is bold for you then you can deacrease the weight and font size via thiis custom css code;

    .related-posts .post-classic .entry-title { font-size: 20px; font-weight: 300 }

    Thanks

    aggiephoto
    Participant

    Perfect! Thank you so much!

    serkan
    Moderator

    You’re welcome, please don’t forget to rate the theme on themeforest if you liked it, thanks.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register