-
AuthorPosts
-
July 27, 2015 at 10:30 pm #479316
When I put in a content slider or a testimonial, if the content height changes they the whole website below it moves up or down. How do I make it stay static / not move the website as it changes.
Private link to site below.
Thanks
July 28, 2015 at 6:28 am #479446I would also appreciate knowing how to do this.
July 29, 2015 at 4:29 am #479998Hi!
You could set the containers to a fixed height, but you are putting yourself in a situation where you would have to write a lot of CSS to maintain the responsiveness of the container for smaller screens. You can use the following if you want to do it anyway:
.avia-content-slider-inner { min-height: 400px !important; max-height: 400px !important; }Best regards,
RikardAugust 5, 2015 at 4:50 am #483063FYI for other people:
Thanks, I used your code and made this query and it goes responsive under 768 so all the phones are responsive and the tablets and laptops are a set height. I just put this into the Quick CSS spot in Enfold Settings. You will just have to change the height if you dd in too big or all small things.
@media screen and (min-width: 768px) {
.avia-content-slider-inner {
min-height: 300px !important;
max-height: 300px !important;
}
.av-large-testimonial-slider.avia-testimonial-wrapper {
min-height: 220px !important;
max-height: 220px !important;
}
}August 5, 2015 at 1:38 pm #483300Hi!
Glad Rikard could help and thank you for sharing your solution :)
Best regards,
YigitJune 29, 2016 at 1:18 am #654549I put in the code that Rikard supplied but for some reason my testimonial is still shifting the content up and down.
I am not sure what I have done differently. :SJuly 1, 2016 at 11:53 am #655680Hi @Bcunningham,
Could you provide us with a link to the site in question so that we can take a closer look please?
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.
