I need some quick css to center the special heading on my iPad in portrait mode. For some reason it becomes left justified on this screen size. It looks like the button is centered however. Thanks!
Hey djshortkut!
It does look centered on my end. Can you please try adding following code to Quick CSS and check once again?
body .av-special-heading.modern-centered {
text-align: center!important;
}
Cheers!
Yigit
Thanks Yigit. I input this code and it didn’t change anything. I have attached a better screen shot to show you what I’m talking about. Thank you!
Hi!
Please edit the grid row element then add apply a unique id in the Section ID field. Use “custom-cell” for example. Adjust the padding of the cells on smaller screens:
@media only screen and (max-width: 989px) {
#custom-cell .flex_cell {
padding: 20px !important;
}}
This will fix the text alignment.
Best regards,
Ismael
Thanks Ismael. I’ve tried entering both of these codes but neither fix the issue.
Hey!
Alright. This should work:
@media only screen and (max-width: 989px) {
.custom-cell {
padding: 20px !important;
}}
If the iPad has a retina display, please use this css media query: https://css-tricks.com/snippets/css/retina-display-media-query/
Best regards,
Ismael
Thank you so much Ismael! You can close this thread.