HOME | DD

Published: 2013-07-08 05:04:40 +0000 UTC; Views: 43923; Favourites: 1789; Downloads: 223
Redirect to original
Description
Here is Part 1 of Journal Skins forDo make sure to check out miontre's Do-It-Yourself Journal Skin article as well as ginkgografix 's Old vs Gruze Journal guide. The layout we're using in this skin is the gruze layout, so be sure to take a look at that one.
Step by Step
Here is all the code used in the tutorial. Only the new codes that are added with each step are shown, and the final journal skin with everything put together is at the bottom.
1. Getting Rid of the Junk:
* {background: transparent; border: none; margin: 0; padding: 0;}
.gr-top img {display: none;}
.gr {padding: 0 !important;}
li.a.f {background:transparent;}
2. Adding Background Colors:
.gr-top{background: #4fbcbd ;}
.gr-body{background: #eee ;}
.text{background: #fff ;}
3. Changing Text Colors:
.gr-top h2 a{color:#fff ;}
.gr-top .timestamp{color: #fff ;}
h1{color: #4fbcbd ;}
h2{color:#4fbcbd ;}
.commentslink {color: #4fbcbd ;}
Note! If you want to be fancy, you can also add .gr-top h2{color:#ffffff } to your code. This makes the title white when you type it into your journal.
4. Formatting Text:
.gr-top{text-align:center;}
.list{text-align:center;}
5. Adding Padding:
.gr-top{padding:40px;}
.gr-body{padding:30px;}
.text{padding:40px 30px 20px 30px;}
Note! Alternative way to do padding (these can be in any order btw)
.text{
padding-top: 40px;
padding-right: 30px;
padding-bottom: 20px;
padding-left: 30px;
}
6. Adding Margins:
.text{margin-bottom: 20px;}
.list{margin-top: 20px;}
The Full Skin:
Mostly in order of how the tutorial progressed. This can be copied and pasted straight into the CSS box in the journals for you to use and modify as you wish.
* {background: transparent; border: none; margin: 0; padding: 0;}
.gr-top img{display:none;}
.gr {padding: 0 !important;}
li.a.f{background:transparent;}
.gr-top{
background: #4fbcbd ;
text-align:center;
padding:40px;}
.gr-body{
background: #eee ;
padding:30px;}
.text{
background: #fff ;
padding:40px 30px 20px 30px;
margin-bottom: 20px;}
.gr-top h2 a{color:#fff ;}
.gr-top .timestamp{color: #fff ;}
h1{color: #4fbcbd ;}
h2{color: #4fbcbd ;}
.commentslink{color: #4fbcbd ;}
.list{
text-align:center;
margin-top: 20px;}
Journal Creator
Is all the code making your head hurt? If you're more interested in creating a custom journal skin rather than actually learning the code, you can try my DeviantART Journal Creator . Just plug and chug, and you'll have your very own skin!
Related content
Comments: 249
SimplySilent In reply to ??? [2013-12-31 06:25:42 +0000 UTC]
Hmm, not quite sure what you mean? The code earlier should add a background to the entire journal. Do you have separate images for the top and body?
π: 0 β©: 1
Skyw1nd In reply to SimplySilent [2013-12-31 06:31:28 +0000 UTC]
No, but when I add the image, it only shows up behind the body of the journal. The title is left at the top, with a transparent background.
π: 0 β©: 1
SimplySilent In reply to Skyw1nd [2013-12-31 06:50:33 +0000 UTC]
My bad, looks like I was the one being a n00b.
The code should be for gr-box, not gr-body:
.gr-box{
background: url('IMAGE URL HERE');
}
π: 0 β©: 2
Skyw1nd In reply to SimplySilent [2013-12-31 17:57:02 +0000 UTC]
Hey just one last quick question, if my journal/custom box is too long, would I just have to make a bigger image, or is there a way to fit the image to the box?
π: 0 β©: 1
SimplySilent In reply to Skyw1nd [2014-01-03 01:19:27 +0000 UTC]
Say that your image is 500px tall. If your journal extends past 500px, the image automatically repeats again. If the repeating image looks awkward, then you may have to modify the background to make it seamless.
For custom boxes, though, there's no way to repeat the image. If your custom box is longer than the image, you'll just have to create a bigger image.
π: 0 β©: 1
Skyw1nd In reply to SimplySilent [2014-01-03 03:43:40 +0000 UTC]
ohhhhhhhh okay. I was leaning towards that anyway, I'm not sure how I like the current theme for my page anyway. Thank you!
π: 0 β©: 1
PinkoPrint In reply to ??? [2013-12-24 17:15:44 +0000 UTC]
Thankyou for making this tutorial!
π: 0 β©: 1
Rammthali In reply to ??? [2013-10-21 16:54:45 +0000 UTC]
Excellent tutorial, very helpful! Β
But I do have a question if you don't mind; In the 'new' Gr. code system, bg images can be added too, right? If yes, is it better to use one bg image, or multiple? (for example, one image for the header/top, one image for the main body/.gr-body, etc OR one big image for all/the whole journal)
thanks in advance! ^^
π: 0 β©: 1
SimplySilent In reply to Rammthali [2013-11-02 19:31:58 +0000 UTC]
Background images could always be added, to both the old and the new formats.
I find it much more useful to cut the background image into three parts, one for the top, one for the text, and one for the bottom. That allows the journal to expand in the center when the user adds more text. Otherwise, the height of the journal is limited, and you have to use a scroll box to make it work.
π: 0 β©: 0
mrfjtrjh465478 In reply to ??? [2013-10-03 14:44:02 +0000 UTC]
I've been programming for years but I never got into making DA skins, this sure gives me an easy start!
π: 0 β©: 1
SimplySilent In reply to mrfjtrjh465478 [2013-10-03 22:42:15 +0000 UTC]
Awesome! Skinning is a lot of fun~
π: 0 β©: 0
Aurora9912 In reply to ??? [2013-09-16 10:29:13 +0000 UTC]
If you wish you may place my picture in the description box for DUMMIES.Β I am your poster child.Β For some reason I cannot seem to connect the dots on this stuff and it's even worse now that I have lupus and it's affecting my thought processes at times.Β Nothing like lupus brain to make me go "DUH!".Β Gah!Β I hate it!Β I am going to try this tomorrow as I have been fighting journal colors and fonts and you have now given me a weapon.Β
Thank you!
π: 0 β©: 1
SimplySilent In reply to Aurora9912 [2013-09-26 22:20:44 +0000 UTC]
CSS can be tough at first, but just keep it up!
π: 0 β©: 0
miontre In reply to ??? [2013-09-01 09:10:19 +0000 UTC]
This is a fantastic tutorial! I wish I'd seen it earlier. Β
π: 0 β©: 1
SimplySilent In reply to miontre [2013-09-02 01:51:24 +0000 UTC]
Thank you! Β
I still have yet to do a Part 2, though.
π: 0 β©: 1
miontre In reply to SimplySilent [2013-09-02 07:09:42 +0000 UTC]
Haha, I am also planning to do a "Part 2" of mine, though it will be stand-alone and quite different.
I really like how you explained everything, perfect for a beginner.
π: 0 β©: 0
PinkoPrint [2013-08-10 01:28:14 +0000 UTC]
When I followed the tutorial and typed it in myself it didn't work. I double checked and got everything right. So when I copied and pasted it in then is worked. (i'm still practicing.)
π: 0 β©: 1
SimplySilent In reply to PinkoPrint [2013-08-10 02:45:42 +0000 UTC]
Hmm, so are you having any issues with understanding any of the steps?
π: 0 β©: 1
PinkoPrint In reply to SimplySilent [2013-08-10 03:59:28 +0000 UTC]
Oh, I did it right, right after I posted that comment.Β
Thanks for making this tutorial, it helped me understand coding so much better.
Β
π: 0 β©: 1
SimplySilent In reply to PinkoPrint [2013-08-10 06:21:33 +0000 UTC]
No problem! I'm glad it helped!
π: 0 β©: 1
the-Loony In reply to ??? [2013-07-31 18:34:41 +0000 UTC]
goood gracious! youΒ΄re a true samaritian! iΒ΄ll come back to bow and kiss your feet some more when iΒ΄ve actually altered my journal skin. (in case i somehow get hold of another premium membership, that is)
many blessings to those who speak the language of the machine gods!
π: 0 β©: 1
SimplySilent In reply to the-Loony [2013-07-31 18:40:13 +0000 UTC]
Haha, I'm glad it was helpful to you!
π: 0 β©: 1
cality In reply to ??? [2013-07-28 21:15:55 +0000 UTC]
This might be a silly question (and sorry to post it here!), but if I write a feature article with a journal skin that I also post to a non-super group, is that OK? I assume I will have the journal skin showing on my profile page, but not on the article where it appears in the group?Β
Thanks again for providing such a helpful resource!
π: 0 β©: 1
SimplySilent In reply to cality [2013-07-28 21:40:24 +0000 UTC]
Haha, that's okay. I'm not exactly sure with the new Sta.sh change and all, but I remember that previously you could post journals with the skin as long as you were a premium member, and it would show up in non-super groups fine. You'd have to test it though, since I'm not exactly sure on that~
π: 0 β©: 1
cality In reply to SimplySilent [2013-07-28 22:22:27 +0000 UTC]
Hmm, interesting! I guess I will test that out in a few days then.
Thanks!
π: 0 β©: 1
SimplySilent In reply to cality [2013-07-31 19:30:17 +0000 UTC]
Just tried it with my compliments journals, and the journal skin looks exactly the same when submitted to a non-super group.
π: 0 β©: 1
cality In reply to SimplySilent [2013-07-31 21:44:53 +0000 UTC]
Oh, awesome! Thanks for letting me know!
π: 0 β©: 1
Celvas In reply to ??? [2013-07-28 14:31:57 +0000 UTC]
Very cool. I made some notes on how to do some stuff better in the future. I gave up more control over the code than I was aware. Thank you for writing this up.
π: 0 β©: 1
SimplySilent In reply to Celvas [2013-07-28 18:59:19 +0000 UTC]
Great! Glad it was helpful~
π: 0 β©: 1
xXNiroXx In reply to ??? [2013-07-22 23:42:48 +0000 UTC]
Excuse me do you know how to add like the picture of a character to the background?
π: 0 β©: 1
SimplySilent In reply to xXNiroXx [2013-07-23 00:38:49 +0000 UTC]
Yup. To add an image to your journal, you can use the code either in the header or the footer, depending on whether you want the image at the top or the bottom. In order to format it, some more complicated CSS is involved, but you can use the
π: 0 β©: 1
xXNiroXx In reply to SimplySilent [2013-07-23 01:22:51 +0000 UTC]
YAY it worked!! thanks so much!!!! Β
π: 0 β©: 1
xXNiroXx In reply to SimplySilent [2013-07-23 02:47:19 +0000 UTC]
Hehe ^w^Β
I wrote in my journal that you are the one who showed me how to put in the pics ^w^
Thanks so much! i really appreciate it!
π: 0 β©: 1
ManlyTurnip In reply to ??? [2013-07-21 16:56:49 +0000 UTC]
Thank you, that is what I was looking for !
I think I'll watch you, don't want to miss more like this
π: 0 β©: 1
SimplySilent In reply to ManlyTurnip [2013-07-21 20:51:01 +0000 UTC]
Yay, glad you find it useful! And thanks~
π: 0 β©: 1
ManlyTurnip In reply to SimplySilent [2013-07-23 11:20:29 +0000 UTC]
You are very welcome
π: 0 β©: 0
bvanhorn In reply to ??? [2013-07-21 14:12:58 +0000 UTC]
Thanks. Β I'm going to have to play with this.
π: 0 β©: 1
SimplySilent In reply to bvanhorn [2013-07-21 20:51:24 +0000 UTC]
Feel free to ask me if you have any questions.
π: 0 β©: 0
sweater-snaps In reply to ??? [2013-07-20 03:40:39 +0000 UTC]
I was wondering if you knew how to make the text box above the journal skin transparent? I'm having trouble with that part ._.
π: 0 β©: 1
<= Prev | | Next =>