Image on the home

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Feb 24, 2014 10:26 am
Reply with quote
Report this post
How to insert an image in the home page (like mountains in the demo)?
User avatar
Senior Boarder

GK User
Mon Feb 24, 2014 10:35 am
Reply with quote
Report this post
I can't change the Header Style.... and also the background... i try to change in the template menù but with no results.

http://www.casaciliano.it/test/
User avatar
Senior Boarder

GK User
Tue Feb 25, 2014 2:20 pm
Reply with quote
Report this post
Hello,

The background image for the second header style is defined in the css/gk.stuff.css file in the following fragment:

Code: Select all
/* Header II */
.custom.gk-header2 {
   background: url('../images/header2_bg.jpg') no-repeat center center;
   background-size: cover;
   padding: 300px 120px;
   text-align: center;
}


You can change the header style by deactivating the "Header I" module and activating "Header II" or "Header III" module (if you are using a quickstart).
User avatar
Administrator

GK User
Tue Feb 25, 2014 4:42 pm
Reply with quote
Report this post
dziudek wrote:Hello,

The background image for the second header style is defined in the css/gk.stuff.css file in the following fragment:

Code: Select all
/* Header II */
.custom.gk-header2 {
   background: url('../images/header2_bg.jpg') no-repeat center center;
   background-size: cover;
   padding: 300px 120px;
   text-align: center;
}


You can change the header style by deactivating the "Header I" module and activating "Header II" or "Header III" module (if you are using a quickstart).

Thanks, this is solved but i have this new problems:
In the template admin i try to change the background patterns with different style with no resoults
The template color is set on II. With Chrome and Firefox is ok, but with Safari is different (seems color I)
Now is installed the V 3.10.1. Where is the update?

http://www.casaciliano.it/index.php
User avatar
Senior Boarder

GK User
Tue Feb 25, 2014 4:50 pm
Reply with quote
Report this post
Please try to clear cookies in your browser - probably you have a cookie with style I on Safari which overrides your default template style in this browser.
User avatar
Administrator

GK User
Tue Feb 25, 2014 4:59 pm
Reply with quote
Report this post
Ok, this is solved, but now why i can't change the background?

In the template admin now is
Template style: pattern background
Template pattern: Pattern XII

But the back ground is flat and without patterns.

Second question: where is the 3.10.2 update for Mo template?
User avatar
Senior Boarder

GK User
Tue Feb 25, 2014 5:57 pm
Reply with quote
Report this post
I've found an issue connected with the patterns. Please open file layouts/default.php and change the following code:

Code: Select all
// get the cookie pattern settings
if(
   (isset($_COOKIE['gk_mo_j25_solid']) && $_COOKIE['gk_mo_j25_solid'] == 2)
) {
   if(isset($_COOKIE['gk_mo_j25_solid'])) {
      if($_COOKIE['gk_mo_j25_solid'] == 2) {
         $this->page_suffix .= ' solidBg';
         if(isset($_COOKIE['gk_mo_j25_pattern']) && is_numeric($_COOKIE['gk_mo_j25_pattern']) && $_COOKIE['gk_mo_j25_pattern'] >= 1 && $_COOKIE['gk_mo_j25_pattern'] <= 12) {
            $this->page_suffix .= ' pattern' . $_COOKIE['gk_mo_j25_pattern'];
         } else {
            $this->page_suffix .= ' pattern' . $this->API->get('template_pattern', 1);
         }
      }
   } else {
      $this->page_suffix .= ' solidBg pattern' . $this->API->get('template_pattern', 1);
   }
}

to:
Code: Select all
if($this->API->get('template_style', 1) == 2) {
   $this->page_suffix .= ' solidBg pattern' . $this->API->get('template_pattern', 1);
}


Regarding the 3.10.2 update - it doesn't exist for the Mo template, but soon we will release the 3.11 update for all supported templates (with the above fix included).
User avatar
Administrator

GK User
Wed Feb 26, 2014 10:07 am
Reply with quote
Report this post
Tnx a lot, now is correctly working!

For the update... on the template control panel i have

Version: 3.10.2 Date: 16/12/2013 DOWNLOAD

But i think is a bug.
User avatar
Senior Boarder

GK User
Wed Feb 26, 2014 1:44 pm
Reply with quote
Report this post
The information from the panel is a bug - it receives wrong update data. We will fix it in the nearest update.
User avatar
Administrator


cron