This is the inline style causing the problem... mobileheadingsh1 is the extra class name i added in visual composer and i added the custom code to the visual editor css still didn't work..
<h1 class="vc_custom_heading mobileheadingsh1" style="font-size: 70px;color: #007a4d;line-height: 20px;text-align: center;font-family:Roboto;font-weight:700;font-style:normal">REUNITING YOU WITH</h1>
This is the inline style that's my site is showing but it clutters it together on mobile view. its in a visual composer element custom header...
inline style {
font-size: 70px;
color: #007a4d;
line-height: 20px;
text-align: center;
font-family: Roboto;
font-weight: 700;
font-style: normal;
}
This is the code im trying to show on mobile view.
@media only screen and (max-width: 500px) {
.h1 {
font-size: 35px;
color: #007a4d;
line-height: 20px;
text-align: center;
font-family: Roboto;
font-weight: 700;
font-style: normal;
}