Stable background picture

Go down

In progress Stable background picture

Post by ifekt on Sun Jul 17 2011, 18:11

How can i have a Stable background picture, so it doesnt repeat it self?

ifekt
Forumember

Male Posts : 127
Reputation : 5
Language : English

Back to top Go down

In progress Re: Stable background picture

Post by Base on Sun Jul 17 2011, 18:13

Hi, you will need to add this rule into your CSS for your background image:

Code:
background-repeat: no-repeat;

Smile


Last edited by Base on Sun Jul 17 2011, 18:28; edited 1 time in total
avatar
Base
Forumaster

Male Posts : 10386
Reputation : 1693
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

In progress Re: Stable background picture

Post by ifekt on Sun Jul 17 2011, 18:18

Sorry, but where should i put this?

ifekt
Forumember

Male Posts : 127
Reputation : 5
Language : English

Back to top Go down

In progress Re: Stable background picture

Post by Vlajki on Sun Jul 17 2011, 18:27

AP > Display > Colors > CSS Stylesheet
Then find
Code:
background {
property
and put it inside the bracket.
avatar
Vlajki
Forumember

Male Posts : 724
Reputation : 359
Language : Serbian & English
Location : Serbia

Back to top Go down

In progress Re: Stable background picture

Post by ifekt on Sun Jul 17 2011, 18:41

The problem is that when i open the CSS style sheet is empty

ifekt
Forumember

Male Posts : 127
Reputation : 5
Language : English

Back to top Go down

In progress Re: Stable background picture

Post by Base on Sun Jul 17 2011, 18:45

Okay, then please try adding this to your CSS code:

Code:
body {
    background-repeat: no-repeat;
}
avatar
Base
Forumaster

Male Posts : 10386
Reputation : 1693
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

In progress Re: Stable background picture

Post by ifekt on Sun Jul 17 2011, 19:04

Thanks Smile anyway to center it?

ifekt
Forumember

Male Posts : 127
Reputation : 5
Language : English

Back to top Go down

In progress Re: Stable background picture

Post by Base on Mon Jul 18 2011, 18:41

Well, you could try adding in the line:

Code:
    background-position: center center;

...directly beneath:

Code:
    background-repeat: no-repeat;
avatar
Base
Forumaster

Male Posts : 10386
Reputation : 1693
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum