Image Show GK4 in the header's internal pages

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
Mon Jun 10, 2013 8:55 am
Reply with quote
Report this post
Hi,
i want to put some slides in the internal pages but i don't be able to insert an image with the 234 px height and 1698 px widht.
I edit the module's height but the result is bad.

Senzanome.png
Last edited by GK User on Mon Jun 10, 2013 8:58 am, edited 1 time in total.
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 8:56 am
Reply with quote
Report this post
Could You post an url to your site?
User avatar
Moderator

GK User
Mon Jun 10, 2013 9:24 am
Reply with quote
Report this post
Cyberek wrote:Could You post an url to your site?


sent in mp
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 9:36 am
Reply with quote
Report this post
It seems ok to me. Perhaps You should clear browser cache?
http://d.pr/i/dZtE
User avatar
Moderator

GK User
Mon Jun 10, 2013 9:40 am
Reply with quote
Report this post
Cyberek wrote:It seems ok to me. Perhaps You should clear browser cache?
http://d.pr/i/dZtE

The problem isn't in the home page but in the internal pages:
http://d.pr/i/6lpC

tks
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 10:38 am
Reply with quote
Report this post
Oh, sory for that.
It seems that You have set up image size to 804x98px and it is being resized to that size.
User avatar
Moderator

GK User
Mon Jun 10, 2013 10:44 am
Reply with quote
Report this post
Cyberek wrote:Oh, sory for that.
It seems that You have set up image size to 804x98px and it is being resized to that size.


It was a my test.
Now i set up the image size to 1698*234 but it's the same.
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 12:14 pm
Reply with quote
Report this post
Some idea?
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 12:35 pm
Reply with quote
Report this post
Few thing that I'm not sure are:
- would You like to create a slideshow or just single picture?
- should it fill entire browser width, or maybe just middle 1000px width column?
User avatar
Moderator

GK User
Mon Jun 10, 2013 12:37 pm
Reply with quote
Report this post
Cyberek wrote:Few thing that I'm not sure are:
- would You like to create a slideshow or just single picture?
- should it fill entire browser width, or maybe just middle 1000px width column?


I prefer to create a slideshow but would be ok just a single picture too.
I've to fill entire browser widht.
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 12:51 pm
Reply with quote
Report this post
Please send me a PM with:
1. login and password of user with admin/super-admin privileges (please create one for me)
User avatar
Moderator

GK User
Mon Jun 10, 2013 1:08 pm
Reply with quote
Report this post
Cyberek wrote:Please send me a PM with:
1. login and password of user with admin/super-admin privileges (please create one for me)



sent
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 3:23 pm
Reply with quote
Report this post
Ill consult that with developers and try to set things as they should be.
Will get back to You tomorrow.
User avatar
Moderator

GK User
Tue Jun 11, 2013 7:24 am
Reply with quote
Report this post
Cyberek wrote:Ill consult that with developers and try to set things as they should be.
Will get back to You tomorrow.


Hi, there is some update?

Tks in advance
Simone
User avatar
Fresh Boarder

GK User
Tue Jun 11, 2013 12:27 pm
Reply with quote
Report this post
Now the slideshow in the internal pages opens over the slide of the home page.
I did nothing.
Someone of you try something?

Tks
User avatar
Fresh Boarder

GK User
Tue Jun 11, 2013 1:08 pm
Reply with quote
Report this post
Yes, I'm working on doing it right, its quite a customization job :/
User avatar
Moderator

GK User
Tue Jun 11, 2013 1:24 pm
Reply with quote
Report this post
Few things needed to be done here. You were using same module on homepage and subpages, so to change behave of subpages module, one would need to somehow address css either of homepage module or subpages.
To do that, I have added homepage suffix in template settings (homepage id is 101 - this can be checked by editing main menu), and I have added to it class .homepage - it is attached to body element.
Now when homepage is "different" than all other pages, I have added 2 custom css lines to theme advanced settings:
Code: Select all
body:not(.homepage) #gkHeader.nobg {background: transparent; min-height: auto;}
body:not(.homepage) #gkIs-gk-is-588 div.gkIsImage img {margin: 0px; position: relative;  top: 0px !important; left: 0px !important;}

What they do is for all pages that doesn't have .homepage class on body element, set background of .nobg element to none, set its height to auto, set image centered.
Sadly it will only works in modern browsers that support css3 :not selector.
User avatar
Moderator

GK User
Tue Jun 11, 2013 2:35 pm
Reply with quote
Report this post
great!
User avatar
Fresh Boarder

GK User
Tue Jun 11, 2013 3:14 pm
Reply with quote
Report this post
I'm not quite sure if it will work ok with more than one slide - if You will have any problems with this banner - please write it here. For any other questions - please create new thread.
User avatar
Moderator

GK User
Tue Jun 11, 2013 5:59 pm
Reply with quote
Report this post
Cyberek wrote:I'm not quite sure if it will work ok with more than one slide - if You will have any problems with this banner - please write it here. For any other questions - please create new thread.


In safari i've an issue because the height of the module is the same of the homepage.
See the attached printscreen.
User avatar
Fresh Boarder

GK User
Wed Jun 12, 2013 10:25 am
Reply with quote
Report this post
Ok, then go to template settings - advanced section and in css declarations I have added - modify min-height and set it to 50px (dont worry, its minimal and will stretch to inner elements size)
User avatar
Moderator

GK User
Wed Jun 12, 2013 1:57 pm
Reply with quote
Report this post
Cyberek wrote:Ok, then go to template settings - advanced section and in css declarations I have added - modify min-height and set it to 50px (dont worry, its minimal and will stretch to inner elements size)


I'm sorry but nothing is changed..
Please see, for example, this page with safari:
http://www.cwmun.org/index.php?option=c ... Itemid=665

Tks
User avatar
Fresh Boarder

GK User
Wed Jun 12, 2013 7:01 pm
Reply with quote
Report this post
Maybe You haven't click "save" after changes - as there was still min-height: auto;. I have corrected that. Please check if now everything works as it should.
User avatar
Moderator

GK User
Wed Jun 12, 2013 9:24 pm
Reply with quote
Report this post
Cyberek wrote:Maybe You haven't click "save" after changes - as there was still min-height: auto;. I have corrected that. Please check if now everything works as it should.


Perfect, thank you so much!
User avatar
Fresh Boarder


cron