Edit: style.min.css
.dp-posts-ticker-wrap{ display: flex; overflow: hidden; max-width: 100%; } /* Ticker label. */ .dp-posts-ticker-label { font-size: 18px; color: #fff; border: 0 solid #000; white-space: nowrap; display: flex; align-items: center; position: relative; z-index: 3; overflow: unset !important; } /* Ticker items. */ .dp-posts-ticker-items{ position: relative; overflow: hidden; flex-grow: 1; border: 0 solid #000; } .dp-posts-ticker-bar{ display: flex; align-items: center; max-width: 100%; } .dp-posts-ticker-post-title{ padding: 0 5px; font-size: 16px; color: #000; } /* Scroll effect. */ .dp-ticker-effect-scroll .dp-posts-ticker-bar{ position: absolute; top: 0; bottom: 0; left: 100%; animation-name: dp-posts-ticker-scroll; animation-iteration-count: infinite; animation-timing-function: linear; animation-duration: 35.00s; } .dp-ticker-effect-scroll:hover .dp-posts-ticker-bar{ animation-play-state: paused; } .dp-ticker-effect-scroll .dp-posts-ticker-item{ white-space: nowrap; } .dp-ticker-effect-scroll .dp-posts-ticker-item::after{ content: ""; } .dp-ticker-effect-scroll .dp-posts-ticker-item:last-child::after { display: none !important; } .dp-ticker-effect-scroll .dp-posts-ticker-post-title{ display: inline-block; } /* Fade/Slide effect. */ .dp-ticker-effect-slide .dp-posts-ticker-bar, .dp-ticker-effect-fade .dp-posts-ticker-bar{ height: 100%; } .dp-ticker-effect-fade .dp-posts-ticker-item{ max-width: 100%; } .dp-ticker-effect-slide .dp-posts-ticker-post-title, .dp-ticker-effect-fade .dp-posts-ticker-post-title{ display: block; } .dp-ticker-effect-slide .dp-posts-ticker-item{ max-width: 100%; height: 100% !important; } .dp-ticker-effect-slide .swiper-container{ margin-left: 0; flex-grow: 1; height: auto; } .dp-posts-ticker-items .dipl_swiper_navigation .swiper-button-next { margin-left: 7px; } .dp-posts-ticker-items .dipl_swiper_navigation{ order: 1; flex-wrap: nowrap; height: 100%; margin: 0; } @keyframes dp-posts-ticker-scroll { from { left: 100%; transform: translateX(0); } to { left: 0; transform: translateX(-100%); } } @media screen and (max-width: 768px) { .dp-posts-ticker-wrap{ flex-direction: column; } }
Save
Back