Luis Torres
asked 9 years ago

I really like the gallery mode on the DW wall theme except I want it to behave like a image would. Where if you hove over the image it then drops down the info. Currently the gallery option has the post info below always on. Can I somehow modify this so the gallery mode acts like an image?

1 Answers
Kido D
answered 9 years ago

Hi Luis,
To resolve this issue you can go to Dashboard / Appearance / Customize /Custom Code, and add this code below to Header Code section:
 

<style>
.home .format-gallery:hover {
z-index: 1;
}
.home .format-gallery .item-main,
.home.body.masonry-relayout .format-gallery .item-main {
display: none;
}
.home .format-gallery .item-inner {
padding: 0;
}
.home .format-gallery .item-main {
padding: 0 20px 20px 20px;
}
.home .format-gallery:hover .dw-gallery-container {
margin: 0 0 15px;
}
.home .format-gallery:hover .item-main,
.format-image:hover .item-title,
.home .format-gallery:hover .meta-top,
.home .format-gallery:hover .meta-bottom {
display: block;
}
.home .format-quote .item-content {
margin: -20px -20px 5px;
}
</style>

Please try and let me know the result. 
Hope that helps!

Powered by DW Question & Answer Pro