Carousel Pro Not Recognising Fonts - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Carousel Pro Not Recognising Fonts

OJ

Oliver Johnson

SP Page Builder 3 years ago

I've created a number of pages which have the same first row, that being a Carousel Pro set to 700px high, Fluid Row with a background image and then a title and a line of text underneath. This has displayed fine on every page except the last one and now it won't work on any new page I create either.

On this page the font for the title isn't being displayed correctly but it is for the content. However sometimes if I edit the carousel item, the content text then disappears and I can't get it back again without deleting everything and starting again. If I create a new page then both the title font and the content font show incorrectly.

No matter what I do, the title font appears to be defaulting to Times New Roman or something similar instead of Hammersmith One (or any other font I set it to).

I've tried clearing the site cache, clearing my browser cache, trying a different browser, setting SP Page Builder to Production Mode and purging the cached CSS but nothing seems to make it work.

0
6 Answers
OJ
Oliver Johnson
Accepted Answer
3 years ago #59639

As an update to this. If I edit the page in the front end, whilst the page is being edited the font displays correctly. As soon as the editor is closed, it reverts back to Times New Roman.

As a further update: The only way I've been able to 'fix' it on the page so that the font in the carousel is displayed correctly is by changing the font for every heading used on the same page to be the same font. However, if I were to set any one heading back to the default font as defined in the template, than that heading is then displayed in Times New Roman.

Clearly there's a css issue going on but for the life of me I can't work out what it is and why it's been absolutely fine up till now!

0
OJ
Oliver Johnson
Accepted Answer
3 years ago #59842

Another update. It's still happening on any new page I create. Unless I have multiple headings on a page ALL set to the same font then it won't display the font correctly.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #59995

Hello Oliver Johnson

I see the font is showing okay. I have checked both the pages.

Screenshot at Mar 03 20-07-49-min.png

Best regards

0
OJ
Oliver Johnson
Accepted Answer
3 years ago #60010

So you are telling me that the font that is being displayed in the image above is Hammersmith One?

This is Hammersmith One showing correctly on another page

This is the same as the image you posted above. The CSS says Hammersmith One but does it look like the font above? No, it's Times New Roman

0
OJ
Oliver Johnson
Accepted Answer
3 years ago #60031

Just to prove my point

This is exactly the same page but this time loaded in the front end editor See how the font is displayed correctly as Hammersmith One?

If I save the page and close the editor, it instantly reverts back to Times New Roman

This does NOT happen on any previous page I've created where the fonts are correctly rendered. It does however happen on this page and every single new page I create.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #60150

Yes, you are right. I have used this CSS to Template Options -> Custom Code -> Custom CSS

.sppb-carousel-pro-text h2, .sppb-carousel-pro-content{
    font-family: inherit !important;
}
0