Okay
  Public Ticket #1232469
filter function
Closed

Comments

  • ar0919 started the conversation

    Hello, if I browse the projects page on the mobile, the use of filter function filter classification, occasionally the case picture all crowded together or does not appear, I feel like Javascrip too late to calculate the height caused by this problem is resolved What about the program?

  •  2,010
    Ocean replied

    Hello,

    Please send your link website for me check and help.

    Thank you

  •  2,010
    Ocean replied

    Hello,

    I have a solution for your issue, please open style.css file and add this code: 

    div#gallery {margin-left: -1px !important;}
    

    2, Open functions.php file and change line code from:

    wp_enqueue_script("isotope", get_template_directory_uri()."/js/jquery.isotope.min.js",array(),false,true);
    

    Replace by this line code:

    wp_enqueue_script("archi-isotope", get_template_directory_uri()."/js/jquery.isotope.min.js",array(),false,true);
    

    3, Test again your project page on your mobile devices

    Thank you

  • ar0919 replied

    Hi,

    Thanks for your help

    I have try to test on our Mobile devices that it is work good.

    But will not be displayed on the PC.

    http://www.idrobert.com.tw/projects/

  •  2,010
    Ocean replied

    Hello, Please send your wp admin account for me check and quick help, Thanks

  •  2,010
    Ocean replied

    Hello,

    Go to backend edit this page: http://www.idrobert.com.tw/projects/ and save again "OT Portfolio Category" element + save page again.

    Thank you

  • ar0919 replied

    I will send wp admin account for you.

    please give me your email address.

    thank you for your help.

  •  2,010
    Ocean replied

    Hello, When post your wp admin account, just need choose private reply on this ticket, Thank you

  •   ar0919 replied privately
  •  2,010
    Ocean replied

    Hello, Please check again your project page, It's work fine now, Thanks

  • ar0919 replied

    Hello,

    Thanks for your help.

    So..We can't set 「Gap = 1px 」?

  •  2,010
    Ocean replied

    I'll find a solution for issue when set gap between projects image, Thanks

  • ar0919 replied

    Hello, How can I to fix this issue? if I want to set gap between projects image.

  •  2,010
    Ocean replied

    I just remove php code in your shortcode.php file : 

    style="margin: -<?php echo esc_attr($gap1); ?> <?php echo esc_attr($gap1); ?-->"
    

    And your projects work fine now, you can set gap between projects image.

    Thank you

  • ar0919 replied

    Thanks for your help.

    I have check the projects work fine now.