[英]Wordpress Widget Slider is causing a lot of white space
I'm using a template on Wordpress and it is loading 我在Wordpress上使用模板,正在加载
originally it will load like this: 最初它将像这样加载:
https://i.imgur.com/Vfzj4Rj.png https://i.imgur.com/Vfzj4Rj.png
But then after that it will load in the images and that will create a large white space in between the divs, see in the image below: 但是之后,它将加载到图像中,并在div之间创建一个较大的空白区域,请参见下图:
https://i.imgur.com/odjO3RX.png https://i.imgur.com/odjO3RX.png
This seems to be from the section-id: colormag_featured_posts_slider_widget-3 这似乎来自于部分ID:colormag_featured_posts_slider_widget-3
The website's URL is: https://www.oddsonfpl.com/ 该网站的URL为: https : //www.oddsonfpl.com/
I have regenerated the image so that the thumbnail would be smaller, but it doesn't seem to work. 我已经重新生成了图像,以便缩略图会更小,但似乎不起作用。 Is there anything I can do to fix this?
有什么我可以解决的吗?
It seems to be only at the first loop. 它似乎只是在第一个循环。 Cant say if it's a bug or wrong configuration .
不能说这是一个错误还是错误的配置。 You can try to set
adaptiveHeight: true
to adaptiveHeight: false
in your theme javascript setting file ( wp-content/themes/colormag/js/colormag-slider-setting.js
) and add this to your CSS file: 您可以尝试在主题javascript设置文件(
wp-content/themes/colormag/js/colormag-slider-setting.js
)中将adaptiveHeight: true
设置为adaptiveHeight: false
并将其添加到您的CSS文件中:
.bx-wrapper, .bx-viewport { height: 350px !important; }
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.