Devilish (debina) wrote in component_help,

  • Mood:

image header and journal size

Ok I need help. I know there are tutorials for this, and I have read and re-read so many tuts here to figure this out, but each one has different info and I'm getting lost. I have created user layers, theme layers, put information on both and still I can't figure out what I am doing wrong because it never looks right. I wonder if someone can just point me in the direction?

1. I have a 700 X 342 image that I want at the top of my journal, over the component boxes. What layer do I put this in, a theme layer or a user layer? Also, is there a simple code to do this?

*edit, I keep messing around and found a tut to add this code and now my image is at the top like I want. Was this the right place and code to use? Or am I still lost? lol

function Page::print_custom_head() {
< style media="screen" type="text/css">
.compBg { filter:alpha(opacity=65); -moz-opacity:0.65; }
< /style>
< style type="text/css" >
body {
background-image: url( ;
background-repeat: no-repeat ;
background-attachment: scroll ;
background-position: top ;
margin-top: 343px ;
< /style >


2. I then want my journal to be the same size as my image header, 700px wide. Which layer do I do this, and is there a simple code?

I do not want to change any colors, and I already figured out how to add the image between the comment links and change the comment link names in the theme layer with this code:

layerinfo "type" = "theme";
layerinfo "name" = "ramble";

set lineheight = 18;

set text_post_comment = "ramble on";
set text_read_comments = "1 ramble// # rambles";
set text_post_comment_friends = "ramble on";
set text_read_comments_friends = "1 ramble// # rambles";
set text_meta_music = "sounds";
set text_meta_mood = "feelings";

function CommentInfo::print() {
if (not $.enabled) { return; }
if ($.count > 0 or $.screened) {
""" < img src="" /> """;

Can I add the rest below this text? Or have I somehow done this wrong?

Thank you to anyone who can help me.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened