Home › Forums › ART WordPress Theme › Center the logo in the page loader for mobile version
- This topic has 9 replies, 2 voices, and was last updated 6 years, 8 months ago by
SeaTheme.
-
AuthorPosts
-
September 30, 2019 at 9:02 am #19685
Hello,
I would like to know how to center the logo in the page loader for mobile version.
I have tested with safari, chrome in iPhone 5s and 6s, but in the loading page, the logo is not exactly in the middle center of the page.
Thank you in advance.
Alex
September 30, 2019 at 12:59 pm #19686Hi,
Please paste the custom CSS code to “Appearance > Customize: Additional CSS”:
.page-loading.fullscreen-wrap { min-height: 100vh; min-height: -moz-available; min-height: -webkit-fill-available; min-height: fill-available; }Regards!
SeaTheme – SeaTheme.net – Twitter – FacebookOctober 3, 2019 at 7:31 pm #19704Thank you very much. This works on iPhone 6s.
But for 5s, when the phone is vertical, the logo is not in the middle.
And when iPas is horizontal, the logo is not in the middle either…
Many thanks again for your help 🙂
October 4, 2019 at 1:37 am #19706Welcome!
What’s the iOS version of iPhone 5s / iPad?
October 4, 2019 at 10:01 am #19709For the iPad mini2 is 12.4.2.
iPhone 5s is 12.4.1.
Many thanks again.
October 4, 2019 at 1:54 pm #19711Please add the custom CSS:
@media only screen and (device-width: 768px) and (device-height: 1024px) and (orientation : landscape) { .page-loading.fullscreen-wrap { height: auto!important; min-height: 100vh!important; min-height: -webkit-fill-available!important; min-height: fill-available!important; } } @media only screen and (device-width: 768px) and (device-height: 1024px) and (orientation : portrait) { .page-loading.fullscreen-wrap { height: auto!important; min-height: 100vh!important; min-height: -webkit-fill-available!important; min-height: fill-available!important; } } @media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 40/71) { .page-loading.fullscreen-wrap { height: auto!important; min-height: 100vh!important; min-height: -webkit-fill-available!important; min-height: fill-available!important; } } @media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 40/71) { .page-loading.fullscreen-wrap { height: auto!important; min-height: 100vh!important; min-height: -webkit-fill-available!important; min-height: fill-available!important; } }October 5, 2019 at 4:18 am #19714Thank you so much!
The code works perfectly!
Honestly, you are the best webmaster I have ever worked with, you are so competent, efficient and so friendly.
October 5, 2019 at 12:57 pm #19718Thank you for your warm message, it is a big encouragement. We will try our best to provide our best products and services 🙂
If you are satisfied with our product and services, could you please rate our theme on Themeforest? I would greatly appreciate.
October 7, 2019 at 6:04 am #19727Yes, I have put a review !!! You are the most welcome 🙂
October 7, 2019 at 10:45 am #19733Thanks!!!!!!:)
-
AuthorPosts
- You must be logged in to reply to this topic.
