Try replacing all of the code in the custom HTML block with the below:
.slideshow__text.banner__box {max-width: var(--page-width) !important; margin: 0 auto; background-color: transparent;} .ss-inner {background-color: #fff; width: 100%; height: 100%; padding: 75px;} .banner__text {margin-bottom: 30px;} @media only screen and (min-width: 750px) { .slideshow__text.banner__box {padding: 5rem;} .ss-inner {padding: 125px;} } @media only screen and (max-width: 750px) { .banner__box {padding: 4rem 1.5rem; !important;} }Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Create a colour block around custom HTML text | 1 | 54 | September 22, 2022 | |
| Changing the color of a current word | 6 | 40 | July 12, 2024 | |
| How can I change a specific word's color in a text? | 13 | 61 | June 11, 2024 | |
| How can I change the color of specific characters in my headings? | 5 | 26 | January 30, 2024 | |
| How to change the color of specific part of section heading? | 6 | 23 | November 28, 2023 |