Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #865251

    is there a way to make the whole portfolio box title field clickable to show the ajax preview pop up? not just, when the title text is clicked?
    website: http://arstexendi.netzhautflimmern.ch/

    #865533

    Hey netzhautflimmern,

    Please, may you provide to us your website link and the WP and FTP credentials?

    Best regards,
    John Torvik

    #868661

    ´yes sure.. thanx

    #869448

    Hi,

    Thank you for the info. This is possible but you have to modify the js > shortcodes.js file. Look for the following code around line 1893.

    container.on("click", "a", methods.load_item);
    

    Replace it with..

    container.on("click", ".grid-entry", methods.load_item);
    

    Best regards,
    Ismael

    #870418

    thanx,.. but unfortunately that didnt work out..

    #870486

    Hi netzhautflimmern,

    Can you put the code in there for us to test a bit more please.

    Best regards,
    Victoria

    #870491

    sure, it is in there now..

    #870643

    Hi,

    Can you please post FTP logins here privately as well?
    Actually Ismael’s suggestion is working (you can try clicking the edge of the boxes) but there seems to be another JS related issue.

    Best regards,
    Yigit

    #870801

    sure

    #872357

    Hi,

    Thank you for the info. However, we actually need the FTP details.

    Please look for this line.

    var link			= $(this),
    post_container	= link.parents('.post-entry:eq(0)'),
    post_id			= "ID_" + post_container.data('ajax-id'),
    clickedIndex	= items.index(post_container);
    

    Replace it with:

    
    var post_container	= $(this),
    post_id			= "ID_" + post_container.data('ajax-id'),
    clickedIndex	= items.index(post_container);
    

    Best regards,
    Ismael

    #873563

    I sent you the ftp logins already…
    in which file can I find the code?

    #874002

    Hi,

    It’s in the same file. I’m sorry but I can’t find the FTP details in the thread. Please include the url.

    Best regards,
    Ismael

    #895300

    ftp logins

    #895602

    Hi,

    The FTP login details are not working. Please check it carefully. If you follow the previous suggestion properly, the whole portfolio box should be clickable.

    Best regards,
    Ismael

    #895622

    unfortunately this doesnt work, and it makes the ajax pop up not open but keep loading.
    I checked the FTP logins and they work at my end. Can you please retry?

    #895785

    Hi,

    FTP logins worked for me. I added following code to functions.php file of your child theme

    function wp_change_shortcodesjs() {
       wp_dequeue_script( 'avia-shortcodes' );
       wp_enqueue_script( 'avia-shortcodes-child', get_stylesheet_directory_uri().'/js/shortcodes.js', array('jquery'), 2, true );
    }
    add_action( 'wp_print_scripts', 'wp_change_shortcodesjs', 100 );

    and copied /js/shortcodes.js file into your child theme and applied the changes Ismael suggested. Please flush browser cache and review your website.

    Best regards,
    Yigit

    #896880

    thank you very much, that worked.

    #896970

    Hi,

    You are welcome!

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘make whole portfolio title box clickable’ is closed to new replies.