css 月光主题全宽英雄旋转器

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 月光主题全宽英雄旋转器相关的知识,希望对你有一定的参考价值。

#hero{
	height: auto;
	background: none !important;
}
#hero .heroOverlay {
	padding: 0;
	background: none;
}
#hero .container {
	width: 100%;
	padding: 0;
}
#hero .heroImages {
	width: 100%;
	margin: 0 !important;
	padding: 0;
	float: none;
}
#hero .heroImages img {
	visibility: hidden !important;
}
#hero .heroImages a {
	height: 700px;
}
#hero .heroImages #hero1 {
	background: url('https://s3.amazonaws.com/PlatinumStrategies/PWS/members/Wayland%2C+Bob/wayland-hero-golfcourse.jpg') no-repeat center center !important;
	background-size: cover !important;
	width: 100%;
}
#hero .heroImages #hero2 {
	background: url('https://s3.amazonaws.com/PlatinumStrategies/PWS/members/Wayland%2C+Bob/wayland-hero-pier.jpg') no-repeat center center !important;
	background-size: cover !important;
	width: 100%;
}
#hero .heroImages #hero3 {
	background: url('https://s3.amazonaws.com/PlatinumStrategies/PWS/members/Wayland%2C+Bob/wayland-hero-bridge.jpg') no-repeat center center !important;
	background-size: cover !important;
	width: 100%;
}
#hero .heroImages #hero4 {
	background: url('https://s3.amazonaws.com/PlatinumStrategies/PWS/members/Wayland%2C+Bob/wayland-hero-beach.jpg') no-repeat center center !important;
	background-size: cover !important;
	width: 100%;
}

#hero .heroDesc {
	text-align: center;
	margin: auto;
	float: none;
	background: rgba(51, 51, 51, 0.56);
}

@media screen and (max-width:992px) {
	#hero .heroImages a {
		height: 300px;
	}
	#hero .heroDesc{
		position: absolute;
		bottom: 0;
		width: 100%;
	}
	.heroDesc .learnmore {
		float: none;
	}
	#hero .backArrow, #hero .forwardArrow{
		top: 200px;
	}
}

以上是关于css 月光主题全宽英雄旋转器的主要内容,如果未能解决你的问题,请参考以下文章

css 创世纪主题 - 全宽包裹 - 海狸生成器

css 创世纪主题 - 全宽包裹 - 海狸生成器

css 创世纪主题 - 全宽包裹 - 海狸生成器

使用自定义 CSS 在 Wordpress.com 主题上将标题扩展到全宽 [关闭]

wordpress主题expositio的全宽

css 页面构建器容器全宽默认值 - generatepress,largura