Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #714093

    Hello,

    It’s regarding this site: http://www.myredbag.dk/produkt-kategori/punge/kortholder
    Is it possible to hide “Feel like browsing some posts instead?” and the three categories beneath?

    Best regards,
    Helle Østergaard

    #714284

    Hi Helle,

    Please try the following in Quick CSS under Enfold->General Styling:

    .404_recommendation .widget avia_combo_widget, .404_recommendation h3 {
      display:none !important;
    }

    Best regards,
    Rikard

    #714454

    Hi,

    I’m sorry, but that doesn’t work.

    Best regards,
    Helle Østergaard

    #715025

    Hi,

    Please go to enfold/includes/error404.php file and find following code and remove it

    <div class='hr_invisible'></div>
    
    <section class="404_recommendation">
        <p><?php _e('For best search results, mind the following suggestions:', 'avia_framework'); ?></p>
        <ul class='borderlist-not'>
            <li><?php _e('Always double check your spelling.', 'avia_framework'); ?></li>
            <li><?php _e('Try similar keywords, for example: tablet instead of laptop.', 'avia_framework'); ?></li>
            <li><?php _e('Try using more than one keyword.', 'avia_framework'); ?></li>
        </ul>
    
        <div class='hr_invisible'></div>
    
        <h3 class=''><?php _e('Feel like browsing some posts instead?', 'avia_framework'); ?></h3>
    
        <?php
        the_widget('avia_combo_widget', 'error404widget', array('widget_id'=>'404',
                'before_widget' => '<div class="widget avia_combo_widget">',
                'after_widget' => '</div>',
                'before_title' => '<h3 class="widgettitle">',
                'after_title' => '</h3>'
            ));
            
        do_action('ava_after_content', '', 'error404');
        ?>
    </section>

    Best regards,
    Yigit

    • This reply was modified 7 years, 5 months ago by Yigit.
    #715190

    Hi,

    Thanks for your reply.

    It works fin here: http://www.myredbag.dk/produkt-kategori/punge/kortholder, but it doesn’t work here: http://www.myredbag.dk/?s=leder
    And what would happen when there is an update to the theme? Will that overwrite my changes?

    Best regards,
    Helle Østergaard

    #715232

    Hi,

    Please go to enfold/includes/loop-search.php file, find following and remove it

                <div class='hr_invisible'></div>
    
                <section class="search_not_found">
                    <p><?php _e('You might want to consider some of our suggestions to get better results:', 'avia_framework'); ?></p>
                    <ul>
                        <li><?php _e('Check your spelling.', 'avia_framework'); ?></li>
                        <li><?php _e('Try a similar keyword, for example: tablet instead of laptop.', 'avia_framework'); ?></li>
                        <li><?php _e('Try using more than one keyword.', 'avia_framework'); ?></li>
                    </ul>
    
                    <div class='hr_invisible'></div>
                    <h3 class=''><?php _e('Feel like browsing some posts instead?', 'avia_framework'); ?></h3>
    
            <?php
            the_widget('avia_combo_widget', 'error404widget', array('widget_id'=>'arbitrary-instance-'.$id,
                    'before_widget' => '<div class="widget avia_combo_widget">',
                    'after_widget' => '</div>',
                    'before_title' => '<h3 class="widgettitle">',
                    'after_title' => '</h3>'
                ));
            echo '</section>';
    	echo "</article>";
    
    	endif;
    	echo avia_pagination('', 'nav');
    ?>

    Yes, they will be overwritten. Please use a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ to avoid applying the changes each time you update the theme.

    Best regards,
    Yigit

    • This reply was modified 7 years, 5 months ago by Yigit.
    #715866

    Hi,

    Now I have installed a Child theme. How can I make or copy the files loop-search.php and error404.php in the Child theme, so I can edit them?

    Best regards,
    Helle

    #715905

    Hi,

    You can simply create a “includes” folder inside your child theme and copy modified files inside it :)

    Best regards,
    Yigit

    • This reply was modified 7 years, 5 months ago by Yigit.
    #716004

    Hi,

    I can’t do that in the WP admin, can I? I have to go to the server, right?

    Best regards,
    Helle

    #716034

    Hi,

    Yes, you should do it via FTP or cPanel. Not possible from WordPress dashboard :)

    Best regards,
    Yigit

    #717418

    Hi,

    Thanks for your reply. It all works fin now.

    Best regards,
    Helle Østergaard

    #717567

    Hi,

    Great, glad you got it working :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.