Available

ZD

ZORA DESIGN

AVAILABLE
Custom Two-Column Blog Post Design (scroll)

By Julius Timgum

Learn how to build a  Custom Two-Column Blog Post Design in DIVI.

 

The design features a fixed full-width photo in the left column, serving as a captivating backdrop that sets the tone for the post, while the right column contains scrollable, highly readable text with clean typography, creating a harmonious blend of visuals and narrative.

 

CSS SNIPPETS

 

Paste this one your DIVI theme builder blog post page custom CSS.
With this css classes for the left and right column respectively:

left-column
right-column

 

 

 

COPY TO CLIPBOARD CSS SNIPPETS

/* Desktop Only */
@media (min-width: 1024px) {
  /* Left column - Fixed Position */
  .left-column {
    position: fixed;
    left: 0;
    top: 0;
    height: calc(100vh - var(--header-height) - var(--footer-height)); /* Subtract header and footer height */
    width: 50%; /* Adjust width as needed */
    overflow: hidden;
    z-index: 1; /* Ensure it sits appropriately in the stacking order */
  }

  /* Right column - Scrollable Content */
  .right-column {
    position: relative;
    margin-left: 50%; /* Positions it to the right of the fixed left column */
    width: 50%; /* Adjust width to match the fixed left column */
    padding: 20px; /* Optional padding for readability */
    overflow-y: auto; /* Allows vertical scrolling */
    margin-top: var(--header-height); /* Push content down to accommodate the header */
  }
}

/* Mobile and Tablet */
@media (max-width: 1023px) {
  .left-column,
  .right-column {
    position: static; /* Default positioning for natural flow */
    width: 100%; /* Full width for both columns */
    height: auto; /* Content dictates height */
    margin-left: 0; /* Reset margin */
    margin-top: 0; /* Reset margin for smaller screens */
    overflow: visible; /* Allow natural scrolling */
  }
}

TRY IT YOURSELF

Looking to enhance your blog’s user experience? This two-column layout combines creativity and functionality, offering an engaging design that blends visuals and text seamlessly. Stay tuned for more updates as I refine and experiment with unique layouts to keep the blog fresh and captivating!



			

Recent Post

How to add editor photo to Divi blog page (codes)

How to add editor photo to Divi blog page (codes)

Short CODE PHP CODE  function custom_author_box() { ob_start(); ?> <div class="custom-author-box"> <div class="author-avatar"> <?php echo get_avatar(get_the_author_meta('ID'), 96); ?> </div> <div class="author-name">...

Hamburger menu desktop/mobile

DOWNLOAD JSON ZIPPED Theme header DOWNLOAD HERE PHP CODE (Place in new code on code snippet plugin) function main_menu_shortcode() { ob_start(); wp_nav_menu([ 'menu' => 'hamburger', // ✅ Change this if your menu has a different name 'container' => false,...

Create a Transparent Text with a Background Image in Divi

Create a Transparent Text with a Background Image in Divi

How to Create a Transparent Text Effect with a Background Image in Divi https://www.youtube.com/watch?v=Uifaz7ywov0     Achieve a stunning effect where a background image appears only inside transparent text by following these steps: Add a Section and...

Divi text marquee design

Divi text marquee design

How to create an eye catching marquee with divi theme Build an eye-catching marquee banner for your Divi/WordPress website using basic HTML and CSS. This stylish scrolling effect pauses when hovered over and resumes sliding once you move your cursor away. It's a...