how do I increase font size of Subheading Text in the Special Heading on mobile view? I tried this but it didn’t change it
/* Increase subheading font size on mobile */
@media only screen and (max-width: 767px) {
.av-special-heading .av-subheading {
font-size: 18px !important; /* Adjust as needed */
line-height: 1.4 !important; /* Optional for spacing */
}
}
besides the possibility to set it directly in the element itself:
(here an example with screen-width less than a given value)
you can manage it by quick css too:
(you only missed to select the p tag inside your selector)
@media only screen and (max-width: 767px) {
#top .av-special-heading .av-subheading p {
font-size: 24px
}
}
It still doesn’t make it larger. Is there some other code that is blocking or taking over?
And I already tried to increase font size inside the Special Heading.
thanks