LDX Design
  • WordPress LMS Themes
  • Free WordPress LMS Plugins
  • Video Hosting
  • LearnDash Mobile App
  • BuddyBoss Platform
  • BuddyBoss Services
  • LearnDash Services
  • WordPress LMS Themes
  • Free WordPress LMS Plugins
  • Video Hosting
  • LearnDash Mobile App
  • BuddyBoss Platform
  • BuddyBoss Services
  • LearnDash Services
Free SVG Patterns by SVGBackgrounds.com

Limit the Width of the LearnDash Login Modal

By Dave Warfel

On March 15, 2021

In Tutorials

Affiliate Disclosure: We may be compensated if you use our links to make a purchase. We are extremely selective in who we partner with & only recommend products we believe in. Our affiliate relationships do not influence our recommendations.

If you’re using LearnDash’s login modal, you might feel as though it’s a bit too wide. If you aren’t also using the free registration part of the modal, then the login form takes up a lot of space on the screen.

This super-quick tutorial will show you how to shrink the size of the login modal popup window. You’ll be able to customize the CSS to whatever width you want to use.

By default, the LearnDash login modal is set to 80% width. This means it will take up 80% of whatever the screen size of the visitor. On larger screens, this will mean 1000px or more. It might look something like this:

LearnDash login modal, by default, really wide

That’s way more space than we need. Let’s reduce its width and make it look more like a normal popup window.

The CSS

Add this CSS to the Appearance > Customize > Additional CSS panel in the WordPress admin area. You can adjust the width as you see fit. I think 550px looks really nice.

.learndash-wrapper .ld-login-modal {
	max-width: 550px;
}

Upgrade the Entire Design

If you want to take things a step further, you can upgrade the entire design of the LearnDash login modal (registration panel, too) with our Design Upgrade Pro for LearnDash plugin.

You can change background colors, text colors, the close icon, input color, remove the login login, remove some of the description text AND add a background overlay to the page behind the modal. Here’s an example of how we spiced it up with Design Upgrade Pro for LearnDash.

Improved design of LearnDash login modal

CSSLogin

Previous

Show LearnDash Course Content Dynamically on WooCommerce Single Product Elementor Theme Builder Template

Next

Replace the LearnDash Registration Popup with a Custom Form

2 Comments

Add Comment →

  1. Zoe

    Do you happen to know how to change the description text underneath the Login heading?

    April 3, 2023
    Reply
    • Dave Warfel

      You’ll need to either use a translation plugin like Loco Translate or Say What? … or customize the LearnDash template files and change the text in there. A translation plugin is probably the better method for most users.

      April 3, 2023

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

LMS Tutorials & News

  • Example LearnDash course grid carousel on mobile

    Create a Carousel for LearnDash Course Grid & Lesson List

    April 2, 2025

  • LearnDash 4.15 Design Features & Design Upgrade Plugin Compatibility

    May 9, 2024

  • BuddyBoss vs. BuddyPress: What’s the Difference?

    May 1, 2024

  • 13 LearnDash Alternatives: LMS Plugins & Platforms with Similar Features

    May 1, 2024

  • How to Downgrade/Rollback Your LearnDash Version

    April 18, 2024

Related Content

Create a Carousel for LearnDash Course Grid & Lesson List

I was recently asked by a customer of our Design Upgrade Pro for LearnDash plugin if there was a way to improve the view of the course grid output on mobile. She wasn’t pleased with how everything just stacked on...

LearnDash 4.15 Design Features & Design Upgrade Plugin Compatibility

Update, June 21, 2024: We released version 2.22 of Design Upgrade Pro, and version 2.22.1 3 days later. Version 2.22.1 fixes the issues with LearnDash 4.15’s new styles. If you’re using LearnDash 4.15 or higher, please update our plugin to...

Create a Dark Mode for LearnDash Focus Mode

A few people have asked me if I could create a “dark mode” for LearnDash’s Focus Mode. The answer is yes, but it does come with a few caveats. Overall though, I was able to replicate the same colors in...

LDX Design

LearnDash tutorials, reviews, and comparisons with other WordPress LMS platforms.

Contact Us →

Favorite Products
  • Kinsta WordPress Hosting
  • Rapyd BuddyBoss Hosting
  • GeneratePress Theme
  • Elementor Site Builder
  • Uncanny Toolkit for LearnDash
  • Uncanny Automation Plugin
  • BuddyBoss Social Learning Platform
  • Kinsta WordPress Hosting
  • Rapyd BuddyBoss Hosting
  • GeneratePress Theme
  • Elementor Site Builder
  • Uncanny Toolkit for LearnDash
  • Uncanny Automation Plugin
  • BuddyBoss Social Learning Platform
LearnDash Resources
  • LearnDash Plans/Pricing Explained
  • LearnDash Web Hosting
  • LearnDash Video Hosting
  • LearnDash + BuddyBoss
  • LearnDash Blocks & Shortcodes
  • LearnDash Focus Mode Guide
  • LearnDash Course Grid Guide
  • LearnDash Plans/Pricing Explained
  • LearnDash Web Hosting
  • LearnDash Video Hosting
  • LearnDash + BuddyBoss
  • LearnDash Blocks & Shortcodes
  • LearnDash Focus Mode Guide
  • LearnDash Course Grid Guide
LMS Platforms
  • 7 Free WordPress LMS Plugins
  • The Best WordPress LMS Themes
  • LearnDash vs. Teachable
  • 7 Free WordPress LMS Plugins
  • The Best WordPress LMS Themes
  • LearnDash vs. Teachable
Services
  • LearnDash Customization
  • LearnDash Consulting Video Calls
  • BuddyBoss Customization
  • LearnDash Customization
  • LearnDash Consulting Video Calls
  • BuddyBoss Customization

Escape Creative, LLC  ©  2019-2025. All Rights Reserved.

Privacy Policy   /   Cookie Policy   /   Contact Us

 

Loading Comments...