HOME | DD

Published: 2012-04-27 06:25:40 +0000 UTC; Views: 11715; Favourites: 127; Downloads: 69
Redirect to original
Description
New DA gallery thumbnail classes to customize your CSS.Each of the classes are visually represented by its color in the demo thumbnail preview.
Gallery thumbnail classes:
.tt-fh or .tt-a
{
}
span.shadow
{
}
span.shadow img
{
}
.tt-w
{
}
.commentcount a
{
}
.t
{
}
.tt-bb
{
}
I'll update with more when I find out.
Related content
Comments: 74
gillianivyart [2012-04-27 13:29:57 +0000 UTC]
Thanks for being so fast to jump on this, I haven't even looked at it yet
👍: 0 ⏩: 1
CypherVisor In reply to gillianivyart [2012-04-27 14:25:08 +0000 UTC]
No problem. But there's still lot of problems in them. I went mad trying to figure it out in the afternoon. There are 2 more classes involved to customize the thumbs.
But what I figured out while digging is that DA has defined different classes (may be) for different sizes of thumbs...
1) which has a grey background and has higher width
2) which has no background and is square in size
3) which has a small cut-out background at the bottom shown and has less width
👍: 0 ⏩: 2
virulentrose-art In reply to CypherVisor [2014-04-30 20:28:07 +0000 UTC]
question:
how do i make the thumbnails square in size
it just makes it look so much neater and i'm not good with css so i'd appreciate the help! ;u;
👍: 0 ⏩: 1
CypherVisor In reply to virulentrose-art [2014-05-01 11:41:06 +0000 UTC]
You can try this:
a.thumb img
{
width:250px;
height:250px;
}
This might squeeze or elongate your deviations
👍: 0 ⏩: 0
gillianivyart In reply to CypherVisor [2012-04-27 15:10:49 +0000 UTC]
I bet they were not considering CSS skins at all when they were doing this. I feel it would be better on just the main DA one, featured and browse, which cannot be skinned anyway. I like the size but not the layout. When I am on the big computer, I will delve into it more. I'm new to making galleries, so it is not too much extra for me to learn. I had actually noticed these .tt and etc divs when I was fiddling around about a month or so ago. Maybe it was due to them already working on these changes in the background. Of course, I did not know what it was effecting at the time.
👍: 0 ⏩: 1
CypherVisor In reply to gillianivyart [2012-04-27 18:27:31 +0000 UTC]
Yeah! I like the bigger view and the layout also but inconsistency in each display style for those deviations is what pisses me off. Earlier I wasn't much into gallery CSS too. But the day I thought of coding my gallery CSS to make them good looking (and I even did that) the same day DA fucked my gallery! Curse you DA!! For this reason, I sucked out all the juice of CSS classes out of DA in the gallery!
👍: 0 ⏩: 1
CypherVisor In reply to behnak [2012-04-27 14:09:47 +0000 UTC]
Now where did you come from? With this kinda stuff? lol!
👍: 0 ⏩: 0
Rubixa-Seraph In reply to ??? [2012-04-27 06:38:26 +0000 UTC]
Man...this is going to be a pain...
So...
Does this mean I can now make the white-gray bow thing transparent or something?
👍: 0 ⏩: 1
Rubixa-Seraph In reply to CypherVisor [2012-04-27 07:08:00 +0000 UTC]
May I ask another question?
So, I figured out how to change the color of the background using "background-color:"
But I still don't know how to make it transparent...
👍: 0 ⏩: 1
CypherVisor In reply to Rubixa-Seraph [2012-04-27 07:10:47 +0000 UTC]
Well, its background:transparent;
but it doesn't seems to be working. I am looking into it.
👍: 0 ⏩: 2
Rubixa-Seraph In reply to CypherVisor [2012-04-27 07:25:59 +0000 UTC]
So...I tried a few other things to see what would happen, so I tried this:
opacity: 0.4;
I noticed that this only worked on the deviation image, not the background box.
Also, when I set it to hover, such as:
span.shadow:hover
{
background: transparent;
opacity: 0.4;
}
On larger deviations, this weird DA "empty thumbnail" logo appears in the background. I think you should try it out yourself to know what I mean.
P.S. I use Google Chrome, in case that makes a difference. (I'm not too good with this stuff, LOL)
👍: 0 ⏩: 2
CypherVisor In reply to Rubixa-Seraph [2012-04-27 07:43:24 +0000 UTC]
Okay you can get rid of the grey background using this
.tt-bb
{
background:transparent;
}
👍: 0 ⏩: 2
Rubixa-Seraph In reply to CypherVisor [2012-04-27 17:08:27 +0000 UTC]
Yes, it worked! Thank you!
👍: 0 ⏩: 0
gillianivyart In reply to CypherVisor [2012-04-27 13:31:09 +0000 UTC]
Thanks, that is my exact issue.
👍: 0 ⏩: 1
CypherVisor In reply to Rubixa-Seraph [2012-04-27 07:27:35 +0000 UTC]
There are more classes involved in it. They need to be redefined I suppose. I am exploring them atm.
👍: 0 ⏩: 1
Rubixa-Seraph In reply to CypherVisor [2012-04-27 07:11:29 +0000 UTC]
Alright, thank you! I actually tried that first but nothing happened, LOL
👍: 0 ⏩: 0
<= Prev |