Forum Replies Created

Viewing 10 posts - 31 through 40 (of 40 total)
  • Author
    Posts
  • in reply to: problem with header when scrolling #419153

    sorry that video was corrupted this the right one
    https://drive.google.com/file/d/0B83iEH2VRWC8Y2htTy1GaTdwRTA/view?usp=sharing

    in reply to: problem with header when scrolling #418756
    in reply to: problem with header when scrolling #418040

    please go here enfold/js/avia.js
    i ve edited the code below, you will find my code signed by //rayan 17/3/2015
    //check if the browser supports element rotation
    function avia_header_size()
    {
    var win = $(window),
    header = $(‘.html_header_top.html_header_sticky #header’);

    if(!header.length) return;

    var logo = $(‘#header_main .container .logo img, #header_main .container .logo a’),
    elements = $(‘#header_main .container:first, #header_main .main_menu ul:first-child > li > a:not(.avia_mega_div a, #header_main_alternate a)’),
    el_height = $(elements).filter(‘:first’).height(),
    isMobile = $.avia_utilities.isMobile,
    scroll_top = $(‘#scroll-top-link’),
    transparent = header.is(‘.av_header_transparency’),
    shrinking = header.is(‘.av_header_shrinking’),
    set_height = function()
    {
    var st = win.scrollTop(), newH = 0;
    var mynewH = 0;//rayan edit 17/3/2015

    if(shrinking && !isMobile)
    {
    if(st < el_height/2)
    {

    newH = el_height – st;
    mynewH = 0;//rayan edit 17/3/2015
    av_change_class(header, ‘remove’, ‘header-scrolled’);
    //header.removeClass(‘header-scrolled’);
    }

    else
    {
    newH = el_height/2;
    mynewH =el_height-newH -10 //rayan edit 17/3/2015
    //header.addClass(‘header-scrolled’);
    av_change_class(header, ‘add’, ‘header-scrolled’);
    }

    elements.css({‘height’: newH + ‘px’, ‘lineHeight’: newH-mynewH + ‘px’});//rayan edit 17/3/2015
    logo.css({‘maxHeight’: newH + ‘px’});
    }

    if(transparent)
    {
    if(st > 50)
    {
    //header.removeClass(‘av_header_transparency’);
    av_change_class(header, ‘remove’, ‘av_header_transparency’);
    }
    else
    {
    //header.addClass(‘av_header_transparency’);
    av_change_class(header, ‘add’, ‘av_header_transparency’);
    }
    }

    }

    if($(‘body’).is(‘.avia_deactivate_menu_resize’)) shrinking = false;

    if(!transparent && !shrinking) return;

    win.on( ‘debouncedresize’, function(){ el_height = $(elements).attr(‘style’,””).filter(‘:first’).height(); set_height(); } );
    win.on( ‘scroll’, function(){ window.requestAnimationFrame( set_height )} );
    set_height();
    }

    in reply to: Enable Social Share Section #418026

    ok i got 3.0.5 version …
    if i update my file my child theme will be reset ?
    and my custom code will be lost ???

    in reply to: problem with header when scrolling #418012

    i’m using Win7 and Chrome browser.
    if you wanna see the problem just click one small click on the scroll bar.

    in reply to: problem with header when scrolling #417997
    This reply has been marked as private.
    in reply to: Enfold a bar shown in the bottom of post page #416608

    Hi!
    it works nice :)
    thx alot for the help
    but what the + means ?

    in reply to: Enfold a bar shown in the bottom of post page #416605

    Hello Yigit
    when i add .chrome a.b-animate-go, .ff a.b-animate-go, .safari a.b-animate-go { display: none !important; }
    to my custom css all the images with effects disappeared :)

    in reply to: Enfold a bar shown in the bottom of post page #416597

    Hello Yigit
    that’s really magic !!!
    awesome please could you tell me how you figure it out ?

    in reply to: Enfold a bar shown in the bottom of post page #416589
    This reply has been marked as private.
Viewing 10 posts - 31 through 40 (of 40 total)