Home Forums ZookaStudio Themes Nito How to change lightbox ?

This topic contains 13 replies, has 3 voices, and was last updated by  Sen Do Thi 1 week, 4 days ago.

  • Author
    Posts
  • #2220

    Serge Tuillier
    Participant

    Hi
    i want to use another lightbox with a better plugin pro
    How can i disable fancybox?
    Thank-you
    Serge

  • #2280

    Sen Do Thi
    Keymaster

    Hi there

    So could you please clarify your question? We can not see what you mean.

    Your mean is want to disable lightbox or fancybox????? If you want to disable Fancybox, you have to custom code of theme and keep them when you update theme.

    Thank you!

  • #2301

    Serge Tuillier
    Participant

    Hi

    I want to disable the lightbox.

    Can you tell me which part of code to delete?

    Serge

  • #2348

    Sen Do Thi
    Keymaster

    Sorry we can only give support if bugs from our theme.If you want to customize code of theme, please do it by yourself.

    Thank you!

  • #2379

    Serge Tuillier
    Participant

    But how to replace the lightbox, i want to use a premium plugin.
    How to disable the crop function
    Pictures are croped automaticaly 🙁

    TROPIK

  • #2484

    Sen Do Thi
    Keymaster

    Hi Serge Tuillier

    Your mean is the images croped on single portfolio page?Please show me screenshot for details your question to i can help.

    Thank you!

  • #2517

    dzsombi
    Participant

    Hi Sen Do Thu,

    Nowadays mobile (and tablets) are used more than desktop application therefore we have to make our websites mobile friendly.

    I’m looking for a better lightbox solution that is tailored to mobile devices rather then desktop, because as you can see on the pic below on mobile doesn’t look good.

    Mobile: https://vgy.me/OIeesW.png

    Can you advice how can we change this with Nito?

    Thanks and regards,
    Zsombor

  • #2518

    Sen Do Thi
    Keymaster

    Hi

    We use prettyphoto for popup images in Nito theme,that is the right size for images on all devices screen to have the most obvious image. If you don’t want to that , you need to custom code of theme to remove it. Here is solution:

    Create child theme and add custom code to remove prettyphoto library for your site.

    Hope that helps!

  • #2519

    Serge Tuillier
    Participant

    What is the code to remove it please?

  • #2520

    Sen Do Thi
    Keymaster
  • #2526

    Serge Tuillier
    Participant

    Where is template-functions.php?
    Thank you

  • #2535

    Sen Do Thi
    Keymaster

    Hi there

    It in inc folder. If you want to custom code of NITO theme, you need to have the knowledge about PHP, HTML, CSS to do next custom. And keep them when you update theme. If you want i can work directly on your site and help you remove all popup images for your site. Please pay me 15$.

    Thank you!

  • #2571

    Serge Tuillier
    Participant

    Hi there
    I don’t want to remove like this…

    function remove_scripts(){
    wp_dequeue_script(‘prettyphoto’ );
    wp_deregister_script(‘prettyphoto’ );
    }

    add_action( ‘wp_enqueue_scripts’, ‘remove_scripts’, 100 );

    I want to use another plugin nicer
    Is it possible ?
    Serge

  • #2579

    Sen Do Thi
    Keymaster

    Hi

    You can try it by yourself.

    Thank you!

You must be logged in to reply to this topic.