Tumblr question

Users who are viewing this thread

brieze

Maulds' Angel
Messages
4,240
Reaction score
0
Tokenz
0.01z
/* HEADER */
div#header {
padding: 10px 0;
margin-bottom: 20px;
}
div#header h1 {
margin: 10px 0;
text-align: right;
text-transform: uppercase;
font-size: 46px;
font-weight: bold;
line-height: 40px;
text-spacing: -10px;
font-family: Helvetica;
}


Where would I put a link to a header image?
 
  • 16
    Replies
  • 2K
    Views
  • 0
    Participant count
    Participants list

Dana

In Memoriam - RIP
Messages
42,904
Reaction score
10
Tokenz
0.17z
Where would I put a link to a header image?
not there... you'd only put coding in if u wanted a background... look for the header area just below the CSS area it should be like <h1> replace {title} with <img src= "your url" >
 

Carlton

Member
Messages
174
Reaction score
0
Tokenz
0.00z
if you want an image just for the header background, you put it in the CSS.

/* HEADER */
div#header {
padding: 10px 0;
margin-bottom: 20px;
background-image:url('yourimager.gif');
}


where yourimage.gif is the image you want in the background, you can also specify heights and widths and everything else you need in the CSS for the image, it also keeps your base code tidy. you can also repeat the image if you need too

{
background-image:url('paper.gif')
background-repeat:repeat-x;
}

this repeats the image horizontally untill it fills the width of the header.
 

Carlton

Member
Messages
174
Reaction score
0
Tokenz
0.00z
that is a header image, its a background for the header DIV only, (not the whole page) its the standard way of doing it. I thought the she asked for a header image?
 

Dana

In Memoriam - RIP
Messages
42,904
Reaction score
10
Tokenz
0.17z
that is a header image, its a background for the header DIV only, (not the whole page) its the standard way of doing it. I thought the she asked for a header image?
she wanted to know how to put a header in not a background. she had the wrong section of coding. i told her what she need to do. Just sayin.
 

Carlton

Member
Messages
174
Reaction score
0
Tokenz
0.00z
actually, looking back at the OP,

"Where would I put a link to a header image? "

do you need a link that goes to a new page, when you click an image in your header?
 
78,886Threads
2,185,669Messages
4,964Members
Back
Top