Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Revolution Slider have random behaviour with font size #6515
    rmi
    Member

    Hello

    This is what i used :

    if(jQuery('#rev_slider_1_1 .loveloblack_white_70px').size() > 0 &&jQuery('#rev_slider_1_1 li:first-child .loveloblack_white_70px').css('font-size') != '71px') {
    jQuery('#rev_slider_1_1 li:first-child .loveloblack_white_70px').css('font-size', '71px').css('left', jQuery(window).width()/2 – jQuery('#rev_slider_1_1 li:first-child .loveloblack_white_70px').width()/2);
    jQuery('#rev_slider_1_1 li:first-child .loveloblack_white_24px').css('font-size', '24px').css('left', jQuery(window).width()/2 – jQuery('#rev_slider_1_1 li:first-child .loveloblack_white_24px').width()/2);
    }
    

    It should be called on document.ready.

    Cheers

    in reply to: Revolution Slider have random behaviour with font size #6488
    rmi
    Member

    Nevermind. Used a JS hack to force styles on load.

    in reply to: Revolution Slider have random behaviour with font size #6480
    rmi
    Member
    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)