simple text alignment issue
-
hey there,
i'm having a simple issue with a text box, that does or doesn't align centered when opened with different browsers / devices. can someone help?
thank in advance, leopold
website:
www.peolold.detextbox: "slide to unlock", aligned centre
chrome on mac: works as intented
safari on mac: not centered
firefox on mac: works
chrome on iPhone: not centered
safari on iPhone: not centred
-
what is your safari version, for safari on mac
-
@arminunruh it's safari version 18.0.1 (20619.1.26.31.7) on mac
-
seems like your textformat "_footerklein"
is applied to that text. this textformat has text-align left set to it.
can you either use a character format, or change this textformat to align center?
it seems that in some browsers the text align of this span is used (left), in other browsers, the textalign of the parent p tag is used
-
you could also try to edit the html of the text using the <> code button, remove the p tag. so you only have the span tag. change the style of the span tag to:
style="font-size: 28px;text-align:center;"
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it