Hey Jamal,
thank you for the information!
Indeed it's so exhausting to solve that issue, it seems easy but it's not 🙂
From what I found out is that switching the theme on my backend side (in preview mode) would solve the issue. But I know from your sandbox, that the focus mode loads the theme THE7 font settings correctly, so there must be a nasty bug happen on my side somehow somewhere, right? (not coming from caching plugin)
Here is a reply from my theme author, if that helps. He is like crazy that Learndash does not reply to the question, how to add that body id to the focus mode page. Well we will do small steps!
Hello,
Like I said before the id=”the7-body” comes from the The7 header template header-single.php file
hidden link and this file is called by heder.php
But the learn dash does not use these files to display the lesson page, they use their own templates, which do not have this ID
They do not even use the theme header and menu hidden link unlike normal pages
They even have their own logo settings hidden link
and if change the template to Legacy hidden link
There is no font issue because it uses the theme header hidden link
so we need to find out that template file and add the id=”the7-body” to the body tag, so all I am asking is to provide some hints to locate the template file they use to display the lesson page, not sure why it is so difficult for them to understand
I cannot find the core learn plugin in the plugin folder, I can see addons there and am not sure which folder to look for the file
hidden link
So all you have to ask them is which templates are used to display this lesson page hidden link (LearDash 3.0 template) and how to overwrite it from the child theme, leave everything else for now
Regards
Safeer
<b>Reply from the LD forum:</b>
hidden link
And: I think this reply from learndash forum says basically you need to copy lesson.pho to the child theme and change the line:
If you are using focus mode, lesson.php is located in your child-theme/learndash/ld30/ folder.
Edit it in your child-theme and add that class to line #43 after the PHP closing tag and before the closing quotes.