Ciao!
Easy question for you this time I promise.
I really like the way you put your website logo on the Iframe loading screen as the loading bar moves from left to right (this page that does this https://prnt.sc/uf6pgx ). Can you tell me what page I do that edit to? And if I do that edit, can I also put that file in a custom folder so it does not get overwritten in a future update?
I really appreciate your time.
Ray
Iframe Loading Screen
- DjPorkchop73
- User www
- Posts: 80
- Joined: Thu Aug 20, 2020 6:45 pm
- Location: Egyptian Valley of Illinois
Iframe Loading Screen
If I could I would. If I don't, it's because I am lazy!
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Iframe Loading Screen
if i'm not wrong, it change only this into page-forum-php:
and this is the page.forum.php into the template folder twentysixteen here at axew3.com:
In this case you do not have worry about plugin update, because this file will not be updated when plugin update.
While it will be lost when your theme update, because it reside into the template directory.
To avoid this, you should place the page-forum(orWhatYouNamedIt).php, into the wp child theme folder.
So when template update, it will not be deleted.
If your theme do not have a theme child folder, here is the guide to create your own:
https://developer.wordpress.org/themes/ ... ld-themes/
Code: Select all
.w3_wrap_loader{
position:fixed;
top:0%;
bottom:0%;
left:0%;
right:0%;
background: rgba(0,0,0,1);
background-image: url('https://www.axew3.com/w3/wp-content/uploads/axew3text.gif');
background-position: 50% 40%;
background-repeat:no-repeat;
z-index: 99999;
opacity:90;
-webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
width:100%;
display:flex;
align-items: center;
text-align:center;
pointer-events: none;
}
While it will be lost when your theme update, because it reside into the template directory.
To avoid this, you should place the page-forum(orWhatYouNamedIt).php, into the wp child theme folder.
So when template update, it will not be deleted.
If your theme do not have a theme child folder, here is the guide to create your own:
https://developer.wordpress.org/themes/ ... ld-themes/
- DjPorkchop73
- User www
- Posts: 80
- Joined: Thu Aug 20, 2020 6:45 pm
- Location: Egyptian Valley of Illinois
Re: Iframe Loading Screen
Thank you so very much! Far to kind! We can mark solved.
If I could I would. If I don't, it's because I am lazy!
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley