imagebg - frontpage

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
Fri Mar 08, 2013 11:07 am
Reply with quote
Report this post
I do not understand how to set the image frontpage
Image
User avatar
Senior Boarder

teitbite
Fri Mar 08, 2013 11:26 am
Reply with quote
Report this post
Hi

The thing on a screenshot is a panel where You can add a page class suffix. What You need is to add this script to css to change the image:

Code: Select all
.imageBg #gkHeader {
    background: url("/joomla25/simplicity/templates/gk_simplicity/images/header.jpg") no-repeat fixed center 0 #000000;
}
User avatar
Moderator

GK User
Fri Mar 08, 2013 12:24 pm
Reply with quote
Report this post
ni image :(
Image
User avatar
Senior Boarder

GK User
Fri Mar 08, 2013 12:37 pm
Reply with quote
Report this post
meme074 wrote:no image :(
Image

Image[/quote]
User avatar
Senior Boarder

GK User
Fri Mar 08, 2013 5:21 pm
Reply with quote
Report this post
Hi there - I am totally lost on this as well, and I've been using Joomla since 2005, although I am certainly no expert.

Can you please offer step by step instructions on how to get the background image to the homepage?

Thanks!
User avatar
Fresh Boarder

teitbite
Mon Mar 11, 2013 3:06 pm
Reply with quote
Report this post
Hi

This is really simple. You can specifie which background to use on which page thanks to page class suffix configurable in template settings.

For example let attache a page class suffix called "redimage" (this is totally a name of choice) and attcha it to page with ID 123. Than You need to use code:

Code: Select all
.redimage #gkHeader {
    background: url("/joomla25/simplicity/templates/gk_simplicity/images/header.jpg") no-repeat fixed center 0 #000000;
}
User avatar
Moderator

GK User
Mon Mar 11, 2013 3:18 pm
Reply with quote
Report this post
hi,

I created a form with id 228, I set suffixes for pages ItemID 228 - imageBg but no picture
User avatar
Senior Boarder

GK User
Mon Mar 11, 2013 3:56 pm
Reply with quote
Report this post
But where do you put that code? If we want the image on the home page, where do we put the code? In the template CSS?
User avatar
Fresh Boarder

GK User
Mon Mar 11, 2013 3:58 pm
Reply with quote
Report this post
Image
User avatar
Senior Boarder

teitbite
Mon Mar 11, 2013 5:17 pm
Reply with quote
Report this post
Hi

You both got it wrong. Module ID has nothing to do with it. What You need is a menu item ID, which You can find for example in menu manager on the very left column. Than lets for example use a homepage which in our template's demo has an id 101. Go to template settings and fill the page suffix option like on the screen below.

Next step is to add a code to display the background for this page only to override.css file (remember to allow using of override in template settigs).
User avatar
Moderator

GK User
Mon Mar 11, 2013 6:55 pm
Reply with quote
Report this post
User avatar
Senior Boarder

teitbite
Tue Mar 12, 2013 12:11 pm
Reply with quote
Report this post
Hi

Path to the file is wrong.

In Your case it should be:

Code: Select all
.redimage #gkHeader {
    background: url("../images/header.jpg") no-repeat fixed center 0 #000000;
    border-bottom: medium none;
    margin-bottom: 0;
}


additionaly You need to publish something in header module to have something this background can be used with.
User avatar
Moderator

GK User
Tue Mar 12, 2013 12:22 pm
Reply with quote
Report this post
Hi
replaced but nothing .....
www.212eyewear.com
User avatar
Senior Boarder

teitbite
Tue Mar 12, 2013 12:48 pm
Reply with quote
Report this post
Hi

Path is still wrong. I can see "/joomla25/simplicity/templates/gk_simplicity/images/header.jpg" when it should be "../images/header.jpg"

Also nothing is published in header position.
User avatar
Moderator

GK User
Tue Mar 12, 2013 1:53 pm
Reply with quote
Report this post
This query is on a couple of threads now.

I too, am 'listening' in to this, as I will need to change my main picture when I get to commissioning the website.

For something this bold and big, and knowing that everyone who purchases the template would want to change this, you think the developers could have made some simpler way of allowing us to edit this picture (i.e. like media manager for header postion)

That being said though, I love the template!

T
User avatar
Senior Boarder

GK User
Tue Mar 12, 2013 2:07 pm
Reply with quote
Report this post
made several tests, including "...images/hader.jpg" the immage you can not see, I'm sorry but this is not templete "semplicity"

now is the following
Code: Select all
.redimage #gkHeader {
    background: url("../images/header.jpg") no-repeat fixed center 0 #000000;
    border-bottom: medium none;
    margin-bottom: 0;
}
User avatar
Senior Boarder

GK User
Tue Mar 12, 2013 2:55 pm
Reply with quote
Report this post
meme074

being a bit of a novice at this, I will mention something that is maybe pretty silly to suggest......

Have you got the picture you want to use in your images directory and is it called header.jpg?
User avatar
Senior Boarder

GK User
Tue Mar 12, 2013 3:01 pm
Reply with quote
Report this post
Oh yeah, this is
User avatar
Senior Boarder

GK User
Tue Mar 12, 2013 5:57 pm
Reply with quote
Report this post
teitbite wrote:Hi

Path is still wrong. I can see "/joomla25/simplicity/templates/gk_simplicity/images/header.jpg" when it should be "../images/header.jpg"

Also nothing is published in header position.



??????Also nothing is published in header position.
User avatar
Senior Boarder

GK User
Tue Mar 12, 2013 6:21 pm
Reply with quote
Report this post
OK, there we are, but because you can not see the menu bar?
User avatar
Senior Boarder

GK User
Wed Mar 13, 2013 12:38 am
Reply with quote
Report this post
Having issue with 3.0 Template. I installed the quickstart. Even replace the image it was showing up and then bam... it went away? Whats going on here?

Thank you
User avatar
Fresh Boarder

teitbite
Wed Mar 13, 2013 3:53 pm
Reply with quote
Report this post
Hi

@templeton - the easiest way is to simply replace the image which was used on the template demo in templates /images/header.jpg

@signagefactory - this is a matter for a different thread, please create it and give as many informations as You can there.

@meme074 - please send me an access to Your website. I'll make it for You.
User avatar
Moderator

GK User
Wed Mar 13, 2013 5:04 pm
Reply with quote
Report this post
hi teitbite,
http://www.212eyewear.com

now seems to be fine ... thanks for your support
User avatar
Senior Boarder

GK User
Wed Mar 13, 2013 7:00 pm
Reply with quote
Report this post
I posted in the 3.0 thread.

Need to figure this out.
User avatar
Fresh Boarder

teitbite
Fri Mar 15, 2013 12:32 pm
Reply with quote
Report this post
Hi

@meme074 - I'm glad it worked.

@signagefactory - I can see Bartek already took care of Your question.

Can we close this thread now. This is more about an individual approach, so may lead other users to wrong solution.
User avatar
Moderator

GK User
Fri Mar 15, 2013 12:53 pm
Reply with quote
Report this post
Hi teitbite

Thanks for your quick response.

It works well.

I have kept the new header pictures I have created the same pixels as the default ones.

By doing this simple change, will the pictures be responsive still?
T
User avatar
Senior Boarder

teitbite
Fri Mar 15, 2013 2:23 pm
Reply with quote
Report this post
Hi

Image is being added via background so it will not be responsive, but You can use an additional code to make it resize (unfortunately will not work on every device).

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

GK User
Sat Mar 23, 2013 6:34 am
Reply with quote
Report this post
I need help with this...I want to be able to change the head image easily....no fuss. Please advise.
User avatar
Fresh Boarder

teitbite
Sun Mar 24, 2013 3:55 am
Reply with quote
Report this post
darrencl wrote:I need help with this...I want to be able to change the head image easily....no fuss. Please advise.


Hi

Like I've said already the easiest way is to simply replace the image keeping the same name at template's /images/header.jpg
User avatar
Moderator

GK User
Sat Mar 30, 2013 2:48 pm
Reply with quote
Report this post
teitbite wrote:Hi

Image is being added via background so it will not be responsive, but You can use an additional code to make it resize (unfortunately will not work on every device).

Code: Select all
.redimage #gkHeader {
background-size: 100% auto !important;
}


Silly question Teitbite......

You are right. Due to the image header picture and not CSS, it looks shocking. The rest of the page looks fantastic with the responsive style.

Regarding your code above, where do I place this?
And do I put it anywhere in the chosen file?
User avatar
Senior Boarder

GK User
Sat Mar 30, 2013 4:02 pm
Reply with quote
Report this post
i just tried to apply it to a page and it worked but the "white menu" is still visible:

http://spizzerb.com/index.php/angebote-und-services

how can i change the menu to the same as the "home" page?

also the suffix for nomobile and notablet seem not to work.. i placed the suffix in the newly created header module.

any ideas?

Thanks
User avatar
Junior Boarder

GK User
Sat Mar 30, 2013 4:09 pm
Reply with quote
Report this post
spizzerb wrote:i just tried to apply it to a page and it worked but the "white menu" is still visible:

"wrong url"

how can i change the menu to the same as the "home" page?

also the suffix for nomobile and notablet seem not to work.. i placed the suffix in the newly created header module.

any ideas?

Thanks


Wrong url and to late to edit.. sry

correct url:

http://spizzerb.com/index.php/unternehmen
User avatar
Junior Boarder

teitbite
Sat Mar 30, 2013 6:11 pm
Reply with quote
Report this post
Hi

@templeton all modifications should be done to override.css file but please remember that override needs to be enabled in template settings.

@spizzerb please send me an access to joomla site. I need to compare Your settings with quickstart, because menu is using a different code in both cases.
User avatar
Moderator

GK User
Sat Mar 30, 2013 6:17 pm
Reply with quote
Report this post
teitbite wrote:Hi

@spizzerb please send me an access to joomla site. I need to compare Your settings with quickstart, because menu is using a different code in both cases.


check your pm's

thanks
User avatar
Junior Boarder

teitbite
Sat Mar 30, 2013 6:45 pm
Reply with quote
Report this post
Hi

I've asked programmers, becuase I do not see problem in configuration. Will let You know when thy will answer.
User avatar
Moderator

GK User
Sat Mar 30, 2013 6:54 pm
Reply with quote
Report this post
teitbite wrote:Hi

I've asked programmers, becuase I do not see problem in configuration. Will let You know when thy will answer.


Thanks!

Is this for both issues? Menu and suffix for nomobile, notablet?

Do you know where i can change the height of the header image?
User avatar
Junior Boarder

teitbite
Tue Apr 02, 2013 2:29 pm
Reply with quote
Report this post
Hi

Height can be set with this class:

Code: Select all
.imageBg #gkHeaderMod {
    padding: 180px 0 130px;
}
User avatar
Moderator

GK User
Fri Apr 19, 2013 5:26 pm
Reply with quote
Report this post
Hi teitbite

You mentioned that the code to make the background image responsive will not work on every device... do you know offhand which browsers will not support this? Just wondering whether to implement this or not. It looks great as responsive...

Thanks!


.redimage #gkHeader {
background-size: 100% auto !important;
}
User avatar
Junior Boarder

teitbite
Sat Apr 20, 2013 11:06 am
Reply with quote
Report this post
Hi

Some older devices I believe. Most of present mobile browsers got this option supported.
User avatar
Moderator

GK User
Wed Sep 24, 2014 8:27 am
Reply with quote
Report this post
aha... i am very sorry but i am getting the following error when i try to add the suffix in the features page of the template settings.

specified rule exists error
User avatar
Junior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.