The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Tumblr Background Image
xxmiracle
post Jun 20 2010, 02:37 AM
Post #1





Group: Members
Posts: 1
Joined: 20-June 10
Member No.: 12,137



Tumblr layouts use "blocks" and its stopping me from doing what is normally very easy to do when coding...

What I'm trying to do is to make the background image fixed and not repeat.

If any of you here have Tumblr, I'm using the theme "nightnight" by deddy

The original theme has no background image. and this is the code
QUOTE

<meta name="image:Background" content="" />
<meta name="if:Fixed Background" content="0" />
<meta name="if:No Repeat Background" content="0" />
<meta name="font:Body" content="Tahoma, Arial, sans-serif" />
<meta name="if:Show Page Links" content="0" />

body {
color: {color:Text};
font: 12px {font:Body};
background: url({image:Background}) {block:IfNoRepeatBackground}no-repeat{/block:IfNoRepeatBackground} {block:IfFixedBackground}fixed{/block:IfFixedBackground} {color:Background};
line-height: 20px;
}


Then I added an image link to the code

QUOTE

<meta name="image:Background" content="http://img714.imageshack.us/img714/5488/calv.png" />
<meta name="if:Fixed Background" content="0" />
<meta name="if:No Repeat Background" content="0" />
<meta name="font:Body" content="Tahoma, Arial, sans-serif" />
<meta name="if:Show Page Links" content="0" />

body {
color: {color:Text};
font: 12px {font:Body};
background: url({image:Background}) {block:IfNoRepeatBackground}no-repeat{/block:IfNoRepeatBackground} {block:IfFixedBackground}fixed{/block:IfFixedBackground} {color:Background};
line-height: 20px;
}



I know its something to do with the blocking codes...but everything I try, the image still repeats.
Suggestions Please?


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 21st October 2014 - 06:56 PM