Ahmed Abd Ellatif
Ahmed Abd Ellatif

Reputation: 195

wrap bootstrap full slider in div make it not work

I need to use bootstrap full slider but after wrapping it into a div the slider not working and after removing parent div slider working fine, how to fix it?

<div><!--this div prevent slider show-->
    <!-- Full Page Image Background Carousel Header -->
    <header id="myCarousel" class="carousel slide">
        .............................
    </header>
</div>

I publish code on plnkr http://plnkr.co/edit/7tYjv4?p=preview If uncomment div, slider not work how to fix it?

Upvotes: 1

Views: 55

Answers (1)

aavrug
aavrug

Reputation: 1889

Just set styling height:100% for the parent div.

Upvotes: 1

Related Questions