Archived topic
background metaslider problem
5 replies · Started by Hans on August 6, 2016
I am developing a site for a customer and want to use rolling pictures in the background using Metaslider. Unfortunately while loading the first picture a red column (background-color) is to be seen at the lfet side and then the picture slides left and is correct. The following pictures make no problems.
As it is difficult to understand I have made a copy of the page in this attachement. This might help to understand the problem. In this pdf-file you can also see the used CSS code which follows here too.
<?php if ( is_home() ) : ?>
<div id="metaslider-background" style="position:fixed;width:110%;hight:110%;z-index:-1;top=0;left=0;">
<?php echo do_shortcode("[metaslider id=318 percentwidth=100]"); ?>
</div>
<?php endif; ?>
Hope that you understand what I mean. Any hint to solve the problem is appreciated.
Hi there,
Hmm, will have to guess as I can't look at the site's code.
In your CSS, you have top=0 and left=0.
This should be: top:0;left:0;
Give that a shot and let me know :)
Hi Tom,
it doesn*t make a difference. The effect is just the same.
Hmm, I'm afraid I would need to actually inspect the code to see what's going on - spacing like that could be caused by a number of things.
If you can throw it up or replicate it on a live server that would be great :)
Hi Tom,
as soon as the installation is on a live server I will come back to this topic.
Thanks up to now.
Sounds good :)