Dear Support Team,
On the website https://gerlindemichel.osmosis.de/ we use a “Rotating heading” as an entry element: this is aligned as centered.
This works perfectly on a PC, but on a tablet and cell phone, when the text is partially double-spaced, the display is left-aligned.
See screenshots:
Tablet:https://osmosis.de/support/gm/home/tablet-rotatingtext.jpeg
Mobile:https://osmosis.de/support/gm/home/mobile-rotatingtext.jpeg
What can I do to ensure that the text is always centered on the tablet and cell phone?
Best regards, Diana
Hey Diana,
I’m not sure why it looks centered on the desktop, the css is text-align: left, nonetheless this will center for mobile and tablet:
#main .av-fixed-rotator-width .av-rotator-text {
text-align: center;
}
for mobile you will want to make the font smaller because the left padding will push the text off the screen on the right.
Best regards,
Mike
Wonderful! Now it works in the mobile version too! THANK YOU
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike