Tagged: learnpress, page layout, sidebar
I installed the Enfold theme and Learnpress and made a course. When I look at the course I see a sidebar. It seems that courses are treated as posts because when I disable the sidebar with individual posts, the sidebar at the courses page is gone. The posts don’t have a sidebar but they are displayed as a narrow collum centred on the page.
What can I do so the courses are no longer treated as post or what can I do to add a sidebar only to the regular posts?
Thanks in advance. Regards, Peter
Hey Peter,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.single-lp_course .page-thumb img {
width: 100%;
}
You can also refer to this post – http://kriesi.at/documentation/enfold/use-the-layout-builder-with-any-post-type/ and enable ALB on your custom post type to have more control over your layout.
Best regards,
Yigit