Hi everyone!
I’m having an issue with my product page (DAWN 15.4 theme): when it first loads, the product title appears much larger for about a second, then jumps to the correct programmed size (23px). Is there a way to prevent this jump and make the title load at the correct size right away?
Here’s an example product page: Original Hand-Painted Tangerines Oil Painting – DrawWithDi
The screenshots below show what I mean.
Normal title appearance:
Title appearance during the first second of loading:
I’d really appreciate any advice or help!
Hi @DRAWandCARE
Think the issue is that CSS code is scattered and it first loads base.css, that have 40px for the title. Then in a few moments it loads, I guess from the theme.liquid a override of 23px.
If you are not sure where that 23px code line is find it in your theme code editor.
Then remove it
<style>
.product__info-container .product__title h1 {
font-size: 23px !important;
}
</style>
It should be this code.
Then you have a few options: you can open assets/base.css and find this line
@media only screen and (min-width: 750px) {
h1,.h1 {
font-size:calc(var(--font-heading-scale) * 4rem)
}
}
and change it to
@media only screen and (min-width: 750px) {
h1,.h1 {
font-size:calc(var(--font-heading-scale) * 4rem)
}
.product__info-container .product__title h1 {
font-size: 23px;
}
}
or copy the same code to the end of /assets/section-main-product.css
The final option is to go to your theme customizer, choose the product page and product main info section, and in the Custom CSS block paste
.product__title h1 {
font-size: 23px !important;
}
Note, this last one is the best in case of upgrade, but check if there is a delay. The first one should work the best.
1 Like
Hi! @Laza_Binaery
Thank you so much for your quick response and professional assistance!
I tried the first method, and it worked perfectly 
I truly appreciate your help.
Have a wonderful day!