Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Portfolio Ajax Preview Issues #524430

    You can disregard my last comment. I remember that I disabled the lightbox on this page using peter’s technique at the bottom of this thread. I accidentally made the change to the parent enfold theme, not the child, so that is why it was consistently not working between themes.

    https://kriesi.at/support/topic/disable-lightbox-on-ajax-portfolio-featured-image-only/

    You need to replace following code in avia.js:

    $.avia_utilities.avia_ajax_call = function(container)
    {
    with

    $.avia_utilities.avia_ajax_call = function(container)
    {

    jQuery(‘.portfolio_preview_container .portfolio-preview-image’).find(‘img’).unwrap();
    Best regards,

    Peter

    I removed this and my original issue no longer exists. However, I do want the lightbox and image link to be disabled. Is there another way that won’t break the ajax preview?

    in reply to: Portfolio Ajax Preview Issues #524416

    If you are viewing on a desktop, you won’t notice the list mode because I put a max-height on the portfolio-details-inner div, so it is not noticeable, but the slideshow arrows are missing. You can see the “image list” if you size the browser does to mobile view.

    in reply to: Portfolio Ajax Preview Issues #523956

    Thank you Andy.
    The fix for screen jumping works for the desktop version, but I had to override it for mobile otherwise all the info will get cut off.

    The second fix did not work, I deactivated all plugins and reverted to the raw enfold theme, but the same problem persists. I do not have any caching plugins.

    please let me know if you have any other suggestions. Perhaps there is a way to shut off the looping so that the forward arrow stops working after the last slide? The problem occurs on the second viewing of each portfolio item.

    Thank you.

    in reply to: Isotope filtering + Magnific Popup #475327

    Hi Ismael,
    We modified the code a little and rebuilt the gallery using portfolio items that have defined custom links, linking to the image in the gallery….this is working great and once filtered, you can only click through the images in that portfolio category.

    However, the weird thing is that when the gallery first loads, and no sorting options have been clicked, the magnific pop-up looks correct with the avian/enfold theme css attached. But, when a sorting option is clicked, that css disappears and it defaults to the magnific css. Is there a reason the avian classes would be removed after sorting?

    in reply to: Custom Header for Portfolio Item pages using Advanced Layout #318668

    That works great, thank you. I am assuming that I can just create a similar function for before the footer

    function put_stuff_before_main_footer() {
    if(is_singular('portfolio')){	
    echo "pre-footer code here";
    }
    }
    
    add_action('ava_before_footer', 'put_stuff_before_main_footer');
    

    if I add something like this to the beginning of footer.php

    	<?php do_action('ava_before_footer'); ?>	
    

    Thanks again!

    in reply to: Custom Header for Portfolio Item pages using Advanced Layout #318661

    Thank you for your reply Josue and this is promising. It is not working as written above, however, if I remove portfolio, it works. Any ideas?

    function put_stuff_before_main_content() {
    if(is_single('')){	
    
Viewing 6 posts - 1 through 6 (of 6 total)