Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jose Luis SAYAGO

    (@iluminatus)

    Hello @slimjim414,

    Indeed that’s because your current theme includes this rule:

    .entry-content-wrapper h3 {
       font-size: 2.8em;
    }

    You could include your own custom stylesheet for Single Latest Posts to override the h3 tags for titles, I’ve made this for you, just download this file: slposts-postTitle_medium.css

    Save the file in your active WordPress theme folder (where style.css is found). Then set the plugin to use this file instead of the default one:

    // Shortcodes
    [slposts css_style=slposts-postTitle_medium ...other parameters...]
    
    // Widget
    Set the parameter CSS Style to slposts-postTitle_medium

    Please note the .css file extension was intentionally omitted because it is automatically included by the plugin.

    Using this custom style titles should look like this: screenshot.

    If you want to know what I did, just look at the end of the CSS file, I added this rule:

    /*\
     * =========================
     * |                       |
     * | ++ Medium Titles ++   |
     * |                       |
     * =========================
    \*/
    .slposts-ulist-title,
    .slposts-olist-title,
    .slposts-block-title {
      font-size: medium !important;
    }
    /*\
     * =========================
     * |                       |
     * | -- Medium Titles --   |
     * |                       |
     * =========================
    \*/

    Of course if you want to tweak other things to better suit your theme, just edit the appropriate rules.

    I hope this helps.

    Cheers,
    José Luis.

    Thread Starter slimjim414

    (@slimjim414)

    Perfect, thanks! Rather than downloading the css file and trying to upload it, I just copied your css code into the style.css sheet included in the theme, and it worked! Thanks again for your very thorough help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Making text smaller via CSS?’ is closed to new replies.