Hello! I have the h2 class with a :before that shows an image before the title. The problem I have is that, when on mobile, when the title is too long, the line goes down and doesn’t stay at the same level of the first line, but goes more left. How can I fix this? I am attaching a couple of link to show better what I mean.
Thanks guys you are amazing!
Hey studiono,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 767px) {
.av-special-heading-tag:before {
display: inline-block;
padding-bottom: 30px;
}
}
Best regards,
Rikard
Hi Rikard thanks but it’s not working, with your code it just move the second line down, I attach a couple of screenshots to explain better
Ok I think I fixed that by myself with this code
@media only screen and (max-width: 767px){
.av-special-heading-tag:before {
margin-left: -64px;
}
body .av-special-heading .av-special-heading-tag {
padding-left: 64px;
}
}
what do you think? is it right or I am going to have other problems?
thanks!