Thanks. This is super helpful. If I wanted to add images inside the vertical tabs using this CodePen code where would I insert it? (attached image for reference)
On 7/2/2021 at 2:21 AM, tuanphan said:
<!-- Source: https://codepen.io/skkhan/pen/MWWdXbb --><!-- Tweak by @tuanphan --><ulclass="main-box"><liclass="box active"><span>Slide One</span><divclass="detail active"><p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p><p>
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.
</p></div></li><liclass="box"><span>Slide Two</span><divclass="detail"><p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p><p>
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.
</p></div></li><liclass="box"><span>Slide Three</span><divclass="detail"><p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p><p>
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.
</p></div></li><liclass="box"><span>Slide Four</span><divclass="detail"><p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p><p>
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.
</p></div></li><liclass="box"><span>Slide Five</span><divclass="detail"><p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p><p>
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested.
</p></div></li></ul><style>@importurl('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
body
.main-box
{display: flex;background:#000;margin:70px auto 70px auto;padding:0;width:991px;}.box
{height:322px;padding:15px;border-right:1px solid white;webkit-transition:0.8s;-o-transition:0.8s;transition:0.8s;position: relative;overflow: hidden;list-style: none;}.detail
{width:85%;height:100%;position: absolute;right:0;top:0;background: white;color:black;opacity:0;padding:30px;box-sizing:border-box;webkit-transition:0.8s;-o-transition:0.8s;transition:0.8s;-webkit-transform: translateY(100%);transform: translateY(100%);}.box.active
{width:70%!important;}.box.active .detail
{opacity:1;-webkit-transition-delay:0.6s;-moz-transition-delay:0.6s;-o-transition-delay:0.6s;transition-delay:0.6s;transform: none;}.box span {writing-mode: vertical-rl;font-size:20px;height:100%;display: flex;align-items: center;justify-content: center;color:#fff;text-transform: uppercase;letter-spacing:4px;width:40px;transform: rotate(180deg);font-weight:400;cursor: pointer;position: absolute;left:0;right:0;margin:0 auto;}.box.active span
{left:25px;right:auto;margin:0;font-weight:600}.box p
{line-height:23px;}</style><scriptsrc="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script><script>var getslide = $('.main-box li').length -1;var slidecal =30/getslide+'%';
$('.box').css({"width": slidecal});
$('.box').click(function(){
$('.box').removeClass('active');
$(this).addClass('active');});</script>
I'm trying to add something similar to what's in the attached image to my site but I'm not sure if it's a Carousel block, a Summary block, or something else. I don't know much about CSS or how to customize it so I'm not sure where to start. Anyone have any idea how to achieve this?
Vertical side tabs 7.1
in Customize with code
Posted
Thanks. This is super helpful. If I wanted to add images inside the vertical tabs using this CodePen code where would I insert it? (attached image for reference)