Hide objects at page startup

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
drosen001
 
 
Posts: 23
Joined: Thu Jul 24, 2014 12:02 pm

Hide objects at page startup

Post by drosen001 » Sat Sep 22, 2018 6:30 pm

Is there a way to hide a layer on page load, but still keep it visible in the designer? If I add an "onload" hide layer to the page, the object flashes before being hidden. Would like to load without the flash. Thanks.

User avatar
Pablo
 
Posts: 14542
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Hide objects at page startup

Post by Pablo » Sat Sep 22, 2018 8:41 pm

You can try adding this code:

Code: Select all

<style>
#Layer1
{
   visibility: hidden;
}
</style>

drosen001
 
 
Posts: 23
Joined: Thu Jul 24, 2014 12:02 pm

Re: Hide objects at page startup

Post by drosen001 » Sat Sep 22, 2018 8:56 pm

Thanks very much. Actually went to the HTML > Custom Style for the layer and added, "Visibility: hidden;". Worked great.

You might want to check one thing. After adding the custom style, and bringing up the Object HTML for the layer again it shows "Visibility: hidden;" twice. The published HTML is fine, but thought you might want to know.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests