HOME | DD

missi-alicja — Simple CSS Gallery - TUTORIAL

Published: 2011-07-06 21:24:14 +0000 UTC; Views: 5164; Favourites: 152; Downloads: 59
Redirect to original
Description My first tutorial I guess. Do not laugh...

And apologises for my bad english...

If you want to see it in action click this link: [link]

Edit: fixed errors pointed out by =pumacatrun2 Thanks!

If anything else, feel free to comment/note me.

--------------------------------------------------

Here is complete code rewritten from the tutorial:

body
{background: #000000;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;}

h2
{background: #B0B0B0;
height: 100px;
margin: 30px 0px 0px 0px;
padding: 50px 10px 0px 30px;
font-family: Arial;
font-weight: bolded;
font-size: 40px;
color: #E12FDB;
letter-spacing: 5px;}

.folderview-top .description
{text-align: justify;
background: #B0B0B0;
width: 200px;
margin: 60px 10px 10px 0px;
padding: 30px 20px 30px 20px;
font-family: Arial;
font-size: 14px;
font-weight: normal;
color: #FFFFFF;}

.folderview-top .description a:link
{color: #E12FDB;
font-weight: bolder;}

.folderview-top .description a:hover
{color:#FFFFFF;
font-weight: bolder;}

.folderview-art
{margin-top: 60px;
vertical-align: middle;
text-align: center;
font-family: Arial;
color: #E12FDB;
font-size: 16px;
padding-left: 40px;}

.folderview-art span .shadow a
{display: table-cell;
padding: 10px;
width: 200px;
height: 200px;
vertical-align: middle;
background-image: url([link] );}

.folderview-art span .shadow a:hover
{display: table-cell;
padding: 10px;
width: 200px;
height: 200px;
vertical-align: middle;
background-image: url([link] );}

.folderview-art span a:link
{color: #E12FDB;
font-family: Arial;
font-size: 14px;
font-weight: bolder;
letter-spacing: 3px;}

.folderview-art span a:hover
{color: #FFFFFF;
letter-spacing: 3px}

------------------------------------------------------------------------

Though, purpose of this tutorial is NOT to give you code/gallery skin, but to describe what line, what parameter of code does what to the gallery folder appearance.
Related content
Comments: 24

OpalArtz [2015-03-31 00:04:20 +0000 UTC]

the h2 part never works for me..

👍: 0 ⏩: 0

Anerio [2014-10-13 03:25:09 +0000 UTC]

Do you need premium memebrship for this?

👍: 0 ⏩: 1

PAPERWlNGS In reply to Anerio [2015-01-04 20:22:38 +0000 UTC]

Yes

👍: 0 ⏩: 0

UszatyArbuz [2014-05-27 18:01:03 +0000 UTC]

 

👍: 0 ⏩: 0

TikiTiel [2014-05-17 20:19:54 +0000 UTC]

Ahhhh thank you soooo much for this :'D

👍: 0 ⏩: 0

Phidont [2013-10-18 04:24:28 +0000 UTC]

wut if i wanted a image background instead of color

👍: 0 ⏩: 0

Luifex [2013-07-26 17:23:13 +0000 UTC]

i know bits about HTML and CSS but i've been following your tutorial to understand where bits go and the structure of how it works

but one the one thing that keeps confusing me is how the "gallery description" box works

everything is fine when i have the display to the left... 
but when i switch it to the right its very squashed and wondered if you could help?

it's prob' like a slight code change.... lol

👍: 0 ⏩: 0

Emmystuck [2012-10-24 14:16:17 +0000 UTC]

Do you know how to add images instead of colours for the header and such?

👍: 0 ⏩: 1

Otomezaki In reply to Emmystuck [2012-12-28 00:04:53 +0000 UTC]

Just add Url and (Url), for example

background: url(Inserturlhere)

This help?

👍: 0 ⏩: 1

Emmystuck In reply to Otomezaki [2012-12-28 18:11:22 +0000 UTC]

Yeah! Thanks!

👍: 0 ⏩: 0

Chivi-chivik [2012-08-27 19:17:22 +0000 UTC]

At last one makes an understanable tutorial and adds the script below.
You've been my savior!

👍: 0 ⏩: 1

missi-alicja In reply to Chivi-chivik [2012-09-18 12:55:04 +0000 UTC]

No problem, I had to make it so I could learn myself.

👍: 0 ⏩: 1

Chivi-chivik In reply to missi-alicja [2012-09-18 13:05:29 +0000 UTC]

Thanks for this

👍: 0 ⏩: 0

Hoshi-Hana [2012-08-22 21:55:57 +0000 UTC]

This is what I have made so far: [link]

👍: 0 ⏩: 0

Hoshi-Hana [2012-08-22 14:41:17 +0000 UTC]

This is absolutely great!

I know how to do the CSS, but I didn't know what the different parts of the gallery was called

Thank you

👍: 0 ⏩: 1

missi-alicja In reply to Hoshi-Hana [2012-08-22 14:44:59 +0000 UTC]

Hey no problem. I hope you will find it useful. Though, I am not sure if this will work for beta-testers (i am the one too) after new thumb system everything changed...

👍: 0 ⏩: 1

Hoshi-Hana In reply to missi-alicja [2012-08-22 15:35:08 +0000 UTC]

Oh, I see We'll just have to experiment then ^^

👍: 0 ⏩: 0

kittykittyhunter [2012-05-12 00:02:05 +0000 UTC]

Thank you so much~

👍: 0 ⏩: 0

Lutra-Gem [2011-07-24 12:51:30 +0000 UTC]

Thank you for this! I just managed to code myself a simple CSS for one of my galleries.

👍: 0 ⏩: 0

pumacatrun2 [2011-07-24 09:33:58 +0000 UTC]

Nice tutorial, I already knew a bit but was too lazy to code it myself, but a few questions/comments
1. In the header section, for the font-weight I think you used ; where it should be :
2. In the thumbs for both the normal and hovering, for the link, should I put:
background image: urlgoeshere
or should there be a "" in it, an ending in ;} ?
3. Where do I upload it to?

Thanks And nice job ^^

👍: 0 ⏩: 1

missi-alicja In reply to pumacatrun2 [2011-07-24 10:57:44 +0000 UTC]

1. yes, thank you for pointing this out, my mistake...
2. without "", I guess that () replaces "" here, and yes ending should be ;} , again my mistake on this
3. and yes I will add that part where it should be uploaded, it should be uploaded obviously in folder options at top gallery bar in CSS section.

👍: 0 ⏩: 1

pumacatrun2 In reply to missi-alicja [2011-07-24 11:37:20 +0000 UTC]

No problem with pointing out the mistakes and thanks for the help, but when I do try to submit the text, it says it is invalid (array)

👍: 0 ⏩: 1

missi-alicja In reply to pumacatrun2 [2011-07-24 11:59:18 +0000 UTC]

Must be some error in your code... Maybe even single . or , causing this...

Cannot help you if I dont see it.

👍: 0 ⏩: 1

pumacatrun2 In reply to missi-alicja [2011-07-24 12:50:21 +0000 UTC]

I triple-checked and couldn't find anything..oh well, I found another tutorial that worked good enough so I'll use that...thanks anyway...

👍: 0 ⏩: 0