1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Change section height for large screens only

Discussion in 'Free Divi Community Forum' started by N Swingle, Nov 4, 2022.

  1. N Swingle

    N Swingle New Member

    I have a few sections that I set a specific height for, and they look good up to about a 16" desktop screen, but on my 27" screen the height is too short and cuts off part of the information in my section. How can I set a height for the section to only change it on larger screen sizes? Thanks in advance
     
    1. PRO MEMBER PERKS Divi Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Why not just remove the height value, so that the section height can be automatically adjusted based on the content height?

    But if you still need to set a custom height for your section at certain screen size, then you will have to use custom CSS.

    First, you will need to go to your Section Settings > Advanced > CSS Class & add: your-custom-css-class

    Then add the below at WP Admin > Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
    **Adjust 1400px to fit your need.