Hi,
I started working on this problem and managed to remove the main menu as shown below.
c:\Users\info\OneDrive\Documents\Publii\sites\test-site\input\themes\technews\
I made a copy of the post.hbs file in this folder.
And I renamed it to post-page.hbs.
In this new file, I deleted the {{> top}} element on line 2 and the {{> footer}} element at the end of the file.
I then modified this section in the config.json file:
"postTemplates": {
"alternative": "No sidebar"
},
After:
"postTemplates": {
"alternative": "No sidebar",
"page": "Without top menu and footer"
},
When publii was restarted, the “No top menu and footer” option could be selected in the post editor.
I inserted a short text and an image as well as a video into the content.
When I rendered the file, the image and video did not appear.
Then I disabled the Lazy load option in the settings.
Thus, the text and image have already appeared in the content, but not in the video.
Then I put the {{> footer}} element back in the post-page.hbs file.
Then all the text, images and videos appeared.
However, the footer is there.
So besides adjusting the width of the content, my only question is removing the footer.
I can remove the top main menu with this method, separately for each post.
Thanks in advance for any help.
Sincerely
László Balk