Add to your Store
Home Why us? Documentation Privacy Policy Refund Policy Get in Touch

Adjusting Heading Size for Desktop and Mobile

Learn how to adjust text and other properties for display on a mobile device

A common challenge with designing your section is adjusting heading sizes to look just right on both desktop and mobile screens. Often, what works for desktop can appear too large on mobile. In this guide, we'll show you how to easily adjust heading sizes separately for desktop and mobile views, creating a seamless experience for all users.

Step 1: Adding Custom CSS

You can add the following CSS to target different screen sizes.

@media (max-width: 800px) {
  h2,
  h2 strong {
    font-size: 15px !important;
  }
}

Step 2: Applying the CSS

  1. Go to your theme's customization options.
  2. Locate the Custom CSS section.
  3. Paste the code provided above into the Custom CSS box.
  4. Save the changes.

Troubleshooting

You can verify the changes by previewing your site on both desktop and mobile views to ensure the heading sizes are adjusted as expected.