div classes let disappear the slideshow?!
8 years 7 months ago #37656
by MichaelM
div classes let disappear the slideshow?! was created by MichaelM
Hi!
My problem is, that the slideshow disappears as soon as I wrap it in a div class...
Im loading it with the "Modules anywhere" plugin within the content works like a charm, no jquery conflicts.
But now I needed to set the max-width to 600px an let the module float right:
css:
and code within the content:
The Slideshow doesn't appear!
Changing the css to "width: 600px" it works - but certainly not responsive
So I tried to wrap another div around it with a max-width 600px and set the "slidercontainer" to width 100% - the module disappears...
Have you an idea how to find out of that?
Regards
Michael
My problem is, that the slideshow disappears as soon as I wrap it in a div class...
Im loading it with the "Modules anywhere" plugin within the content works like a charm, no jquery conflicts.
But now I needed to set the max-width to 600px an let the module float right:
css:
Code:
div.slidercontainer {
max-width: 600px;
margin: 10px;
float: right;
}
and code within the content:
Code:
<div class="slidercontainer">
{module Produktslider}
</div>
The Slideshow doesn't appear!
Changing the css to "width: 600px" it works - but certainly not responsive

So I tried to wrap another div around it with a max-width 600px and set the "slidercontainer" to width 100% - the module disappears...
Have you an idea how to find out of that?
Regards
Michael
Please Log in or Create an account to join the conversation.
8 years 7 months ago #37657
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic div classes let disappear the slideshow?!
Hi
I think that the problem is the float right, because then it removes the natural element width. You can try a display:inline-block on the slidercontainer
CEd
I think that the problem is the float right, because then it removes the natural element width. You can try a display:inline-block on the slidercontainer
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
8 years 7 months ago #37658
by MichaelM
Replied by MichaelM on topic div classes let disappear the slideshow?!
Thank you - I changed the css to
... and the module disappears (but showing up in the source)
Code:
div.slidercontainer {
max-width: 600px;
margin: 10px;
display: inline-block;
}
... and the module disappears (but showing up in the source)
Please Log in or Create an account to join the conversation.
8 years 7 months ago #37659
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic div classes let disappear the slideshow?!
give me your url to check
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
8 years 7 months ago - 8 years 7 months ago #37660
by MichaelM
Replied by MichaelM on topic div classes let disappear the slideshow?!
Last edit: 8 years 7 months ago by MichaelM.
Please Log in or Create an account to join the conversation.
8 years 7 months ago #37669
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic div classes let disappear the slideshow?!
you can try a float right with a width in %
this works
I don't know exactly what you want to have as final resul,but you must put it without float or position, or give it a width
this works
I don't know exactly what you want to have as final resul,but you must put it without float or position, or give it a width
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.220 seconds