I am using some custom heading elements on my site, but in mobile view the custom headings for h1 is stuck at 35px. When inspecting the css i get this:
@media only screen and (max-width: 690px) .wpb_wrapper h1.vc_custom_heading { font-size: 35px!important; line-height: 40px!important; }
But i have not set the 35px !Important anywhere, where does this come from?
Hi yes i know this, but it seems that the typography and responsive settings override the font settings in the custom heading font size.. How can I force the custom headings settings?
Thank you, I need to change it a little, but I cant find the code in the custom css in general settings or page settings. Where did you put in the code?
Hi
I am using some custom heading elements on my site, but in mobile view the custom headings for h1 is stuck at 35px. When inspecting the css i get this:
@media only screen and (max-width: 690px)
.wpb_wrapper h1.vc_custom_heading {
font-size: 35px!important;
line-height: 40px!important;
}
But i have not set the 35px !Important anywhere, where does this come from?
Hi Moofrad,
Please check the settings here:
Thanks.
Hi yes i know this, but it seems that the typography and responsive settings override the font settings in the custom heading font size.. How can I force the custom headings settings?
Hi There,
Please send in your website url so that we can check this out.
Thanks.
Hi There,
Please try this css:
Thanks.
I put this only on the page I want it st up right? Because I dont want all custom headings on different pages to be affected by this.
Hi Moofrad,
On which page do you want to make these changes?
Thanks.
Right now only on the first page. ( home )
Hi Moofrad,
Please check it out.
Thanks.
Thank you, I need to change it a little, but I cant find the code in the custom css in general settings or page settings. Where did you put in the code?
Hi Moofrad,
I have pasted it here in the css custom code section:
Thanks.
Thank you it works fine, I have another problem and that is the font size is to big difference on some screens.
I switched from custom heading to text block since it was not google friendly, and tried this code for those screens:
@media only screen and (min-width: 2400px) and (max-width: 2700px) {
.Titleheadh1{
font-size: 80px !important;
}
But this is not working. my h1 looks like this h1 class="Titleheadh1">xxx</h1>
Hi Moofrad,
Please try this css:
Thanks.
This will change all the mobile font size also everything under 2700px? I want to change only to screens with size between 2400-2700px
Please try this