один из моих вариантов для местного кода хтмл в категории, можно использовать как акции, как описание локаций, как новостной блог
за код в коде благодарим авторов кодепена
<!-- реклама в пустой категории --> </div></div><div width=100%> <script class="bannerN"> var style='<style> tr#zzz .tcr, tr#zzz .tc3, tr#zzz .tc2{display:none!important}tr#zzz .tc2{wifth:100%}<style>' var a=$('script.bannerN'); var id=a.parents('tr').attr('id'); $('#'+id).parents('table:first').find('thead').hide(); $(style.replace(/zzz/g,id)).insertBefore(a); a.parents('.tcl').find('.intd').remove(); a.parents('.tcl').attr('colspan','4'); a.remove(); </script><div align=center> <!-- Тут Ваши баннеры --> <header class="cont-slider"> <section class="slider"> <article class="slide uno"><h91>Добро пожаловать</h91><br><p> orem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"></article><!-- --><article class="slide dos"><h91>Добро пожаловать</h91><br><p>orem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"></article><!-- --><article class="slide tres"><h91>Добро пожаловать</h91><br><p>orem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"></article><!-- --><article class="slide cuatro"><h91>Добро пожаловать</h91><br><p>orem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"></article><!-- --><article class="slide cinco"><h91>Добро пожаловать</h91><br><p>orem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</p><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"><img src="https://i.pinimg.com/564x/48/31/0d/48310dfcdac6f2e95d74087e603cd956.jpg"></article> </section> </header> <style> .cont-slider { position: relative; height: 100px; max-height: 100px; width: auto; min-width: 255%; margin: 0 auto; overflow: hidden; } .slider { animation: deslizante 100s ease-out 0s backwards infinite; position: absolute; left: 0; top: 0; width: 200%; height: 100%; } .slide { display: inline-block; position: relative; width: 20%; height: 100%; background-attachment: fixed; background-position: center center; background-size: cover; text-align: left; } .slide p{ background: rgba(0, 0, 0, 0.3); color: #FFF; position: relative; left: 5px; top: 8px; font-size: 1em; line-height: 1em; border: 1px solid rgba(255,255,255,.45); display: block; text-align: left; width: 500px; height: 50px; overflow: auto; } .slide img{ position: relative; left: 530px; top: -68px; outline: 1px solid rgba(255,255,255,.45); display: inline-block; width: 110px; padding: 1px; } .slide h91{ background: rgba(0, 0, 0, 0.3); color: #FFF; position: relative; left: 5px; top: 20px; font-size: 1em; line-height: 1em; border: 1px solid rgba(255,255,255,.45); display: block; text-align: left; width: 500px; } .uno { background-image: url(https://rare-gallery.com/uploads/posts/980729-samurai-digital-castle-artwork-men-Japan-cyan.jpg);background-color: #ccc; background-blend-mode: overlay;transition: ease 3s; transition-delay: 1s;box-shadow: inset 0px 0px 100px #7a95ad85;} .dos { background-image: url(https://www.teahub.io/photos/full/106-1063328_2560x1600-chinese-landscape-wallpaper-china-art-landscape-chinese.jpg);background-color: #ccc; background-blend-mode: overlay;transition: ease 3s; transition-delay: 1s;box-shadow: inset 0px 0px 100px #7a95ad85;} .tres { background-image: url(https://wallpaperaccess.com/full/3078670.jpg);background-color: #ccc; background-blend-mode: overlay;transition: ease 3s; transition-delay: 1s;box-shadow: inset 0px 0px 100px #7a95ad85;} .cuatro { background-image: url(https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/1b3ce854-1494-42a1-9931-f64b799e1bbb/d6z0i59-6942a97f-e5a1-48b6-beeb-69653340116d.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzFiM2NlODU0LTE0OTQtNDJhMS05OTMxLWY2NGI3OTllMWJiYlwvZDZ6MGk1OS02OTQyYTk3Zi1lNWExLTQ4YjYtYmVlYi02OTY1MzM0MDExNmQuanBnIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.95PJft1wGDH30ojZ0SGMS8VFg4IKC-uWnC2LSQbMACs);background-color: #ccc; background-blend-mode: overlay;transition: ease 3s; transition-delay: 1s;box-shadow: inset 0px 0px 100px #7a95ad85;} .cinco { background-image: url(https://wallpaperaccess.com/full/108867.jpg);background-color: #ccc; background-blend-mode: overlay;transition: ease 3s; transition-delay: 1s;box-shadow: inset 0px 0px 100px #7a95ad85;} .uno:hover, .dos:hover, .tres:hover, .cuatro:hover, .cinco:hover {background-blend-mode: normal;transition: ease 3s; transition-delay: 1s;} @keyframes deslizante { 0% {left: 0%; } 15% {left: 0%; } 20% {left: -40%; } 35% {left: -40%; } 40% {left: -80%; } 55% {left: -80%; } 60% {left: -120%; } 75% {left: -120%; } 80% {left: -160%; } 95% {left: -160%; } 100% {left: 0; } } </style>