Check out the latest update of Archi version 3.5.5.0!

Okay
  Public Ticket #1238004
OT Parallax object
Closed

Comments

  • gregocallaghan started the conversation

    Hello,

    I just purchased Archi theme and have started building my site (www.koomorun.com).

    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?

    Thanks.

    Greg

  •  468
    Ocean replied

    Hello,

    Please send your link website for check and help.

    I can't access this website: www.koomorun.com

    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

  •  468
    Ocean replied

    Hello,

    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){
        extract(shortcode_atts(array(
            '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 );
        ob_start(); 
    ?>    
        
        <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' ); ?>">
                </div>
            <?php } ?-->
            <div class="spacer-double"></div>
            <div class="text-slider border-deco">
                
                <!--?php 
                    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>
            <div class="spacer-double"></div>
            <div class="spacer-double"></div>
        </div>
        <!--?php if($btnlink != ''){ ?-->
            <a href="<?php echo esc_url($btnlink); ?>" class="scroll-to">
                <span class="mouse">
                    <span class="scroll"></span>
                </span>
            </a>
        <!--?php } ?-->
       
    <!--?php
        return ob_get_clean();
    }-->
    

    Thank you

  •   gregocallaghan replied privately
  •  468
    Ocean replied

    Hello,

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

    Thank you