Viewing 30 results - 1,591 through 1,620 (of 7,502 total)
  • Author
    Search Results
  • #1199396

    In reply to: XML for pics

    Nathan Lahm
    Guest

    Issue number 2: I imported the demo correctly but seems that the images are not imported correctly. This is a common issue as you can see here https://www.google.com/search?client=firefox-b-d&q=enfold+not+importing+images and recommend you contact with the developer of the theme in order to solve it because he can provide you the images in order to uplod them to the server.

    #1199299

    Hi Jordan,

    The site/page is in a local folder, which means I unfortunately can’t provide you with a link to the site.

    I’ll try to elaborate the issue:
    – If i choose the Enfold predefined color scheme, the burgermenu is white by default – no matter which color scheme I choose.
    – I have tried to custom color the burger menu in ‘Advanced Styling’, where I chose the following items to customize; ‘Menu Item Button’ and ‘Main Menu Indicator’ (mainly just to see, if the page changed what so ever). To this I used the ‘Minimal White’ color scheme (predefined for Enfold) and then I customized the burgermenu to following HEX #30489e. Only the Search icon changes color. I have no trouble changing the color of the text within the burgermenu (parent and child menus). It’s the image/icon of the burgermenu that wont change color.

    I have not yet tried to fix it using Quick CSS, but I’ve searched for possible answers.

    Sincerely,
    Marika
    Digital Dogme

    #1198943
    Bruno
    Participant

    How can I change the text color in the SEARCH field to white and the color of the numbers in the circular icons in the result list?

    https://ibb.co/1KfM4YM

    I tried to change the color using the Enfold panel, but the change also affects the color of the paragraph text in the catalog

    http://www.brunocover.it/CMS/wordpress/trikego/?page_id=3129

    that must not change. I would like to be able to change ONLY the text in the search field and the color of the numbers in the circular icons of the search results list, as shown in the image.

    https://ibb.co/1KfM4YM

    Thanks a lot. best regards. Bruno

    #1198796

    Hey adxdigitalmarketing,
    Sorry for the late reply, find the loop-search.php in enfold/includes and make a copy of it and upload it to your child-theme subfolder “includes” such as: “enfold-child/includes”
    On line 33 look for:
    echo "<span class='search-result-counter {$counterclass}'>{$post_loop_count}</span>";
    and replace with:

    $searchthumb = get_the_post_thumbnail( $the_id, 'large' );
    echo "<span class='search-result-counter {$counterclass}'>{$searchthumb}</span>";

    The expected results:
    2020-03-29_061303.png

    Best regards,
    Mike

    #1198560

    Hey adxdigitalmarketing,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 1024px) {
      nav.main_menu, #menu-item-search {
        display: block !important;
      }
      .menu-item {
        display: none;
      }
      .av-burger-menu-main.menu-item-avia-special {
        display: block;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1198496
    eventplaner
    Participant

    i want the header looking like that:
    logo: left
    Menu (burger menu symbol and search symbol). right
    header widget (button): right

    The menu should be directly beside to the button in the header widget.

    I added a header widget and a button in it.
    I cannot find the right header CSS for this layout.
    I tried css from here: https://kriesi.at/documentation/enfold/header/
    Important: Also working responsive (no overlapping on mobile)

    Thanks, greets

    #1198209

    Hi,

    Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:

    #top #header_main_alternate {
        background-color: green;
    }
    
    #top #header .av-main-nav > li > a, #top #wrap_all #header #menu-item-search>a {
        background-color: green;
        border-color: green;
    }

    Best regards,
    Rikard

    #1198170
    ashley_carloni
    Participant

    I created a LayerSlider with a background video for my client’s Enfold website http://www.horizoneventgroup.com/

    The video is set to autoplay and has been functioning properly on mobile until a few days ago. I have found outdated support articles that claim that mobile browsers do not support autoplay, but my research shows that most of them now support autoplay if a video is muted, which mine is. Plus, I’ve seen it autoplay on my iPhone everyday until a few days ago.

    Thank you,

    Ashley

    Hi,
    I think the relevant section in my .htaccess file is:

    # Block the include-only files.
    RewriteEngine On
    RewriteBase /
    RewriteRule ^wp-admin/includes/ – [F,L]
    RewriteRule !^wp-includes/ – [S=3]
    RewriteRule ^wp-includes/[^/]+\.php$ – [F,L]
    RewriteRule ^wp-includes/js/tinymce/langs/.+\.php – [F,L]
    RewriteRule ^wp-includes/theme-compat/ – [F,L]

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    Options All -Indexes

    I added the blocking of includes files because I read somewhere else to explicitly block these. The last line ‘Options…’ was added as recommended in the link in this post: https://kriesi.at/support/topic/google-search-console-403-error-on-directory-wp-contentthemesenfoldframework-2/#post-1013166

    If I type in http://yoursitename.com/wp-includes/ then I get a Forbidden message. If I do the same for /wp-content/ or /wp-content/themes/ I get a blank screen with no messages. This may indicate a problem because the wpsuperstars page says I should get a 403 or 404 page.

    Ideas?

    Hi Magnus,

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

    @media only screen and (max-width: 767px) {
    #menu-item-search {
        line-height: 60px;
    }
    #header_main {
        padding-bottom: 20px;
    }
    }

    Best regards,
    Rikard

    #1197634

    Good afternoon! Please tell me how or where in this topic https://kriesi.at/themes/enfold-construction change the color of the bar where the menu and search is located,and also make the buttons a different color and not so rounded. Thanks!

    #1196896

    Hey John,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (max-width: 1200px) {
      nav.main_menu, #menu-item-search {
        display: block !important;
      }
      .menu-item {
        display: none;
      }
      .av-burger-menu-main.menu-item-avia-special {
        display: block;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1196406

    Hi Tflores87,

    Here is the code for the nav that you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    /* Header in sidebar to turn to burger on iPad 768px */
    @media only screen and (max-width: 990px) {
      
            .responsive #top .av_header_transparency.av_alternate_logo_active .logo a > img{opacity:1}
            .responsive #top .av_header_transparency .logo img.alternate{display:none;}
            
            .responsive #top #wrap_all #header {position: relative; width:100%; float:none; height:auto; margin:0 !important; opacity: 1; min-height:0;}
            .responsive #top #main {padding-top:0 !important; margin:0;} 
            .responsive #top #main .container_wrap:first-child{ border-top:none; }
            .responsive.html_header_top.html_logo_center .logo { left: 0%; -webkit-transform: translate(0%, 0); -ms-transform: translate(0%, 0); transform: translate(0%, 0); margin:0; }
            .responsive .phone-info{float:none; width:100%; clear:both; text-align: center;}
            .responsive .phone-info span{margin:0;padding:0; border:none;}
            .responsive.html_header_top #header_main .social_bookmarks ,
            .responsive.html_top_nav_header #top .social_bookmarks { width:auto; margin-top:-16px; } 
            
            .responsive #top .logo{position: static; display:table; height:80px !important; float:none; padding:0; border:none; width:80%; }
            .responsive .logo a{display:table-cell; vertical-align: middle;} 
            .responsive .logo img{height:auto !important; width:auto; max-width: 100%; display: block;  max-height: 80px;}
            .responsive #header_main .container{height:auto !important; }
            .responsive #top .header_bg { opacity: 1; filter: alpha(opacity=1); }
            .responsive.social_header .phone-info {text-align: center; float:none; clear:both; margin:0; padding:0;}
            .responsive.social_header .phone-info span{border:none; width:100%; text-align: center; float:none; clear:both; margin:0; padding:0;}
            .responsive #header_meta .social_bookmarks li{ border-style:solid; border-width:1px; margin-bottom:-1px; margin-left:-1px;}
            .responsive #top #header_meta .social_bookmarks li:last-child{border-right-style: solid; border-right-width:  1px;}
            .responsive #header .sub_menu, .responsive #header_meta .sub_menu>ul{float:none; width:100%; text-align: center; margin:0 auto; position: static;}
            .responsive #header .social_bookmarks{padding-bottom:2px; width:100%; text-align: center; height:auto; line-height: 0.8em; margin:0;}
            .responsive #header_meta .sub_menu>ul>li{float:none; display: inline-block; padding: 0 10px;}
            .responsive #header .social_bookmarks li{float:none; display: inline-block;}  
            .responsive.bottom_nav_header #header_main .social_bookmarks{ position: relative; top: 0; right: 0; margin: 10px auto; clear:both;}
            .responsive.bottom_nav_header.social_header .main_menu>div{height:auto;}
            .responsive .logo img{margin:0;}
            .responsive.html_header_sidebar #top #header .social_bookmarks{display:none;}
            .responsive body.boxed#top, .responsive.html_boxed.html_header_sticky #top #header{max-width: 100%;}  
            
            .responsive.html_header_transparency #top .avia-builder-el-0 .container, .responsive.html_header_transparency #top .avia-builder-el-0 .slideshow_inner_caption{padding-top:0;}
            .responsive #top .av_phone_active_right .phone-info.with_nav span{border:none;}
            
            .responsive #top #wrap_all .av_header_transparency .main_menu ul:first-child > li > a, 
            .responsive #top #wrap_all .av_header_transparency .sub_menu > ul > li > a, 
            .responsive #top .av_header_transparency #header_main_alternate, 
            .responsive .av_header_transparency #header_main .social_bookmarks li a,
            .responsive #top #wrap_all .av_header_transparency .phone-info.with_nav span,
            .responsive #top .av_header_transparency #header_meta, 
            .responsive #top .av_header_transparency #header_meta li,
            .responsive #top #header_meta .social_bookmarks li a{ color:inherit; border-color: inherit; background: inherit;}
            .responsive.html_top_nav_header .av-logo-container{height:auto;} 
            .responsive.html_top_nav_header .av-section-bottom-logo{border-bottom-style: solid; border-bottom-width: 1px;}
            
            
          /*new mobile*/
            .responsive .av-burger-menu-main{display: block;}
            .responsive #top #wrap_all .main_menu{top:0; height:80px; left:auto; right:0; display: block; position: absolute;}
            .responsive .main_menu ul:first-child > li a { height: 80px; line-height: 80px;}
            .responsive #top .av-main-nav .menu-item{display:none;}
            .responsive #top .av-main-nav .menu-item-avia-special{display:block;}
            .responsive #top #wrap_all .menu-item-search-dropdown > a { font-size: 24px; }
            .responsive #header_main_alternate{display:none;}
            .responsive #top #header .social_bookmarks{display:none;}
            .responsive #top #header .main_menu .social_bookmarks{display:block; position: relative; margin-top: -15px;}
            .responsive #top .av-logo-container .avia-menu{height:100%;}
            .responsive #top .av-logo-container .avia-menu > li > a{line-height: 80px;}
            .responsive #top #main .av-logo-container .main_menu{display:block;}
            .responsive #top #main .av-logo-container .social_bookmarks{display:none;}
            .responsive #top #main .av-logo-container .main_menu .social_bookmarks{display:block; position: relative;}
            .responsive #top #main .av-logo-container .main_menu{display:block;}
            .responsive #top #header_main > .container .main_menu  .av-main-nav > li > a,
            .responsive #top #wrap_all .av-logo-container {height:80px; line-height:80px; }
            .responsive #top #wrap_all .av-logo-container {padding:0;}
            .responsive #top #header_main > .container .main_menu  .av-main-nav > li > a{
                min-width: 0; padding:0 0 0 20px; margin:0; border-style: none; border-width: 0;
            }
            .responsive #top .av_seperator_big_border .avia-menu.av_menu_icon_beside{border-right-style: solid; border-right-width: 1px; padding-right: 25px;}
            .responsive #top #header .av-main-nav > li > a, .responsive #top #header .av-main-nav > li > a:hover{
            background:transparent;
            color: inherit;
            }
            
            .responsive.html_top_nav_header .av-logo-container .inner-container{overflow: visible;}
            .html_header_sidebar #header .container {
              width: 90%;
            }
    
    }
    
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1196402

    and it has to be the Layerslider? Would an Enfold Slider ( full-width f.e. ) also be possible?
    don’t know why layerslider shortcode does not work with this method?

    for example a full-width slider and a following color-section.
    style a page as you like to have the content.
    copy that enfold shortcode and insert it in a hook via do_shortcode

    see here the result: https://webers-testseite.de/kontakt/
    the pagetitle is inserted dynamically by that break in the code: ".get_the_title()."
    You see that even the first color-section on that page gets the right index as #av_section_2

    the basic is:

    add_action('ava_after_main_title', function() {
        echo do_shortcode("[the-copied-shortcode-from-debug-mode]"); 
    });

    the if clause can handle all you like f.e.
    if( is_single()||is_singular( 'event' )||is_search()||is_category()||is_page()|| is_singular( 'portfolio' )){

    #1195380

    I installed the Enfold Market Plugin on the original site and it says now:

    Incorrect token permissions, please generate another token or fix the permissions on the existing token.

    Please ensure only the following permissions are enabled:

    View and search Envato sites
    Download your purchased items
    List purchases you’ve made
    Diese Meldung ausblenden.
    Additional Error Details:
    Found too many permissions on token..
    sale:verify
    []

    Is that the cause for our update problem? How can I fix that?

    #1194258
    clellis
    Participant

    I’ve searched the forum and experimented with loads of elements but just can’t figure out how you get the main home page image with bits of text floating in.

    Like in these two demos;
    https://kriesi.at/themes/enfold-wedding/ – different fonts
    https://kriesi.at/themes/enfold-construction/ – moving text

    I’ve only used the image with caption which doesn’t allow the use of different fonts and sizes.

    tx

    marcusss
    Participant

    Hi,

    I have searched the forum but could not found my specific problem.

    When I go to fontello.com and download a fontelico font zip, I import it and it shows up in icon list in avia builder.

    However, when I do the same with a fontawesome font, it shows an empty square in icon list in avia builder.

    When I mix bot fonts in a zip and import, the newly added list will show some working fonts ( fontelico items ) and some empty squares ( fontawesome items )

    Any idea how to fix this ?

    Thanks

    Hello Mike!
    Mny thanks for your help.
    well done, 2 Js Errors are solved,
    – but with these changes, now appears this Js error:
    Uncaught TypeError: t.AviaTooltip is not a constructor
    at HTMLDocument.<anonymous> (avia-footer-scripts-1bc06c48412e8e2b10d52187e577b9ed—5e70b61ec198e.js:2)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.add [as done] (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.n.fn.ready (jquery.js?ver=1.12.4-wp:2)
    at avia-footer-scripts-1bc06c48412e8e2b10d52187e577b9ed—5e70b61ec198e.js:1
    at avia-footer-scripts-1bc06c48412e8e2b10d52187e577b9ed—5e70b61ec198e.js:29
    —–
    I saw that you had already put the correct settings in autooptimize and Asynk Javascript,
    By changing those settings, I have activated the optimization of the javascript code from enfold-child Joining Javascript files and compression, to always have optimized javascript.
    then I noticed that the lazy load of the images no longer worked and I activated it in Autoptimize. But I have to exclude masonry galleries from slow loading (they don’t work with lazy load) and I can’t find the exact name to be included in Autooptimize exclusions. Maybe you can enter it?

    So far I think all is well (although I prefer your confirmation :-))
    I did a tour on the site and ajax recearch no longer works well, not from the previews on the same page; I’d like to avoid sending visitors to the search page, because there would be too many slow queries.
    Best regards,
    S.

    Jo
    Participant

    How do I change the font family for the headings h1 and h2 for a specific single page (e.g. the imprint).
    I am now working more intensively on Enfold and CSS, but all my research and attempts have so far failed.
    I guess it’s easy?

    Thanks for your help!
    Best regards,
    Joachim

    Hey Enfoldfanatic,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top .av_ajax_search_entry.av_ajax_search_entry_view_all {
      display: none;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1192738

    We had a similar issue running the newest enfold theme. We also saw very big php error log files with the same error. We fixed it by disabling a caching plugin. The problem went away. I hope this helps anyone searching in the future since it took me a day of searching to figure it out.

    avia-head-scripts errors, innodb_log_file_size, php error log full

    #1192639

    What does the code above do:
    the register-admin-options.php rules the outlook of our enfold options page.
    every tab has its own slug ( avia, layout, styling … header … etc.)
    now the slug is searched (in this case: header) and it looks for a given ID – (in this case: header_replacement_logo)
    if this is found the whole avia_elements is splittet at that point – the new arrays are inserted – and then the rest will be addad afterwards ( Kind of CRISPR for jQuery)
    if the ID could not be found – the new array will be inserted as last elements in the slug
    The new elements are only input fields for alt and title attribute.
    And because the id’s are used ( see code here ) they were inserted in the frontend
    _______

    For Main Logo

    aha it is function-set-avia-frontend.php – and the alt is set to the bloginfo name there is a filter for it but on title it is missing there
    Edit : No the filter allready exist – but was on a different place!

    we can influence the logo by this:

    function avf_change_logo_alt($alt) {
       $alt = "New Alternate Text Here";
       return $alt;     
    }
    add_filter('avf_logo_alt', 'avf_change_logo_alt');
    
    function avf_change_logo_title($title) {
       $title = "The new Title is here";
       return $title;     
    }
    add_filter('avf_logo_title', 'avf_change_logo_title');

    If I should make a decision, I would either go for this manual input solution via register-admin-options.php – or for a filter solution for both logos.
    So the attachment alt and title attributes can be used in content – but in this position as logo – we can input a unique text

    #1192543
    Eva_Lutions
    Participant

    Hello,
    sorry, I hope you can help me with the page that opens for the “search” results. The header is blue, also the font colour.
    I tried to change it in Enfold settings (Alternate Content etc). But it’s not possible to set a white space above with transparent header or to create a white header. Where can I style this page (same header as other pages), please?
    Thank you a lot! Best regards, Eva.

    #1192430

    open your Enfold 4.7.3 functions-enfold.php with a good text-editor ( be aware there is in parent enfold folder a functions.php and functions-enfold.php )
    ( for Mac OS X f.e. sublime-text or on Windows notepad++ )
    find
    /* AJAX SEARCH */ … rules what you like to influence.
    you can replace functions-enfold.php in your parent theme by an edited one – but then the next update will overwrite these changes.

    That is the great benefit of a child-theme. And – as I mentioned above – these pluggable functions can be replaced by a copy of the content in between.

    on line 246ff there is:

    if(!function_exists('avia_ajax_search')) {
    …
    }

    so everything in between this wrapping if clause can be copied and transfered to your child-theme functions.php
    on the next update of the parent theme, this will not be lost.

    The disadvantage is that any changes within this function (in your example it is avia_ajax_search ) are not reflected in the update of the parent theme.

    The best would certainly be if there was a hook or filter that you could apply to the content here.
    But this must always be already implemented in the theme to be able to use it in the child theme.

    See here for example the usage of some existing filters to influence search:
    https://kriesi.at/documentation/enfold/search/

    Unfortunately I don’t see ( maybe one of the Mods or Devs ) if you can add the Comment Counts in an easier way. But as you see in my example playground that it works this way.

    #1192404

    so it is not so easy but because on functions-enfold.php the ajax search function is a “pluggable function” you can have here a child-theme solution. Otherwise you had to have a complete functions-enfold.php in your child.
    Every function surrounded by:

     if(!function_exists('…')){
    …
    }

    can be substituted by child-theme function with same name! – because child-theme functions are loaded first – when it comes to the function with the same name in parent theme it does not load the parent function ( because of the if not exists clause)

    i have edited that function (on base of enfold 4.7.3) and you can copy & paste that part to your child-theme functions.php

    add_action( 'wp_ajax_avia_ajax_search', 'avia_ajax_search' );
    add_action( 'wp_ajax_nopriv_avia_ajax_search', 'avia_ajax_search' );
    
    function avia_ajax_search()
    {
        global $avia_config;
    	
        unset($_REQUEST['action']);
        if(empty($_REQUEST['s'])) $_REQUEST['s'] = array_shift(array_values($_REQUEST));
    	if(empty($_REQUEST['s'])) die();
    
        $defaults = array('numberposts' => 5, 'post_type' => 'any', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false, 'results_hide_fields' => '');
    
        $_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s']);
    
        $search_parameters 	= array_merge($defaults, $_REQUEST);
    
        if ( $search_parameters['results_hide_fields'] !== '' ) {
            $search_parameters['results_hide_fields'] = explode(',', $_REQUEST['results_hide_fields']);
        }
        else {
            $search_parameters['results_hide_fields'] = array();
        }
    
        $search_query 		= apply_filters('avf_ajax_search_query', http_build_query($search_parameters));
        $query_function     = apply_filters('avf_ajax_search_function', 'get_posts', $search_query, $search_parameters, $defaults);
        $posts		= (($query_function == 'get_posts') || !function_exists($query_function))  ? get_posts($search_query) : $query_function($search_query, $search_parameters, $defaults);
    
        $search_messages = array(
                'no_criteria_matched' => __("Sorry, no posts matched your criteria", 'avia_framework'),
                'another_search_term' => __("Please try another search term", 'avia_framework'),
                'time_format'         => get_option('date_format'),
                'all_results_query'   => http_build_query($_REQUEST),
                'all_results_link'    => home_url('?' . http_build_query($_REQUEST)),
                'view_all_results'    => __('View all results','avia_framework')
            );
    	
        $search_messages = apply_filters('avf_ajax_search_messages', $search_messages, $search_query);
    	
        if(empty($posts))
        {
            $output  = "<span class='av_ajax_search_entry ajax_not_found'>";
            $output .= "<span class='av_ajax_search_image ".av_icon_string('info')."'>";
            $output .= "</span>";
            $output .= "<span class='av_ajax_search_content'>";
            $output .= "<span class='av_ajax_search_title'>";
            $output .= $search_messages['no_criteria_matched'];
            $output .= "</span>";
            $output .= "<span class='ajax_search_excerpt'>";
            $output .= $search_messages['another_search_term'];
            $output .= "</span>";
            $output .= "</span>";
            $output .= "</span>";
            echo $output;
            die();
        }
    
        //if we got posts resort them by post type
        $output = "";
        $sorted = array();
        $post_type_obj = array();
        foreach($posts as $post)
        {
            $sorted[$post->post_type][] = $post;
            if(empty($post_type_obj[$post->post_type]))
            {
                $post_type_obj[$post->post_type] = get_post_type_object($post->post_type);
            }
        }
    
        //now we got everything we need to preapre the output
        foreach($sorted as $key => $post_type)
        {
    
            // check if post titles are in the hidden fields list
            if ( ! in_array('post_titles', $search_parameters['results_hide_fields'] ) )
            {
                if(isset($post_type_obj[$key]->labels->name))
                {
                    $label = apply_filters('avf_ajax_search_label_names', $post_type_obj[$key]->labels->name);
                    $output .= "<h4>".$label."</h4>";
                }
                else
                {
                    $output .= "<hr />";
                }
            }
    
            foreach($post_type as $post) {
    
                $image = "";
                $extra_class = "";
    
                // check if image is in the hidden fields list
                if (!in_array('image', $search_parameters['results_hide_fields']))
                {
                    $image = get_the_post_thumbnail($post->ID, 'thumbnail');
                    $extra_class = $image ? "with_image" : "";
                    $post_type = $image ? "" : ( get_post_format($post->ID) != "" ? get_post_format($post->ID) : "standard" );
                    $iconfont = $image ? "" : av_icon_string($post_type);
    
                }
    
                $excerpt     	= "";
    
                // two new lines here
                $the_id 		= $post->ID;
    			$commentCount 	= get_comments_number($the_id);
    
                // check if post meta fields are in the hidden fields list
                if ( ! in_array('meta', $search_parameters['results_hide_fields'] ) )
                {
                    if(!empty($post->post_excerpt))
                    {
                        $excerpt =  apply_filters( 'avf_ajax_search_excerpt', avia_backend_truncate($post->post_excerpt,70," ","...", true, '', true) );
                        
                        $excerpt .= "<br class='linebreak'/><span>".get_the_time( $search_messages['time_format'], $post->ID )."</span>";
                        
                        if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio')
    					{
    						$link_add = $commentCount === "0" ? "#respond" : "#comments";
    						$text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' );
    
    						$excerpt .= "<span class='sep'>&nbsp;/&nbsp;</span><span>{$commentCount} {$text_add}</span>";
    					}
                    }
                    else
                    {
                        $excerpt = apply_filters( 'avf_ajax_search_no_excerpt', get_the_time( $search_messages['time_format'], $post->ID ), $post );
    
                        if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio')
    					{
    						$link_add = $commentCount === "0" ? "#respond" : "#comments";
    						$text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' );
    
    						$excerpt .= "<span class='sep'>&nbsp;/&nbsp;</span><span>{$commentCount} {$text_add}</span>";
    					}
                    }
                }
    
                $link = apply_filters('av_custom_url', get_permalink($post->ID), $post);
    
                $output .= "<a class ='av_ajax_search_entry {$extra_class}' href='".$link."'>";
    
                if ($image !== "" || $iconfont) {
                    $output .= "<span class='av_ajax_search_image' {$iconfont}>";
                    $output .= $image;
                    $output .= "</span>";
                }
                $output .= "<span class='av_ajax_search_content'>";
                $output .= "    <span class='av_ajax_search_title'>";
                $output .=      get_the_title($post->ID);
                $output .= "    </span>";
                if ($excerpt !== '') {
                    $output .= "    <span class='ajax_search_excerpt'>";
                    $output .=      $excerpt;
                    $output .= "    </span>";
                }
                $output .= "</span>";
                $output .= "</a>";
            }
        }
    
        $output .= "<a class='av_ajax_search_entry av_ajax_search_entry_view_all' href='".$search_messages['all_results_link']."'>".$search_messages['view_all_results']."</a>";
    
        echo $output;
        die();
    }

    because there was a css rule in enfold that sets the breaks in ajax search to display:none
    you had to put this in additon to quick css

    
    #top #searchform br.linebreak {
        display: block;
    }

    you can test it here on my playground – put in search : buttons
    https://webers-testseite.de/

    #1192281

    Hey,

    Thanks for contacting us!

    I searched your email in our database however it was not found. Could you please post your purchase code here privately so we can reset your forum account?

    In case you have not registered to our support forum using your purchase code, you can do so here – https://kriesi.at/support/register/ and after logging in, you can start new threads under Enfold sub forum – https://kriesi.at/support/forum/enfold#new-post :)

    Best regards,
    Yigit

    #1192104
    Costa
    Guest

    Thanks Victoria, well noted.

    This site is using FacetWP for the search boxes and FacetWP includes built-in support for Advanced Custom Fields.
    So, apparently, they created their listings with ACF.

    I see in code source many mentionas of “enfold/config-templatebuilder/avia-shortcodes/portfolio”.
    Does that mean that they are also using one of your portfolio demos?
    Can you say which of your demos they are using please?

    Thanks!

    #1192075

    Topic: Resize submenu

    in forum Enfold
    Bruno
    Participant

    I am using this css (from https://kriesi.at/support/topic/submenu-width-3/#post-1192071 on post by Elliott

    .av-main-nav ul { width: 140px !important; }

    to resize the two submenus in http://www.brunocover.it/CMS/wordpress/trikego/

    the post is dated 2015, it seems to work. Could there be a more updated solution? is it possible from the Enfold Child Theme Options panel? I tried to change the default settings in Enfold Child Theme options \ Main menu \ Flyout width but nothing changed https://ibb.co/sHFxdfv

    I searched the forum and found the css solution:

    .av-main-nav ul { width: 140px !important; }

    Is this css the ideal solution? Thanks a lot. Best regards. Bruno

    #1191769

    Hi, I too would like to hide the same “av_ajax_search_entry.av_ajax_search_entry_view_all” button to avoid redirection to the search results page.
    I tried both of the above codes, I tried to insert also in the “custom css” file in enfold, but without result.
    Have you found a way to hide it?

    Best reguards,
    S.

    #1191429

    Hey 4Guys Autobarn,
    When I check your site I see the error:

    Uncaught TypeError: Cannot read property 'insertBefore' of null at a.yepnope.injectJs modernizr.min.js

    and:

    Search engine failed to load. Refresh page or try again. Cause: Run is not defined

    I recommend ensuring that Enfold Theme Options > Performance > Load jQuery in your footer in not enabled and that no other caching or minifying plugins are loading your jQuery in the footer.
    Otherwise, it looks like a issue with your script.

    Best regards,
    Mike

Viewing 30 results - 1,591 through 1,620 (of 7,502 total)