Thread Starter
bluemi
(@bluemi)
Ok, I think I made it myself… For anyone who is interested, this is the css:
.document-gallery .descriptions.document-icon-row {
display: inline-block;
width: 19%;
min-width: 150px;
margin: 35px 0 0;
}
.document-gallery .descriptions.document-icon-row {
vertical-align: top;
text-align: center;
}
.document-gallery .descriptions.document-icon-row img {
width:150px;
max-width: 100%;
border: solid 1px #999;
}
.document-gallery .descriptions.document-icon-row a {
font-size: 13px;
line-height: 19px;
}
.document-gallery .descriptions.document-icon-row p {
font-size: 11px;
line-height: 15px;
text-align:center;
}
.document-gallery .descriptions.document-icon-row .document-icon {
float: none;
max-width: 150px;
position: relative;
margin: 0 auto;
}
-
This reply was modified 8 years, 11 months ago by
bluemi.
Glad you got it sorted! 🙂
-Dan
Hey! Do you think you can help me apply this to my issue?
I have added category page descriptions using WP editor, and for some reason, they are positioned above the category page title. I copied your CSS above, swapping out “.document-gallery .descriptions.document-icon-row .document-icon” for “.taxonomy-description”, and then deleted the bits that had no impact for my site.
What I can’t figure out is how to position the description below the title, and have it centred. Any thoughts?
Thanks,
Plugin Author
demur
(@demur)
Hi ashahmurat!
We would be happy to help You.
Can You provide a link to a gallery where this is occurring?
Taking into account symptoms and that You have taxonomy-description class (which has nothing to do with Document Gallery plugin), seems Your WP has some plugin(s) that doesn’t properly match with DG.
Thanks! Sorry for the late reply. Here’s the link:
http://ashahmurat.com/category/portfolio/
Let me know if you need any more details, thanks.
Plugin Author
demur
(@demur)
Hi ashahmurat!
I’ve looked over Your website through the length and breadth. And I have to say I couldn’t find a single trace of Document Gallery plugin. So it’s either not installed or at least not enabled.
Please double check Your WordPress settings and if You run into any issues with DG feel free to ask, we would be happy to help You.