Crelly Alignment with Custom Fonts


When I try to center the text with a custom font it doesn’t work, the slider calculates only with its visibility font. Could you help please?
May be the algorithm of the calculation?



I’m not sure what exactly is your issue. Can you please provide a link to your website and some explanatory screenshots?

Kind Regards, Roman.


The font was changed, so after applying the Horizontal alignment it calculates as the font was applied in the local editor, so it doesn’t see the actual font and as a result the actual width of the element.
I mean I manually did it all - so no precision at all. All center alignment is approximate.


Okay, thank you for the link.

But what exactly you want to achieve? I checked your slider and it looks good.

Kind Regards, Roman.


Yes, but it’s not the exact numbers - I did it all approximately. So I’ve spent a lot of time and yet it’s not centered. The first slide should be margined from the right side the same amount of pixels as the third one from the left side. Now it’s all not calculated, it’s just manually set on eye
I want a way to center texts elements by hitting 1 button or to get the way how properly calculate those center values by yourself in the brain, not by hands dragging it.



Did you try to set Left and Top as described in Crelly Slider documentation here (last screenshot)?

Kind Regards, Roman.


Yes, it aligns according to the fonts it got, it doesn’t calculate the new width which is not the same as if the ordinary font. So it aligns, but wrong


Well, I’m not sure if there is an easy way to align it properly, but it seems to be a Crelly Slider issue. You can try to contact Crelly Slider support or use different slider. Please feel free to ask any other questions that you might have.

Kind Regards, Roman.