Sign in
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

  • This topic has 1 reply, 2 voices, and was last updated 1 month, 2 weeks ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11492
    Avatar photored

    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.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.