I want my Learndash Sidebars back on Lesson Pages only

@Lely Thank you!!! I totally did not think they way was possible. I know it seemed so simple to pull out and do through inspect, I use it all the time. I just thought it would not be possible to isolate. I should’ve known better. Thank you for the time to do the screencast. The CSS worked brilliantly. :black_heart:

You’re most welcome and glad we could help :slight_smile:

Thanks!

I have tried everything to try to get the same iframes to auto center. The ones on that page are centered because I did it when posting them. But I am fixing to import 2000 lessons and they will each have these videos. They were not assigned to be centered. I want them to be :hugs:
I have used text-align as well as float but neither will get it centered.
Tell me yes! :smile:
And thank you thank you!

Hi there,

It’s displaying a 404 page, would you mind providing the correct URL? Does it have a unique class, maybe you can use that to style it globally? Example,

iframe.lesson_class {
max-width: 500px;
display: block;
margin: 0 auto;
}

I need to see the exact sample first :slight_smile:

Thanks!

Hey @Rad so sorry about that! I was working on migrating the courses in and that lesson was deleted. I am including a new lesson. (any lesson on the site now would work for what I want to fix that has a video, which is 90% of them)
Remember this is about getting @Lely CSS to also center the video.

.single-sfwd-lessons .entry-content iframe {
max-width: 633px;
border: 1px solid #ccc;
padding: 9px;

THANK YOU BOTH! :hugs:

Hi there,

Ah, please update @Lely CSS to this :slight_smile:

.single-sfwd-lessons .entry-content iframe {
    max-width: 633px;
    border: 1px solid #ccc;
    padding: 9px;
    margin: 0 auto;
    display: block;
}

That should do it. Cheers!