Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS fullscreen backgrounds scolls after window resize Reply To: fullscreen backgrounds scolls after window resize

#167902
crz_06
Participant

.slides {margin: 0; padding: 0; list-style: none;}

<ul class="slides" >
                <?php foreach ($nodes as $slide) { ?>
                        <li style="background:url(<?php echo "http://" . $_SERVER['HTTP_HOST'] . "/sites/default/files/styles/front_bg_image/public/statement-img/"; ?><?php print render($slide->field_slide_image['und'][0]['filename']); ?>) no-repeat center center fixed;">
                                    
                        </li>
                            
                <?php } ?>
                </ul>