Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

re: Blank Theme’s Author Image Auto-Scaling

  • #11492
    Avatar photo[anonymous]

    When I apply the Blank theme to a new site and add an author and an avatar image…upon preview, the avatar image doesn’t scale down to a smaller size…meaning it doesn’t scale down as other themes.

    I see the variables in the index.hbs: avatarImage.height and avatarImage.width are being used and they are properly being enforced.

    I’m assuming this feature is something that I have to hand code myself, however, I cannot find any example from the other themes which accomplish this responsive auto-down-scaling.

    Where’s this code located in the Technews theme?

    #11493
    Avatar photoBob

    The blank theme is designed for demonstrative purposes only. It serves to illustrate the construction of themes. This theme incorporates CSS tailored specifically by Publii editors.

    To address your issue, you’ll need to add CSS rules for the avatar image to make it responsive.