Fixed background in different resolutions

Go down

Solved Fixed background in different resolutions

Post by Crywider on August 27th 2014, 9:29 am

Hello again,

I noticed, that my background image (BG for future) of forum is not totally fixed. I changed BG on my computer and uploaded it (1400x900 screen resolution). It was pretty good. But when I visited forum on my notebook (1366x768), it looked like it is not centered. It is aligned to left side of screen, so on right side it looks pretty bad. I want it to appear on all resolution as same image, all borders will be seen.

I dont know how to say it, but I hope at least somebody will help me,
THANKS.


Last edited by Crywider on August 28th 2014, 9:47 am; edited 1 time in total

Crywider
Forumember

Male Posts : 34
Reputation : 0
Language : Slovak, English, Czech, Polish
Location : Bardejov - SLOVAKIA

Back to top Go down

Solved Re: Fixed background in different resolutions

Post by Ange Tuteur on August 27th 2014, 2:15 pm

Hello,

You can use the background-size property to fit the image directly to the screen resolution. Add the following code to your stylesheet :
Administration Panel > Display > Colors > CSS stylesheet
Code:
body { background-size:100% 100% }
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Fixed background in different resolutions

Post by Crywider on August 27th 2014, 9:26 pm

nice, thanks...but I found out, that it is better with only 1x 100% so it dont transform image

Code:
body { background-size: 100% }

Crywider
Forumember

Male Posts : 34
Reputation : 0
Language : Slovak, English, Czech, Polish
Location : Bardejov - SLOVAKIA

Back to top Go down

Solved Re: Fixed background in different resolutions

Post by APE on August 29th 2014, 3:08 pm

Hi there is this now solved ?



avatar
APE
Administrator
Administrator

Male Posts : 12327
Reputation : 1284
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Fixed background in different resolutions

Post by Crywider on August 29th 2014, 3:20 pm

Yes, I edited icon of thread to SOLVED Smile sorry, I did not say Smile

Crywider
Forumember

Male Posts : 34
Reputation : 0
Language : Slovak, English, Czech, Polish
Location : Bardejov - SLOVAKIA

Back to top Go down

Solved Re: Fixed background in different resolutions

Post by APE on August 29th 2014, 3:32 pm

Thank you i just wanted to make 100% sure

Topic solved and archived



avatar
APE
Administrator
Administrator

Male Posts : 12327
Reputation : 1284
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


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