Background picture Header

GK User
Sat Aug 09, 2014 2:05 pm
Hi there,
I've got the same problem like others here before. i have tried to insert the background picture through the header module- options. doesn't work. i have tried to edit the picture in gk_events - images- header_bg.jpg. doesn't work. If i try to edit the override.css script the background gets white.
Any other alternatives? whats wrong- what did i do wrongly?

Thank you
Marten
User avatar
Fresh Boarder

teitbite
Sun Aug 10, 2014 6:11 pm
Hi

Background is set with css and attached by page class suffix "frontpage" to frontpage. Class in demo looks like this:

Code: Select all
.frontpage #gkHeader {
    background: url("/joomla25/events/templates/gk_events/images/header_bg.jpg") no-repeat fixed center top rgba(0, 0, 0, 0);
}


Please show me Your site, so I'll check.
User avatar
Moderator

GK User
Mon Aug 18, 2014 5:40 pm
Suddendly it worked, without doing anything. My problem now is the size of the background picture.. The picture has about 400Kb but doesn't fill the whole page..
User avatar
Fresh Boarder

GK User
Mon Aug 18, 2014 5:50 pm
Again I tried to replace the header_bg.jpg and again it doesn't work..
actually I'm smart- it just doesn't seem so :-D
User avatar
Fresh Boarder

teitbite
Wed Aug 20, 2014 10:03 am
Hi

Maybe You are replacing the wrong image. The orginal shoul be in templates/gk_events/images/header_bg.jpg

You can force image to resize by using this code:

Code: Select all
.frontpage #gkHeader {
background-size: 100% auto;
}
User avatar
Moderator


cron