turn off the darker scroll effect in the header

GK User
Sun Sep 21, 2014 10:25 pm
Where can turn of the mask effect in the header module when you slide down.
I got a white background that turns to grey/black when i scroll down.
I don't want that.

Best regards,
Stef
User avatar
Expert Boarder

GK User
Sun Sep 21, 2014 10:50 pm
Hi,
this is dark layer, and to remove or modify it you have to edit this file: templates\gk_steakhouse\js\gk.scripts.js

find
frontpage_module.css('background', 'rgba(0, 0, 0, ' + (result) + ')');

and
change background color from 0 0 0 (black) to 255 255 255 (white)
to get white layer effect.
User avatar
Platinum Boarder

GK User
Sun Sep 21, 2014 10:52 pm
p.s.
Or replace with:
frontpage_module.css('background', 'transparent');

if you want to remove effect (turn off)
User avatar
Platinum Boarder

GK User
Mon Sep 22, 2014 7:46 am
Yeah great, thank you so much! :)

"This support team rocks"

Best Regards,
Stef
User avatar
Expert Boarder

GK User
Mon Sep 22, 2014 10:30 am
No problem, th@nks.
This template have a big potential - use it. Check also tips from: https://www.gavick.com/documentation/ca ... -template/
And ... do not forget to eat vegetables not only steak in Steak House :mrgreen:

Our next template "writer" will be for photo bl0ggers, so you can use for your another project.
User avatar
Platinum Boarder

GK User
Sat Mar 21, 2015 4:22 am
...thank you for this... but I have a follow up questions... what if I want to create an effect where the image changes to another when the mouse rolls over it? Do I simply add to that same file, but instead of a color, add an <img tag of some sort?

Cheers
User avatar
Fresh Boarder

GK User
Sat Mar 21, 2015 4:38 am
I have the basic MAGAZINE template, not steakhouse... but that is essentially what I want to do...
User avatar
Fresh Boarder

GK User
Sat Mar 21, 2015 8:52 am
I have the basic MAGAZINE template, not steakhouse... but that is essentially what I want to do...

If yes, so what you made a mess on GK forum, hmm? Next time please be more focused.
Are you sure that you have that template: https://demo.gavick.com/joomla25/magazine/ ??? Magazine !!

Because menu on left side have white background and don't have darker scroll effect.
User avatar
Platinum Boarder


cron