Check out the latest update of Archi version!

  Public Ticket #1238004
OT Parallax object


  • gregocallaghan started the conversation


    I just purchased Archi theme and have started building my site (

    On the home page, I want to create a parallax logo with text slider underneath, I am using the “OT Home Parallax 2” object. The space between the logo (KOOMO) and the text slider is very big, and I cannot get it smaller.

    How do I reduce the space between the logo image and the text slider?



  •  514
    Ocean replied


    Please send your link website for check and help.

    I can't access this website:

    You have block my ip or my country?

    Thank you

  • gregocallaghan replied

    I dont know why you can't access it... I haven't blocked any IP or country..

    See screenshot attached. I want the space between the "KOOMO" logo and the text slider "spreading trail stoke" to be smaller.

    Thanks for your help.

    Attached files:  example.jpg

  •  514
    Ocean replied


    I have now seen your site, please send your wp admin account for check and help.

    I have a solution for your issue, replace this code in your shortcode.php file with path: wp-content/themes/archi/shortcode.php

    // Home Parallax 2 - use for Home Minimal
    add_shortcode('home_parallax2', 'home_parallax2_func');
    function home_parallax2_func($atts, $content = null){
            'logo'      =>  '',    
            'btnlink'    =>  '',    
            'titles' => ''
        ), $atts));    
            $url_image = wp_get_attachment_image_src($logo, ''); 
            $image_src = $url_image[0];
            $titles = (array) vc_param_group_parse_atts( $titles );
        <div class="<?php if($logo != ''){ echo 'vertical-align'; }else{ echo 'center-y'; } ?> text-center">
            <?php if ($logo != '') { ?>
                <div class="banner-logo text-center">
                    <img src="<?php echo esc_url($image_src); ?>" alt="<?php echo get_bloginfo( 'name' ); ?>">
            <?php } ?-->
            <div class="spacer-double"></div>
            <div class="text-slider border-deco">
                    foreach ( $titles as $data ) {
                        $data['title'] = isset( $data['title'] ) ? $data['title'] : '';
                    <div class="text-item"><h1 class="title-2"><!--?php echo htmlspecialchars_decode($data['title']); ?--></h1></div>    
                <!--?php } ?-->
            <div class="spacer-double"></div>
            <div class="spacer-double"></div>
        <!--?php if($btnlink != ''){ ?-->
            <a href="<?php echo esc_url($btnlink); ?>" class="scroll-to">
                <span class="mouse">
                    <span class="scroll"></span>
        <!--?php } ?-->
        return ob_get_clean();

    Thank you

  •   gregocallaghan replied privately
  •  514
    Ocean replied


    Please check your website, I have edit code in shortcode.php for you.

    Thank you