Page 1 of 1

Iframe Loading Screen

Posted: Thu Sep 10, 2020 9:37 pm
by DjPorkchop73
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

Re: Iframe Loading Screen

Posted: Thu Sep 10, 2020 10:31 pm
by axew3
if i'm not wrong, it change only this into page-forum-php:

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;
}
and this is the page.forum.php into the template folder twentysixteen here at axew3.com:
page-forum.zip
(4.43 KiB) Downloaded 193 times
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/

Re: Iframe Loading Screen

Posted: Thu Sep 10, 2020 11:00 pm
by DjPorkchop73
Thank you so very much! Far to kind! We can mark solved. :D