Center the header in Canvas only

Things I have tried

I use the snippet proposed in this thread but in center the H1 header everywhere.

What I’m trying to do

Is there a way to center the header in Canvas only (not in Notes).

Try adding .canvas-node (with the space) in front of the other selector, and see if that doesn’t solve your case.

So without looking at the other code, something like this:


.canvas-node .HyperMD-header.HyperMD-header-1 {
    text-align: center;


.canvas-node .markdown-preview-view h1 {
    text-align: center;
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.