-
AuthorPosts
-
November 18, 2016 at 4:31 pm #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 ØstergaardNovember 19, 2016 at 7:27 am #714284Hi 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,
RikardNovember 20, 2016 at 11:13 am #714454Hi,
I’m sorry, but that doesn’t work.
Best regards,
Helle ØstergaardNovember 21, 2016 at 10:09 pm #715025Hi,
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, 12 months ago by Yigit.
November 22, 2016 at 10:22 am #715190Hi,
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 ØstergaardNovember 22, 2016 at 12:08 pm #715232Hi,
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, 12 months ago by Yigit.
November 23, 2016 at 12:08 pm #715866Hi,
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,
HelleNovember 23, 2016 at 1:36 pm #715905Hi,
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, 12 months ago by Yigit.
November 23, 2016 at 3:58 pm #716004Hi,
I can’t do that in the WP admin, can I? I have to go to the server, right?
Best regards,
HelleNovember 23, 2016 at 4:34 pm #716034Hi,
Yes, you should do it via FTP or cPanel. Not possible from WordPress dashboard :)
Best regards,
YigitNovember 27, 2016 at 12:52 pm #717418Hi,
Thanks for your reply. It all works fin now.
Best regards,
Helle ØstergaardNovember 28, 2016 at 6:02 am #717567 -
AuthorPosts
- You must be logged in to reply to this topic.