Slideshow with Static Text (left) – Image Change (Right)

Description

  • adding slideshow with 2 panels: left text (static text) – right image (will change on arrow click)
  • view demo – password: abc
  • buy me a coffee

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

1. Install Code

#1.1. First add Section > Choose Team > Choose Section with auto layout icon

09.26c10v2 Youtube Carousel

#1.2. Hover on top right of section > Click EDIT SECTION

09.26c10v2 Youtube Carousel

#1.2-2. at Format > Anchor Link > enter word: slideshow-static

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

#1.3. Hover on top right of section > Click EDIT CONTENT

09.26c10v2 Youtube Carousel

#1.3-2. at Design > Choose: Banner Slideshow

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

#1.3-2. Next, make sure you enabled Section Title + Item Image.

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

#1.4. Next, click Content to enter Section Title, Image

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

#1.4-2. Click Section Title

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

Enter 2 paragraphs

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

#1.4-3. Click each item > Upload desired image

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

#1.5. Final, use this code to Custom CSS box

@media screen and (min-width:768px) {
  section[id*="slideshow-static"] {
    .user-items-list {
        display: flex;
        align-items: center;
    }
    /* Text Panel width */
    .list-section-title {
        width: 50%;
      	margin: 0px !important;
    }
    /* Section Title - Second Paragraph Style */
    .list-section-title p:nth-child(2) {
    	font-size: 14px;
      margin-top: 20px;
      font-weight: 400;
    }
    /* Image Panel Width */
    .user-items-list-banner-slideshow {
    width: 50%;
}}}

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

#1.5-2. Explain

  • Line 09 – Text Width
  • Line 14, 15, 16 – Change style of SECOND paragraph in Section Title
  • Line 20 – Image Slideshow Width

#2. Customize

#2.1. To change Arrow style to this

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

use this code under main code

section[id*="slideshow-static"] {
   .user-items-list-banner-slideshow__arrow-icon-path {
  display: none;
}

.user-items-list-banner-slideshow__arrow-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3EDE5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60% 60%;
}

.user-items-list-banner-slideshow__arrow-button--right .user-items-list-banner-slideshow__arrow-icon {
  transform: scaleX(-1);
}}

09.26c12v4 Slideshow with Static Text (left) Image Change (Right)

#2.2. To remove circle background behind arrows, use this under main code

section[id*="slideshow-static"] div.user-items-list-banner-slideshow__arrow-icon-background {
    background: transparent !important;
}

 

 

 

Buy me a coffee