我做了这个博客旅行和摄影,这是我的主要业余爱好之一。 我得到了一个免费的模板,并且自己做了所有必要的修改,当然是要把它的作者归功于它。但我有这个问题...显示的图像是作为一个画廊,但不想
主页上的帖子,有超过1摄影,将显示为一个幻灯片画廊,我不想这样,因为它会弄乱布局当照片是垂直的。
正如你可以在这里看到:http://jcruz-foto.blogspot.pt/search?updated-max=2016-10-29T18%3A30%3A00%2B01%3A00&max-results=7
后Nº6那里说:“甲级联赛区域MX Ribatejo 2016” ......
这与滑块相关的代码。删除它不会做的伎俩笑...
<style type='text/css'>
/**
* BxSlider v4.1.2 - Fully loaded, responsive content slider
* http://bxslider.com
*
* Written by: Steven Wanderski, 2014
* http://stevenwanderski.com
* (while drinking Belgian ales and listening to jazz)
*
* CEO and founder of bxCreative, LTD
* http://bxcreative.com
*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
position: relative;
margin: 0 auto 60px;
padding: 0;
*zoom: 1;
margin-bottom:15px;
}
.bx-wrapper img {
max-width: 100%;
}
/** THEME
===================================*/
.bx-wrapper .bx-viewport {
background: #fff;
text-align:center;
/*fix other elements on the page moving (on Chrome)*/
-webkit-transform: translatez(0);
-moz-transform: translatez(0);
-ms-transform: translatez(0);
-o-transform: translatez(0);
transform: translatez(0);
}
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
position: absolute;
bottom: -30px;
width: 100%;
}
/* LOADER */
.bx-wrapper .bx-loading {
min-height: 50px;
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager {
text-align: center;
font-size: .85em;
font-family: Arial;
font-weight: bold;
color: #666;
padding-top: 20px;
}
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
display: inline-block;
*zoom: 1;
*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
background: #666;
text-indent: -9999px;
display: block;
width: 10px;
height: 10px;
margin: 0 5px;
outline: 0;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
background: #000;
}
/* DIRECTION CONTROLS (NEXT/PREV) */
.bx-wrapper .bx-prev {
left: 20px;
background: url(http://1.bp.blogspot.com/-WCgfaNs6MAU/VBnoMBFzakI/AAAAAAAABxw/oqXkrdC99Kw/s1600/slider-arrows.png) no-repeat 0 0;
}
.bx-wrapper .bx-next {
right: 20px;
background: url(http://1.bp.blogspot.com/-WCgfaNs6MAU/VBnoMBFzakI/AAAAAAAABxw/oqXkrdC99Kw/s1600/slider-arrows.png) no-repeat -30px 0;
}
/*.bx-controls-direction a {
opacity: 0;
transition: opacity .25s ease-in-out;
-moz-transition: opacity .25s ease-in-out;
-webkit-transition: opacity .25s ease-in-out;
}
.bx-wrapper:hover .bx-controls-direction a {
opacity: 1;
}*/
.bx-wrapper .bx-next:hover, .bx-wrapper .bx-prev:hover {
opacity:.7 !important;
}
.bx-wrapper .bx-controls-direction a {
position: absolute;
top: 50%;
margin-top: -15px;
outline: 0;
width: 30px;
height: 30px;
text-indent: -9999px;
z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
display: none;
}
/* AUTO CONTROLS (START/STOP) */
.bx-wrapper .bx-controls-auto {
text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
display: block;
text-indent: -9999px;
width: 10px;
height: 11px;
outline: 0;
background: url(images/controls.png) -86px -11px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
display: block;
text-indent: -9999px;
width: 9px;
height: 11px;
outline: 0;
background: url(images/controls.png) -86px -44px no-repeat;
margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
text-align: left;
width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
right: 0;
width: 35px;
}
/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
position: absolute;
bottom: 6px;
left: 0;
background: rgba(0, 0, 0, 0.6);
width: 100%;
padding:20px;
}
.bx-wrapper .bx-caption span {
color: #fff;
display: block;
font-size: 16px;
}
</style>
另外,我想在头版做更小的垂直图像,但我似乎无法做到这一点,以及...竖拍的图像太大了
你想要什么结果?你想删除滑块或自动修复垂直图像的高度? – Aslam
是的......我不想要一个滑块,在主页我只想要一个图像预览,并修复垂直图像的高度,它们太大 –