div classes let disappear the slideshow?!
div classes let disappear the slideshow?! was created by MichaelM
Posted 7 years 6 months ago #37656
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
by MichaelM
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic div classes let disappear the slideshow?!
Posted 7 years 6 months ago #37657
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
by ced1870
Please Log in or Create an account to join the conversation.
Replied by MichaelM on topic div classes let disappear the slideshow?!
Posted 7 years 6 months ago #37658
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)
by MichaelM
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic div classes let disappear the slideshow?!
Posted 7 years 6 months ago #37659
give me your url to check
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Replied by MichaelM on topic div classes let disappear the slideshow?!
Posted 7 years 6 months ago #37660
Last Edit:7 years 6 months ago
by MichaelM
Last edit: 7 years 6 months ago by MichaelM.
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic div classes let disappear the slideshow?!
Posted 7 years 6 months ago #37669
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
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.683 seconds