image show GK4 image resizing

Feel free to talk about everything related to our Joomla Products
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 Apr 14, 2014 1:39 pm
Hello,

I noticed that the frontpage picture wont show completely in 100% width when visiting the homepage on a smartphone.
the URL ist: www.casa-nostra-music.de
there are 6 faces on the picture, when visiting on a smartphone the right face is missing.
the picture will not completely resized?

any advice? or cant this be solved?

thanks
User avatar
Junior Boarder

teitbite
Tue Apr 15, 2014 3:18 pm
Hi

Please add this coed to mobile.css:

Code: Select all
.gkIsWrapper-gk_musicstate .gkIsSlide {
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
}
User avatar
Moderator

GK User
Wed Apr 16, 2014 12:17 pm
thanks, that worked :-)
but now there are grey stripes below and above.
what is this? can they be removed?

thanks
User avatar
Junior Boarder

teitbite
Thu Apr 17, 2014 9:08 pm
Hi

This is why image was cut in the first place. Image was made to fit to height of the module. I've changed it to show full image, but in expence of showing bars on top and bottm which previously was covered by image. So there is no other way to remove them than revert the changes. Maybe there is a way to replace the image for smaller screens, but I would need to see this images first.
User avatar
Moderator

teitbite
Thu Apr 17, 2014 9:09 pm
Hi

No, wait :) I was totaly wrong. There is an easier way. Module doesn;t have to be a fix height, please add this code to adjust the module to image height:

Code: Select all
.gkIsWrapper-gk_musicstate {
    min-height: 0;
}
User avatar
Moderator

GK User
Fri Apr 18, 2014 1:54 pm
thanks, i put this code in mobile.css, the grey area disappeared, but now the heads (the upper front of the picture) are a little bit cutted. the image isnt shown with 100% height on the smartphone.
User avatar
Junior Boarder

teitbite
Tue Apr 22, 2014 9:37 pm
Hi

Please just try to manipulate with the value for this min-height to the moment You will get the height proper for mobile.
User avatar
Moderator


cron