我知道-这个话题在论坛上,但是我不知道答案。
我想在页面上放置猫头鹰轮播。它工作完美,但我看不到点。我在猫头鹰传送带上的点有问题。
你能告诉我为什么吗? 我添加了我在猫头鹰传送带上发现的样式,但这没有帮助。
也许我应该在class上添加一些div?
$('#offer-carousel').owlCarousel({
dots: true,
autoPlay: 10000,
items: 4,
itemsDesktopSmall: [1199,2],
itemsTablet: [768,1]
});
style - main file
/* Owl Carousel */
@import '../owlcarousel/_theme.default.scss';
<!DOCTYPE html>
<html lang="pl">
<head>
<title>Natalia Waśko Freelance</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css">
<!-- style bootstrapa -->
<link rel="stylesheet" href="style/bootstrap/scss/bootstrap.css">
<!-- owl slider-->
<link href="owl-carousel/owl.carousel.css" rel="stylesheet" />
<!-- moje style -->
<link rel="stylesheet" href="style/custom/style.css">
</head>
<section class="offer">
<div class="container">
<h2 class="text-uppercase text-center offer-header">Oferta</h2>
<p class="text-center">Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a. Donec rutrum congue leo eget malesuada. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec velit neque, auctor sit amet aliquam vel, ullamcorper sit amet ligula.</p>
</div>
<div class="slider-offer">
<div id="offer-carousel" class="owl-carousel">
<!-- slajd 1 część tekstowa -->
<div class="offer-item-first">
<h3 class="text-center text-uppercase">Strony internetowe</h3>
<p class="text-center">Donec sollicitudin molestie malesuada. Cras ultricies ligula sed magna dictum porta. Pellentesque in ipsum id orci porta dapibus. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem.</p>
</div>
<!-- slajd 1 część obrazkowa - prawdopodobnie, aby obrazek prawidłowo działał trzeba w stylach zrobić -->
<div class="offer-item-first-img">
<img src="img/oferta_2.jpg" alt="projektowanie stron internetowych">
<div class="offer-hover-first">
<div class="text-center offer-hover-inner-first">
<h4 class="text-uppercase">Zobacz projekty</h4>
<a href="#" class="offer-link-left">
<i class="fas fa-search"></i>
</a>
<a href="#" class="offer-link-right">
<i class="fab fa-behance"></i>
</a>
</div>
</div>
</div>
<!-- slajd 2 część tekstowa -->
<div class="offer-item-second">
<h3 class="text-center text-uppercase">Działania marketingowe</h3>
<p class="text-center">Donec sollicitudin molestie malesuada. Cras ultricies ligula sed magna dictum porta. Pellentesque in ipsum id orci porta dapibus. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem.</p>
</div>
<!-- slajd 2 część obrazkowa -->
<div class="offer-item-second-img">
<img src="img/oferta_1.jpg" alt="media społecznościowe: facebook, instagram, pinterest">
<div class="offer-hover-second">
<div class="text-center offer-hover-inner-second">
<h4 class="text-uppercase">Zobacz projekty</h4>
<a href="#" class="offer-link-left">
<i class="fas fa-search"></i>
</a>
<a href="#" class="offer-link-right">
<i class="fab fa-behance"></i>
</a>
</div>
</div>
</div>
<!-- slajd 3 część tekstowa -->
<div class="offer-item-third">
<h3 class="text-center text-uppercase">Identyfikacja wizualna</h3>
<p class="text-center">Donec sollicitudin molestie malesuada. Cras ultricies ligula sed magna dictum porta. Pellentesque in ipsum id orci porta dapibus. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem.</p>
</div>
<!-- slajd 3 część obrazkowa -->
<div class="offer-item-third-img">
<img src="img/oferta_3.jpg" alt="projektowanie logo i identyfikacji">
<div class="offer-hover-third">
<div class="text-center offer-hover-inner-third">
<h4 class="text-uppercase">Zobacz projekty</h4>
<a href="#" class="offer-link-left">
<i class="fas fa-search"></i>
</a>
<a href="#" class="offer-link-right">
<i class="fab fa-behance"></i>
</a>
</div>
</div>
</div>
</div>
</div>