GkGreed & gkVideoBlock

GK User
Tue Dec 16, 2014 12:56 am
Привет! :) пожалуйста, помогите мне :) я создал GkGreed5 6s1 в каждой ячейке, я добавил html-модуль. Мне нужно, чтобы отобразить фоновое изображение в каждый модуль. Когда я ставлю модуль в нормальном положении, таких как "ИНСЭТ" - фон появляется). Но, gkGreed отображается только серый цвет. http://www.vperemen.com позиции "Botton3"
User avatar
Senior Boarder

teitbite
Tue Dec 16, 2014 7:46 pm
Hi

I'm sorry I do not understand. Please use English.
User avatar
Moderator

GK User
Tue Dec 16, 2014 9:29 pm
teitbite wrote:Hi

I'm sorry I do not understand. Please use English.

:lol: :lol: :lol: my mistake
Hello! :) please help me :) I created GkGreed5 6x1. In each cell, I added the html module. I need to display the background image in each module. When I put the module in the normal position, such as "inset" background appears). But, gkGreed only appears gray. http://www.vperemen.com position "Botton3"
User avatar
Senior Boarder

teitbite
Fri Dec 19, 2014 6:09 pm
Hi

That's becuase GK grid is not using a joomla default module layout. It's already a module loding inside a module. You need to add backgrounds in css. Please tell me the url to the page where I will be able to see an example of Grid module so I'll tell You what code to use.
User avatar
Moderator

GK User
Fri Dec 19, 2014 6:53 pm
teitbite wrote:Hi

That's becuase GK grid is not using a joomla default module layout. It's already a module loding inside a module. You need to add backgrounds in css. Please tell me the url to the page where I will be able to see an example of Grid module so I'll tell You what code to use.


Hi :)
http://www.vperemen.com
User avatar
Senior Boarder

teitbite
Sun Dec 21, 2014 1:33 pm
Hi

Here is a code You should use:

Code: Select all
.gkGrid-gred1_1-1 .gkVideoBlock {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.38);
}


You need to replace the background value there. Next selectors will looks like: .gkGrid-gred1_2-1, .gkGrid-gred1_3-1, .gkGrid-gred1_4-1, ... etc
User avatar
Moderator

GK User
Sun Dec 21, 2014 2:19 pm
Hi
This code changes the background color of each module , but I need to put a background image in each gkGreed
User avatar
Senior Boarder

GK User
Sun Dec 21, 2014 2:28 pm
:)
thank you very much , I just changed the code
Code: Select all
.gkGrid-gred1_1-1 .gkVideoBlock {
    background-image: url('../images/im_name.jpg');
}

Thanks for your help , you are the best !
User avatar
Senior Boarder

teitbite
Sun Dec 21, 2014 6:00 pm
Hi

That's basicaly the same code :) By publishing mine I had something like this in mind:

Code: Select all
.gkGrid-gred1_1-1 .gkVideoBlock {
    background: url('../images/im_name.jpg') repeat scroll 0 0 rgba(0, 0, 0, 0.38);
}
User avatar
Moderator


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