You asked

How does an aps c sensor change the framing of a portrait lens on the canon eos 77d?

On the Canon EOS 77D, the APS-C sensor is smaller than full frame, so every lens frames tighter. The 77D's 1.6 crop factor means a lens frames like 1.6 times its focal length on full frame. A 50mm lens therefore frames like 80mm, and a 53mm lens frames like the classic 85mm portrait length. You'll need to step back further from your subject to get the same head-and-shoulders shot.

The same crop also changes background blur. A fast APS-C lens closes most of the gap with full frame: the focal length converter shows that f/1.8 on APS-C gives about the background blur of f/2.7 on full frame. Eye autofocus, which matters most for portraits, is covered on the portraits page.

For a 77D portrait setup, the guide suggests three EF lenses:

A bigger sensor would give more background blur at the same f-number, as the sensor sizes page explains, but on the 77D a fast APS-C lens is the practical route.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.