Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mike Martel

    (@mike_cowobo)

    Hi @wpokg!

    Thanks for your review! It’s much appreciated.

    There is no option in WP Tiles itself to change the tile font size, so you have to do it via CSS.

    All elements in the plugin have unique class names, so it’s quite easily done.

    To change the font-size for bylines, it just depends on whether you are changing the size for text-only tiles, or tiles with background images.

    Here is an example:

    /** Make the font for text-only tiles smaller **/
    .wp-tiles-tile-text-only .wp-tiles-byline-content {
        font-size: 0.8em;
    }
    
    /** Make the font for image tiles smaller **/
    .wp-tiles-tile-with-image .wp-tiles-byline-content {
        font-size: 0.8em;
    }

    You can put this in the stylesheet of your child theme. Some themes also have a ‘custom css’ option, where you can put it as well.

    Let me know if it worked!

    Cheers,
    Mike

    Hi Mike
    Brilliant – love the plug-in just what I was looking for.
    I am using tiles as a way of navigating data according to categories and trying to change the font size of the Post Title that is shown on the tiles so that it adjusts depending on the tile size. How would I do that?
    Caroline

    Mike
    Solved it myself … taking off the automatic title in the Byline and entering it as a custom byline and then turning off and then setting automatic byline height to ON.

    Anyway I am finding this a great plug-in particularly for those not so experienced…
    Thanks

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

The topic ‘Changing font size’ is closed to new replies.