owl carousel stacking items - is there a limit of size how many items?












0














the owl carousel after 8 or some items started to stack the items



enter image description here



HTML



 <div id="news-slider" class="owl-carousel owl-theme col-12" style="display:block; margin: 1px">

@foreach ($manchetes as $manchete)
<div class="col-sm-12 col-md-12 col-lg-12" style="border: 1px solid brown; margin: 2px">
<div class="card mb-4 shadow-sm" data-id="{{$manchete->id}}" data-tema="{{$manchete->tema}}"
data-tit="{{ $manchete->titulo }}" data-desc="{{$manchete->descricao}}">
<div class="card-header">
<h2 style="background: gold;" class="my-0 font-weight-normal">


Javascript



 $('#news-slider').owlCarousel({
center: false,
loop: true,
margin: 5,
items: 3,
pagination: true,
navigationText: true,
dots: true,
autoPlay: true,
autoplayTimeout: 1500,
autoplayHoverPause: true,
scrollPerPage: true,
animateOut: 'slideOutDown',
animateIn: 'flipInX',
stagePadding: 5,
smartSpeed: 1650,
dotsEach:3,
nav: true,


It´s very strange that in the element inspector he is showing the elements as inside the same div like in the picture:



enter image description here



Any help?



More ackward behaviours...



enter image description here










share|improve this question
























  • Sometimes the margin would start to push items that don't fit the container, thus pushing everything afterwards. What happens when you remove the margin: 5?
    – GrandIQ
    Nov 22 '18 at 20:52










  • hey @GrandIQ, thanks for the suggestion but no changes... keep stacked... only that the boxes are now withouth any margin between them...I setted margin: 0
    – Adriel Werlich
    Nov 23 '18 at 1:01






  • 1




    Check the HTML output your template generates. Perhaps something is messed up in there, some closing element missing somewhere or something like that.
    – misorude
    Nov 23 '18 at 15:23










  • @misorude... yes, I´ve just found what was happening... some rich text format was comming from the database with html formating embedded and filling the content inside the div´s and creating tables and so on... so I´ve used the strip_tags function... and this was enough to solve the issue...
    – Adriel Werlich
    Nov 23 '18 at 16:14


















0














the owl carousel after 8 or some items started to stack the items



enter image description here



HTML



 <div id="news-slider" class="owl-carousel owl-theme col-12" style="display:block; margin: 1px">

@foreach ($manchetes as $manchete)
<div class="col-sm-12 col-md-12 col-lg-12" style="border: 1px solid brown; margin: 2px">
<div class="card mb-4 shadow-sm" data-id="{{$manchete->id}}" data-tema="{{$manchete->tema}}"
data-tit="{{ $manchete->titulo }}" data-desc="{{$manchete->descricao}}">
<div class="card-header">
<h2 style="background: gold;" class="my-0 font-weight-normal">


Javascript



 $('#news-slider').owlCarousel({
center: false,
loop: true,
margin: 5,
items: 3,
pagination: true,
navigationText: true,
dots: true,
autoPlay: true,
autoplayTimeout: 1500,
autoplayHoverPause: true,
scrollPerPage: true,
animateOut: 'slideOutDown',
animateIn: 'flipInX',
stagePadding: 5,
smartSpeed: 1650,
dotsEach:3,
nav: true,


It´s very strange that in the element inspector he is showing the elements as inside the same div like in the picture:



enter image description here



Any help?



More ackward behaviours...



enter image description here










share|improve this question
























  • Sometimes the margin would start to push items that don't fit the container, thus pushing everything afterwards. What happens when you remove the margin: 5?
    – GrandIQ
    Nov 22 '18 at 20:52










  • hey @GrandIQ, thanks for the suggestion but no changes... keep stacked... only that the boxes are now withouth any margin between them...I setted margin: 0
    – Adriel Werlich
    Nov 23 '18 at 1:01






  • 1




    Check the HTML output your template generates. Perhaps something is messed up in there, some closing element missing somewhere or something like that.
    – misorude
    Nov 23 '18 at 15:23










  • @misorude... yes, I´ve just found what was happening... some rich text format was comming from the database with html formating embedded and filling the content inside the div´s and creating tables and so on... so I´ve used the strip_tags function... and this was enough to solve the issue...
    – Adriel Werlich
    Nov 23 '18 at 16:14
















0












0








0







the owl carousel after 8 or some items started to stack the items



enter image description here



HTML



 <div id="news-slider" class="owl-carousel owl-theme col-12" style="display:block; margin: 1px">

@foreach ($manchetes as $manchete)
<div class="col-sm-12 col-md-12 col-lg-12" style="border: 1px solid brown; margin: 2px">
<div class="card mb-4 shadow-sm" data-id="{{$manchete->id}}" data-tema="{{$manchete->tema}}"
data-tit="{{ $manchete->titulo }}" data-desc="{{$manchete->descricao}}">
<div class="card-header">
<h2 style="background: gold;" class="my-0 font-weight-normal">


Javascript



 $('#news-slider').owlCarousel({
center: false,
loop: true,
margin: 5,
items: 3,
pagination: true,
navigationText: true,
dots: true,
autoPlay: true,
autoplayTimeout: 1500,
autoplayHoverPause: true,
scrollPerPage: true,
animateOut: 'slideOutDown',
animateIn: 'flipInX',
stagePadding: 5,
smartSpeed: 1650,
dotsEach:3,
nav: true,


It´s very strange that in the element inspector he is showing the elements as inside the same div like in the picture:



enter image description here



Any help?



More ackward behaviours...



enter image description here










share|improve this question















the owl carousel after 8 or some items started to stack the items



enter image description here



HTML



 <div id="news-slider" class="owl-carousel owl-theme col-12" style="display:block; margin: 1px">

@foreach ($manchetes as $manchete)
<div class="col-sm-12 col-md-12 col-lg-12" style="border: 1px solid brown; margin: 2px">
<div class="card mb-4 shadow-sm" data-id="{{$manchete->id}}" data-tema="{{$manchete->tema}}"
data-tit="{{ $manchete->titulo }}" data-desc="{{$manchete->descricao}}">
<div class="card-header">
<h2 style="background: gold;" class="my-0 font-weight-normal">


Javascript



 $('#news-slider').owlCarousel({
center: false,
loop: true,
margin: 5,
items: 3,
pagination: true,
navigationText: true,
dots: true,
autoPlay: true,
autoplayTimeout: 1500,
autoplayHoverPause: true,
scrollPerPage: true,
animateOut: 'slideOutDown',
animateIn: 'flipInX',
stagePadding: 5,
smartSpeed: 1650,
dotsEach:3,
nav: true,


It´s very strange that in the element inspector he is showing the elements as inside the same div like in the picture:



enter image description here



Any help?



More ackward behaviours...



enter image description here







javascript owl-carousel






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 23 '18 at 15:21

























asked Nov 22 '18 at 20:32









Adriel Werlich

4319




4319












  • Sometimes the margin would start to push items that don't fit the container, thus pushing everything afterwards. What happens when you remove the margin: 5?
    – GrandIQ
    Nov 22 '18 at 20:52










  • hey @GrandIQ, thanks for the suggestion but no changes... keep stacked... only that the boxes are now withouth any margin between them...I setted margin: 0
    – Adriel Werlich
    Nov 23 '18 at 1:01






  • 1




    Check the HTML output your template generates. Perhaps something is messed up in there, some closing element missing somewhere or something like that.
    – misorude
    Nov 23 '18 at 15:23










  • @misorude... yes, I´ve just found what was happening... some rich text format was comming from the database with html formating embedded and filling the content inside the div´s and creating tables and so on... so I´ve used the strip_tags function... and this was enough to solve the issue...
    – Adriel Werlich
    Nov 23 '18 at 16:14




















  • Sometimes the margin would start to push items that don't fit the container, thus pushing everything afterwards. What happens when you remove the margin: 5?
    – GrandIQ
    Nov 22 '18 at 20:52










  • hey @GrandIQ, thanks for the suggestion but no changes... keep stacked... only that the boxes are now withouth any margin between them...I setted margin: 0
    – Adriel Werlich
    Nov 23 '18 at 1:01






  • 1




    Check the HTML output your template generates. Perhaps something is messed up in there, some closing element missing somewhere or something like that.
    – misorude
    Nov 23 '18 at 15:23










  • @misorude... yes, I´ve just found what was happening... some rich text format was comming from the database with html formating embedded and filling the content inside the div´s and creating tables and so on... so I´ve used the strip_tags function... and this was enough to solve the issue...
    – Adriel Werlich
    Nov 23 '18 at 16:14


















Sometimes the margin would start to push items that don't fit the container, thus pushing everything afterwards. What happens when you remove the margin: 5?
– GrandIQ
Nov 22 '18 at 20:52




Sometimes the margin would start to push items that don't fit the container, thus pushing everything afterwards. What happens when you remove the margin: 5?
– GrandIQ
Nov 22 '18 at 20:52












hey @GrandIQ, thanks for the suggestion but no changes... keep stacked... only that the boxes are now withouth any margin between them...I setted margin: 0
– Adriel Werlich
Nov 23 '18 at 1:01




hey @GrandIQ, thanks for the suggestion but no changes... keep stacked... only that the boxes are now withouth any margin between them...I setted margin: 0
– Adriel Werlich
Nov 23 '18 at 1:01




1




1




Check the HTML output your template generates. Perhaps something is messed up in there, some closing element missing somewhere or something like that.
– misorude
Nov 23 '18 at 15:23




Check the HTML output your template generates. Perhaps something is messed up in there, some closing element missing somewhere or something like that.
– misorude
Nov 23 '18 at 15:23












@misorude... yes, I´ve just found what was happening... some rich text format was comming from the database with html formating embedded and filling the content inside the div´s and creating tables and so on... so I´ve used the strip_tags function... and this was enough to solve the issue...
– Adriel Werlich
Nov 23 '18 at 16:14






@misorude... yes, I´ve just found what was happening... some rich text format was comming from the database with html formating embedded and filling the content inside the div´s and creating tables and so on... so I´ve used the strip_tags function... and this was enough to solve the issue...
– Adriel Werlich
Nov 23 '18 at 16:14



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53437689%2fowl-carousel-stacking-items-is-there-a-limit-of-size-how-many-items%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53437689%2fowl-carousel-stacking-items-is-there-a-limit-of-size-how-many-items%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Berounka

Sphinx de Gizeh

Different font size/position of beamer's navigation symbols template's content depending on regular/plain...