Okay
  Public Ticket #2248455
ajax faill
Closed

Comments

  • adrian sanchez started the conversation

    Hello! First of all congratulate you on your templates, they are fantastic. However, I have a very big problem with the template, when activating the loading of pages through ajax, the CSS styles are not loading me. You can see how with ajax I get the error in https://pucseries.escalando.eu/ and how it works correctly without ajax loading activated at https://pucseries.com/.

    The main reason why I chose to buy your thema is for that load of pages, please I need a solution …

    On the other hand, the page I show you is for a climbing world champion. He is an important client and has proposed some suggestion to me, I would like to comment them through a more private channel. Would it be possible?

    Cheers!

  • adrian sanchez replied

    Sorry for the previous question, copy the public question I have on themeforest ...
    I need something else besides the error with ajax:

    -I need to know the selector of the description of the elements of the portfolio that come out in the home, the text that describes the projects that are above the title ... I need to adjust the line height.

    -I would like to know if it is possible that the white circle surrounding the cursor (#ball) only appears when the mouse is on top of an interactive element (videos, gallery, pop up images ...). It is an express request from my client.

    -How can you check here, putting several videos greatly slows the loading time of the page ... would it be possible to correct this point so that it loads less video or something similar when entering the page? https://pucseries.com/patxi-usobiaga/video/

    -And the main suggestion. Would it be possible for you to implement the possibility of choosing a different file for the header of the portfolio elements in mobile and pc versions? It would be great to be able to put a video adjusted to the vertical format of the devices since by putting the same cut the sides and most of the video is out ...

    As I told you, my client is a climbing world champion, and he is the best professional coach there is, he trains the best climbers in the world. If you could implement these suggestions that I make in some way, you would not mind giving your image to promote the template, in the examples section or something similar where you show the pages that are made with your templates.

    P.D: the ajax error is essential that you give me a solution ... best regards

  •  1,974
    Support replied

    Hello Adrian,

    if you are using WPBakery page builder for page editing we recommend using a child theme that you can find in the main archive and I attach it here for your convenience. It provides basic compatibility between AJAX page transitions and WPBakery elements rows , columns and their attributes.

    1. the selector for hero caption subtitle in the showcase page is

    #external-caption .slide-caption {
        position: absolute;
        left: 0;
        top: 0;
        font-size: 12px;
        line-height: 24px;
        color: #000;
        font-weight: 600;
        opacity: 0;
        overflow: hidden;
    }

    2. yes, it is possible, take the example of how the ball cursor changes over a movie. if you open /js/scripts.js you will see two event handlers for mousenter and mouseleave:

    $(".video-wrapper").mouseenter(function(e) {
    if ($(this).hasClass("play")) {
    $( "#ball" ).addClass("pause-movie")
    }
    TweenMax.to('#ball', 0.1,{transformOrigin: '15px 15px', borderWidth: '1px', scale: 2});
    $( "#ball" ).addClass("over-movie").append( '<i class="fa fa-play"></i><i class="fa fa-pause"></i>' );
    });

    $(".video-wrapper").mouseleave(function(e) {
    TweenMax.to('#ball', 0.1,{borderWidth: '2px', scale:1, x: -15, y: -15});
    $("#ball").removeClass("over-movie").removeClass("pause-movie");
    $('#ball i').remove();
    });

    the ideea when you mouse eneter over an element you add a class to it and then you display the cursor in CSS using the class

    for example you will hide the ball cursor by default:

    #ball {

       visibility: hidden;

    }

    and then you show it

    #ball.over-movie {

       visibility: visible;

    }

    3. my only advice here is to optimize the streaming by hosting your videos on a CDN or on a fast streaming server

    4. you can use a WordPress function wp_is_mobile

    https://developer.wordpress.org/reference/functions/wp_is_mobile/

    that will help you detect if the theme runs on desktop or mobile and then in /include/hero_properties.php you will set the url of the video you want to display on video or mobile

    you will add a new option in /include/metabox-config.php for the mobile video url and assign it in the above mentioned file like

    if( wp_is_mobile() ){

    $this->video_webm = grenada_get_post_meta( GRENADA_THEME_OPTIONS, get_the_ID(), 'grenada-opt-portfolio-mobile-video-webm' );
    $this->video_mp4 = grenada_get_post_meta( GRENADA_THEME_OPTIONS, get_the_ID(), 'grenada-opt-portfolio-mobile-video-mp4' );

    }

    else{

    $this->video_webm = grenada_get_post_meta( GRENADA_THEME_OPTIONS, get_the_ID(), 'grenada-opt-portfolio-video-webm' ); 

    $this->video_mp4 = grenada_get_post_meta( GRENADA_THEME_OPTIONS, get_the_ID(), 'grenada-opt-portfolio-video-mp4' );


    }



    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •   adrian sanchez replied privately
  •   Support replied privately
  • adrian sanchez replied

    You're kidding? Without the charge of ajax I do not want to use your template, I demand the return of my money or I will consider it a scam and I will report it as such. How do I process it??

  •  1,974
  • adrian sanchez replied

    I requested the refund, you approved it, 9 days ago. However I still get on the download page of envato and I have not received my money. what is the problem?

  •  1,974
    Support replied

    We have approve your refund request a while ago:

    https://d.pr/free/i/Zk5iL0

    Plz get in touch with Envato and check with them when the money will be deposited to your account. Plz also stop contacting us since we cannot do much for you from this point on.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • adrian sanchez replied

    Until I have my money I will contact the times I need it. regards

  •  1,974
    Support replied

    You can contact us as many time you want, however we can't help you much except advising you to contact envato. I hope it's clear.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  1,974
    Support replied

    You can also quote this 

    Refund request ID
    bfe32b91-705c-42d6-abde-44be165e3cf5

    when you are contacting them

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • adrian sanchez replied

    I can't find a way to contact them. What address do I have to write to?

  •  1,974