After extensive testing and numerous attempts, I finally found the solution (thanks to ChatGPT). I would like to post it here because other users may encounter the same problem and appreciate a quick solution, and so that the effort is at least worthwhile for others. Here is the CSS code, which simply needs to be inserted at the bottom of the Customizer under “Custom CSS”:
`.entry-title {
white-space: normal !important;
word-break: break-word !important;
overflow-wrap: break-word !important;
hyphens: auto !important;
line-height: 1.2 !important;
max-width: 100% !important;
text-align: center !important;
}
Thank you, but there is no existing file named single-topic.php in the folder (just content-single-topic.php, but that does not contain any “h1” tag).