site background

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Nov 30, 2013 3:24 pm
Reply with quote
Report this post
hi,
would like to know how can i get the same results for a background image like the ones here

http://demo.gavick.com/joomla25/gamenews/
http://demo.gavick.com/joomla25/gamemagazine/

now im using

Code: Select all
body #gkBg {background: transparent url('../images/andrew2.png') repeat;}


which is not what i want ...
need to know;
#1 correct code ..
#2 correct image size

all my images are so small i need to use " repeat " which is rubbish :)

would like to show different images every time there is something special ... like Christmas ,, Easter ..

my site
RegatulUnit.com


thanks
User avatar
Gold Boarder

GK User
Sat Nov 30, 2013 6:50 pm
Reply with quote
Report this post
User avatar
Platinum Boarder

GK User
Sat Nov 30, 2013 6:53 pm
Reply with quote
Report this post
p.s.
on GameNews we used
Code: Select all
    background: url("/templates/gk_gamenews/images/bg1.jpg") no-repeat scroll center 0 #F4F4F4;


on GameMagazine we used

Code: Select all
 background: url("/templates/gk_game_magazine/images/bg.jpg") no-repeat scroll center top #F5F5F5;
    min-height: 100%;
}



...but please read more about all features of background in CSS3 - it will give you lot's of capabilities.
User avatar
Platinum Boarder

GK User
Sat Nov 30, 2013 8:49 pm
Reply with quote
Report this post
thanks ... how about #2 correct image size ?
User avatar
Gold Boarder

GK User
Sat Nov 30, 2013 9:58 pm
Reply with quote
Report this post
You can use similar as we did : 1 665px × 1 200px
User avatar
Platinum Boarder

GK User
Sun Dec 01, 2013 1:16 pm
Reply with quote
Report this post
i tried to use the modules you suggested ... but i cannot figure out how to make it work ...

i need the id div to specify where the background should be shown ... ... would that be body ? or body #gk .. i tried everything ..

also in template features i entered “Suffixes for pages” so i added frontpage id 101 and rule = frontpage ...

then i tried to use " frontpage " still no luck .

thanks
User avatar
Gold Boarder

GK User
Sun Dec 01, 2013 1:17 pm
Reply with quote
Report this post
also ... is there a need to specify a position for the module ? or just leave it empty ?
User avatar
Gold Boarder

GK User
Tue Dec 03, 2013 12:11 am
Reply with quote
Report this post
I have lost. Sorry. Lets back to beginning:
What are planning to do?
You want to change background image on whole site or only on selected?
If first ... just replace image with yours and add "cover" css feature - like I show in my small guide.

If second .... let me know on which one, selected or ???
User avatar
Platinum Boarder

GK User
Sat Dec 07, 2013 5:25 pm
Reply with quote
Report this post
at the moment i use


Code: Select all
/*body #gkBg {
  background: url("http://regatulunit.com/templates/gk_msocial/images/romania.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  min-height: 100%;
}*/



works great ...

but would like to know whats the size that i need to use in order to have my background message seen left and right ...

like here Image

Image

Image
User avatar
Gold Boarder

GK User
Mon Dec 09, 2013 11:38 pm
Reply with quote
Report this post
Note that CSS3 allows you to use 2 background in one time.

p.s.
There is not such a universal background image,
I always to suggest to check stats from your country - which resolution is most popular on your country.
Stats for few European countries you will find here: ranking.pl

So in most cases it's better to use wide background image or use replay-x property.
User avatar
Platinum Boarder


cron