Forum Replies Created

Viewing 30 posts - 22,561 through 22,590 (of 66,033 total)
  • Author
    Posts
  • in reply to: How to change related post style to grid #1085202

    Hi,

    Just place the heading markup above the previous code that was just added.

    global $post;
    

    Something like this should work.

    echo "<h3>Related posts<h3>";
    

    Best regards,
    Ismael

    in reply to: Menu – two things #1085201

    Hi,

    Thanks for the update.

    You can use this css code to display the menu text.

    .av-hamburger strong {
        display: block;
        position: absolute;
        left: -50px;
        top: -77px;
    }

    Best regards,
    Ismael

    in reply to: Instagram Widget Problems … #1085199

    Hi,

    The latest version is 4.5.5. You may need to update the theme manually this time.

    // https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp

    We’ll close the thread for now because it’s getting a bit too lengthy. Please open a new one if the issue is not resolved after the update.

    Best regards,
    Ismael

    in reply to: Header on site marked with "noindex" #1085197

    Hi,

    Thanks for the update.

    Try to use this filter in the functions.php file:

    
    if(!function_exists('avia_woocommerce_set_follow'))
    {
        function avia_woocommerce_set_follow($meta)
        {
            if( is_product_category() || is_shop() ) {
                $meta = '<meta name="robots" content="index, follow" />' . "\n";
            }
            return $meta;
        }
    
        add_filter('avf_set_follow','avia_woocommerce_set_follow', 10, 1);
    }
    
    

    The snippet should set the product category and shop pages robots meta to index, follow.

    Best regards,
    Ismael

    • This reply was modified 6 years, 3 months ago by Ismael.

    Hi,

    Thank you for using Enfold.

    You can adjust the size of the logo for smaller screens to create more room for the language switcher.

    @media only screen and (max-width: 480px) {
    .responsive .logo a img {
        height: 35px !important;
        top: 5px;
    }
    }

    Best regards,
    Ismael

    in reply to: Contact form email, disable cookie answer #1085195

    Hi,

    Thanks for the update.

    Is that the exact text in the message? Try to use this filter in the functions.php file.

    function avf_form_message_mod($message) {
        $excludes = array( "Ich stimme der Speicherung meiner Daten zur weiteren Verarbeitung, gemäß der Datenschutzerklärung, zu.: true", "Remove this" );
        foreach( $excludes as $remove ) {
            $message = str_replace( $remove, '', $message );
        }
    
        return $message;
    }
    add_filter('avf_form_message', 'avf_form_message_mod', 10, 1);
    

    That should remove the text.

    Best regards,
    Ismael

    in reply to: Replace 'related posts' on single blog posts… #1085193

    Hey Bozzy78,

    Thank you for using Enfold.

    How did you modify the file? Try to edit the single.php file. Look for the following code.

    //show related posts based on tags if there are any
    	                        get_template_part( 'includes/related-posts');
    

    And then replace it with:

    $post = get_post( 23 ); // id of the custom related posts page
    
    			if( ( $post instanceof WP_Post ) && ( $post->ID != get_the_ID() ) )
    			{
    				/**
    				 * Make sure that footerpage is set to fullwidth
    				 */
    				$old_avia_config = $avia_config;
    
    				$avia_config['layout']['current'] = array(
    											'content'	=> 'av-content-full alpha', 
    											'sidebar'	=> 'hidden', 
    											'meta'		=> '', 
    											'entry'		=> '',
    											'main'		=> 'fullsize'
    										);    
    
    				$builder_stat = ( 'active' == Avia_Builder()->get_alb_builder_status( $post->ID ) );
    				$avia_config['conditionals']['is_builder'] = $builder_stat;
    				$avia_config['conditionals']['is_builder_template'] = $builder_stat;
    
    				$content = Avia_Builder()->compile_post_content( $post );
    
    				$avia_config = $old_avia_config;
    
    				/* was removed in 4.2.7 before rollout - should not break the output - can be removed completly when no errors are reported !
    				 *
    <div class='container_wrap footer_color footer-page-content' id='footer'>
    				 */
    				echo $content;
    			}
    

    Replace the value of the get_post function inside the $post with the ID of your custom related posts page.

    Best regards,
    Ismael

    Hi,

    Try to set the bottom position value of the avia-menu-fx container to 13px.

     bottom: 13px;
    

    And pull the sub menu container upwards using this css code.

    .av-main-nav ul {
        margin-top: -15px;
    }

    Best regards,
    Ismael

    in reply to: Featured Image -Posts #1085183

    Hi,

    Awesome! Glad it worked. Please don’t hesitate to open a new thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Google Maps Error on Individual Event Page #1085181

    Hi,

    Thank you for the update.

    You have to setup the map API key for the plugin separately.

    // https://support.theeventscalendar.com/362858-Setting-Up-Your-Google-Maps-API-Key

    Best regards,
    Ismael

    in reply to: How to see HTML of Avia laout Builder #1085179

    Hi,

    Great. Let us know if you need anything else. Have a nice day.

    Best regards,
    Ismael

    Hi,

    Thank you for using Enfold.

    You can actually disable the block editor from the theme options. Look for the Enfold > Theme Options > Select Your Editor settings. Choose the second option to disable the Gutenberg editor.

    Best regards,
    Ismael

    in reply to: Enfold 4.5.5 – Icon List Element Issue #1085177

    Hi,

    Thanks for the update.

    The style attribute of the second icon set is broken. Do you mind if we access the dashboard? We would like to checking the settings.

    Best regards,
    Ismael

    in reply to: Random sorting in product grid #1085176

    Hi,

    That filter is going to change the product sorting directly. It’s not going to add a random sorting option in the element editor if that is what you’re expecting.

    Best regards,
    Ismael

    in reply to: Social Icons in Footer #1085175

    Hi,

    Thanks @Guenni007. :)

    Best regards,
    Ismael

    Hey 2SPRO,

    Thank you for using Enfold.

    Did you add any custom html, snippets or scripts in that page? Please make sure that the html tags are closed properly and that the scripts are valid or free from errors.

    Best regards,
    Ismael

    in reply to: WooCommerce 'Return to Cart' button to link to new page #1085172

    Hey Annedesign,

    Thank you for using Enfold.

    You don’t have to create the plugin if you’re using a child theme. Just keep the code in the functions.php file. If you prefer the plugin, then you have to remove the code in the functions.php file to prevent duplication of the code.

    Glad to hear that you’re enjoying the theme.

    Best regards,
    Ismael

    Hey lmackinnon,

    Thank you for using Enfold.

    You can insert the aweber snippet into a text block and then place the block inside a grid row element.

    Best regards,
    Ismael

    in reply to: Mobile menu color #1085169

    Hey Pas7o,

    Thank you for using Enfold.

    You have to remove the following css code or wrap it inside a css media query if you intend to change the background of the submenu on desktop view.

    #top #wrap_all .sub-menu {
        background: #002fa7;
    }

    Best regards,
    Ismael

    Hi,

    Thanks for the update.

    Then they block the account until you contact them

    You should probably move to a different host then. They should know how WordPress handles images. Are you uploading images on a regular basis?

    Enfold however kicks that up to 12+

    A default theme doesn’t offer new elements or shortcodes, so it doesn’t really need that many thumbnails. The theme on the other hand has to generate thumbnails for a slider, color section, masonry, portfolio items etc. I’m sure you get the point.

    rather than recommending child themes and functions hacking and adding third party plugins

    Using the child theme to override existing functions is not “hacky” nor using a third party plugin. That’s how WordPress works. Why would you develop something from scratch if there is an available tool out there that can do the same thing?

    for instance Enfold adds sizes for portfolio, if I am not a photography site I probably wont have a portfolio section and I am likely to never use portfolio image sizes so I don’t need the portfolio size images generated

    We provided you with a filter that can do just that. You can also use a third party plugin if you don’t want to get into coding or use a snippet in the functions.php file.

    Best regards,
    Ismael

    in reply to: How to change related post style to grid #1084541

    Hi,

    Thanks for the update.

    Use this filter in the functions.php file to exclude the current post.

    add_filter('avia_post_slide_query','avia_post_slide_query_mod', 10, 2);
    function avia_post_slide_query_mod($query, $params)
    {
        if(is_singular('post')) {
            $query['post__not_in'] = array(avia_get_the_ID());
        }
        return $query;
    }
    

    Best regards,
    Ismael

    in reply to: Main Menu Overlapping Page Content While Scrolling #1084538

    Hi,

    Thanks for the update.

    Can you provide a screenshot of the overlap issue? We can’t reproduce it on our end. You can upload the screenshot to imgur or dropbox.

    Best regards,
    Ismael

    in reply to: Landing page plugin conflict #1084536

    Hi,

    You should try adding the css code in the General Styling > Quick CSS field. And don’t forget to toggle the Performance > File Compression settings afterwards.

    Best regards,
    Ismael

    in reply to: Widget area #1084411

    Hey Lara,

    Thank you for using Enfold.

    Are you expecting it to render automatically because it’s the parent page? You have to manually add that page in the “Career subnav” menu.

    Best regards,
    Ismael

    in reply to: Spam emails being set through Contact Forms #1084410

    Hey jamesbarren,

    Thank you for using Enfold.

    You can enable the Google ReCAPTCHA option in the Enfold > Google Services panel on version 4.5.5. All you need is a API key pair for v2 or v3, which can be generated from the recaptcha admin console.

    Best regards,
    Ismael

    Hi,

    Thank you for using Enfold.

    This css code should display the menu-fx container or menu underline on hover.

    .avia-menu li:hover a .avia-menu-fx {
        position: absolute;
        bottom: -1px;
        height: 2px;
        z-index: 10;
        width: 100%;
        left: 0;
        opacity: 1;
        visibility: visible;
    }

    Best regards,
    Ismael

    in reply to: Avia Builder Not Resolving #1084391

    Hi,

    Thanks for the update.

    The admin_ajax.php file is currently not accessible. Please try to deactivate the plugins temporarily and ask your hosting provider if the mod_sec/mod_security module blocks or blacklists the said file. Is the site hosted on GoDaddy?

    admin-ajax.php:1 Failed to load resource: the server responded with a status of 403 (Forbidden)

    Best regards,
    Ismael

    in reply to: Installing latest version to correct Woo Commerce error #1084387

    Hi,

    Did you add the image as a layer? Try to set it as the slider background or create another layer using the same image and then toggle both layers’ device visibility. Also, you have the option to hide the layer slider on mobile view and replace it with a different slider or element.

    Best regards,
    Ismael

    Hey weathertight,

    Thank you for using Enfold.

    That is the default behavior of the sliders. It can’t load different versions of the image based on the screen or device width. We can add the srcset attribute to an image tag, but the images in the slider are set as background, so that’s not possible. With that said, what you can do is make sure that the images in the slider are fully optimized having the smallest size possible without losing quality.

    // https://kriesi.at/archives/4-key-wordpress-image-optimization-tips

    You can read more about site optimization in the following link.

    // https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow

    Best regards,
    Ismael

    in reply to: Padding custom bullet #1084374

    Hey kruispunt40,

    Thank you for using Enfold.

    Add a margin to the image or bullet so that it separates from the text.

    
    .avia_textblock li:before {
    margin-right: 10px;
    }

    Best regards,
    Ismael

Viewing 30 posts - 22,561 through 22,590 (of 66,033 total)