Before you ask please READ THIS

How to change color of portfolio item hover ?

edited June 2012 in Airlock Posts: 5

As in subject How to change color of portfolio item hover ? Original for Day version it's Dark and for Night version it's light. Check please attached. Thanks a Lot !

 

how to change color of this.jpg
1190 x 491 - 186K

Comments

  • AirAir
    Posts: 10,970
    OK, color of opacity above image is in style files under
    .alpha-scope-bg{
    background-color: #000;
    }
    style-light line ~1043, dark ~1060

    background color under text is changed in airlock\common\js\grayscale.js
    light ~28

    $(this).addClass('hovered').stop().animate( { backgroundColor: '#464646' }, speed);
    dark ~34

    $(this).addClass('hovered').stop().animate( { backgroundColor: '#fff' }, speed);
    With regards.
  • Hello people, i would like to change the amount of opacity not the color, in this case opacity is ste to 0.5 and would like to set to 0.9.
    Can you help me, i searched in the js but dont want to make a mistake

    Thanks
  • By the way, i would like to do the same to social icons, thank you!
  • AirAir
    Posts: 10,970
    Hello.

    For opacity of overlay:
    airlock/common/scripts.js ~190
    $('.alpha-scope-bg').css('opacity', '0.5');
    Social icons opacity
    airlock/common/scripts.js ~69

    $('#header .socials a').css('opacity', '0.6').hover(function(){
    $(this).fadeTo(300,1);
    },
    function(){
    $(this).fadeTo(300,0.6);
    })
    change any 0.6 to desired number (from 0 to 1) :-)

    With regards.
  • edited September 2012 Posts: 29
    Hello,
    Thank you!
    Post edited by alexis on
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!