该项目位于here。
我正在为一家专门从事漫画的公司创建一个网站。只是放进一些带有幻灯片的灯箱什么也没做。我设法做到了。该网站使用J oomla 3.x
和Purity-iii
模板。
我的问题是这个。所有的灯箱都希望显示在新行上,而不是并排显示。我检查了开发者网站,因为它是付费模块。他们建议插入以下代码,以使灯箱水平显示,而不是垂直显示。
.artsexylightboxpreview {
display: inline-block !important;
}
什么都没发生。我检查了chrome中的元素,使用的.css
文件正确。我还编辑了第107行,因为检查告诉我这是.css
的控制框的部分。仍然没有任何反应。我删除了页边距,因为它与显示标签冲突。完整的.css
文件在下面。请让我知道是否需要其他帮助为我解决此问题。
.artsexylightboxpreview {
display: inline-block !important;
}
#SLB-Wrapper {
margin:0.5em 0;
margin:auto;
font-family:Verdana;
text-align: left;
position: absolute;
display: none;
}
#SLB-Wrapper #SLB-Background{
position: absolute;
left:7px;
top:7px;
float:left;
}
#SLB-Wrapper #SLB-Top {
background:transparent no-repeat scroll 100% 0;
height:28px;
margin:0 0 0 18px;
}
#SLB-Wrapper #SLB-Top img {
float:right;
border:0px;
margin:6px 10px;
}
#SLB-Wrapper #SLB-Top div {
background:transparent no-repeat scroll 0 0;
font-size:0;
height:28px;
left:-18px;
line-height:0;
position:relative;
width:18px;
}
#SLB-Wrapper #SLB-Bottom {
background:transparent no-repeat scroll 0 43%;
height:20px;
margin:0 18px 0 0;
}
#SLB-Wrapper #SLB-Bottom #SLB-BottomRight {
background:transparent no-repeat scroll 100% 43%;
font-size:0;
height:20px;
right:-18px;
line-height:0;
position:relative;
width:100%;
float:right;
}
#SLB-Wrapper #SLB-Bottom.SLB-bbnav, #SLB-Wrapper #SLB-Bottom.SLB-bbnav #SLB-BottomRight{
height:52px;
}
#SLB-Wrapper #SLB-Bottom.SLB-bbnav {
background-position:0 100%;
}
#SLB-Wrapper #SLB-Bottom.SLB-bbnav #SLB-BottomRight{
background-position:100% 100%;
}
#SLB-Wrapper #SLB-Contenido {
border-left: 7px solid #000;
border-right: 7px solid #000;
}
#SLB-Wrapper #SLB-Bottom #SLB-Navegador{
font-size: 11px;
color: #fff;
height:30px;
border-left:0px;
border-right:0px;
padding:10px 0px;
margin:0;
line-height:11px;
float:left;
width:100%;
}
#SLB-Wrapper #SLB-Navegador img{
border:0px;
}
#SLB-Wrapper #SLB-Navegador strong{
display: block;
}
#SLB-Wrapper #SLB-Bottom #SLB-Navegador img.btLeft{
float: left;
margin: 0 10px 0 0;
}
#SLB-Wrapper #SLB-Bottom #SLB-Navegador img.btRight{
float: right;
margin: 0 0 0 10px;
position:relative;
right:17px;
}
.artsexylightbox {
border: 2px solid #EEEEEE;
display: inline-block !important;
}
.artsexylightbox_singleimage {
cursor:pointer;
border: 2px solid #EEEEEE;
display: inline-block !important;
}
.artsexylightbox_singletext {
cursor:pointer;
}
.artsexylightbox_container {
width: 100%;
}
.artsexylightboxlink {
margin-right: 10px;
}
.asl_next {
background: url(../images/next.png) no-repeat 50% 50%;
float: left;
width: 32px;
height: 32px;
cursor: pointer;
vertical-align: middle;
clear:right;
}
.asl_prev {
background:url(../images/previous.png) no-repeat 50% 50%;
float: left;
width: 32px;
height: 32px;
cursor: pointer;
vertical-align: middle;
clear:both;
}
.asl_carousel {
float: left;
}
.asl_carousel li {
background-image: none !important;
}
.asl_caption {
text-align:center;
}
.asl_image_caption {
//float:left;
display:inline-block;
}
.asl_folder {
margin: 5px;
float: left;
text-align: center !important;
}
.asl_folder div {
text-align: center !important;
}
.sexylightbox_print {
cursor: pointer;
}
答案 0 :(得分:0)
建议的更改似乎已正确应用,但似乎没有任何作用。
使用浮点数可能更合适:
.artsexylightboxpreview {
float: left;
}