Forum Replies Created

Viewing 30 posts - 7,921 through 7,950 (of 34,887 total)
  • Author
    Posts
  • in reply to: Error 28: Connection Timed Out After X Milliseconds #1404563

    Hi,
    It looks like you are using the OVH web host, is this correct?
    OVH hosting has disabled the PHP set_time_limit() function, this function ensures that the WordPress import doesn’t time out, this is different than the current PHP run time limit. In the threads that I have seen, the users report back that OVH will not enable this standard PHP function.
    Our demo import uses the WordPress import feature which uses this function, in other threads I have also tried manually importing, but this still requires the same WordPress import feature which again times out (cURL error 28)
    If the manual import method fails due to the disabled PHP functions, I recommend importing your demo on a localhost install and using the Duplicator plugin to migrate/clone it to your OVH host, this has shown to work in the past.

    Best regards,
    Mike

    in reply to: Looking strange on mobile phone #1404562

    Hi,
    Thank you for your patience, the reason the menu item “Facilities” shows twice on your mobile menu is due to the setting at Enfold Theme Options ▸ Main Menu ▸ Burger/Mobile Menu ▸ Clone title menu items to submenu

    Since you selected to display submenu items on click or on hover, the parent menu item does no longer navigate to the URL it contains, but toggles the visibility of its submenu items. If you want users to be able to open the parent menu URL the theme can create a clone of that item in the submenu

    So you can disable this and mobile users won’t be able to go to your “Facilities” page.
    Another option would be to use this function to change the first “Facilities” to something else like “Amenities” and the second “Facilities” will still link to the “Facilities” page.
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function rename_parent_menu_item_in_mobile_menu() { ?>
      <script>
    window.addEventListener('DOMContentLoaded', function() {
      (function($){ 
        $('.avia_mobile').on('click', '.av-burger-menu-main', function() {
        $('.menu-item-254 .avia-menu-text:first').text(function(index, text) {
            return text.replace('Facilities', 'Amenities');
        });
        });
      }(jQuery));
    });
    </script>
      <?php
    }
    add_action('wp_footer', 'rename_parent_menu_item_in_mobile_menu');

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Blog Style Business: ‘Read more’ + Square Gravatar #1404560

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Link to latest portfolio #1404559

    Hey Hans,
    Thanks for your patience, I found this article: Add A Link To Latest Post To WordPress Nav Menu and it works for Posts.
    I was able to adjust it to show the latest portfolio, but not for a specific category in the portfolio:
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    // Front end only, don't hack on the settings page
    if ( ! is_admin() ) {
        // Hook in early to modify the menu
        // This is before the CSS "selected" classes are calculated
        add_filter( 'wp_get_nav_menu_items', 'replace_placeholder_nav_menu_item_with_latest_post', 10, 3 );
    }
     
    // Replaces a custom URL placeholder with the URL to the latest post
    function replace_placeholder_nav_menu_item_with_latest_post( $items, $menu, $args ) {
     
        // Loop through the menu items looking for placeholder(s)
        foreach ( $items as $item ) {
     
            // Is this the placeholder we're looking for?
            if ( '#latestpost' != $item->url )
                continue;
     
            // Get the latest post
            $latestpost = get_posts( array(
                'numberposts' => 1,
    			'post_type' => 'portfolio',
    			//'category' => 1, //only works for posts if you comment out the post_type line above, portfolio_entries & taxonomy doesn't work either
            ) );
     
            if ( empty( $latestpost ) )
                continue;
     
            // Replace the placeholder with the real URL
            $item->url = get_permalink( $latestpost[0]->ID );
        }
     
        // Return the modified (or maybe unmodified) menu items array
        return $items;
    }

    and create a custom menu item with the URL #latestpost
    Enfold_Support_1765.jpeg

    Best regards,
    Mike

    in reply to: size differences in the images on the search page #1404558

    Hey cappellettimax,
    Thank you for your patience, I see that your images are cropped, so try installing the plugin Simple Image Sizes, then go to WordPress ▸ Settings ▸ Media ▸ shop_catalog size and change the cropping to “No”
    Enfold_Support_1763.jpeg
    then go to the bottom of the page and Regenerate the Thumbnails for that size.
    Then clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

    in reply to: Content doesn’t save from time to time. #1404555

    Hi,
    Thanks for your video, please note that when you save an Advanced Layout Builder page and then open it with the Block Editor the two versions of the page are not synced, this can cause errors with your page and we recommend that you don’t do this.
    I have tried to recreate your error by creating a draft and previewing it and refreshing the draft page and editing it again but I couldn’t create the error on my test site, I also created a new “test draft” page on your site, and followed the same steps, except saving the page with the Block Editor, and had no issues.

    Best regards,
    Mike

    in reply to: Blog Style Business: ‘Read more’ + Square Gravatar #1404554

    Hi,
    Thank you for your patience, #1: this is the way it is, the posts work best using the “Classic Editor”.
    If you were going to use the Grid style for the blog and only show a short excerpt under each featured image then you could use the ALB for the posts, but if you did you would need to manually create each excerpt in the excerpt field on the post because the ALB text fields are not able to show as excerpts, thus the reason the posts work best using the “Classic Editor”.
    #2 You can keep the featured images and hide them from your full post blog page with this css in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .template-blog .big-preview.multi-big {
    	display: none;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Duplicate ENFOLD parent themes in WP. #1404553

    Hi,
    Thank you for your patience and the screenshot, I see the page you are working on is not a product page so the Product Purchase Button element is not available, so instead you should use the Shortcodes included with WooCommerce in a code block element, for example to show an add to cart button for the product 261 with no price use this shortcode [add_to_cart id="261" show_price="false"] if you want to show the price next to the button then just remove the argument show_price=”false” from the shortcode. When I looked at your pricing page it looked like you have the product price showing in a different element, to show the product price by ID with a shortcode, try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_shortcode( 'product_price_shortcode', 'woo_product_price_shortcode' ); 
    function woo_product_price_shortcode( $atts ) { 
    	$atts = shortcode_atts( array( 
    		'id' => null 
    	), $atts, 'product_price_shortcode' ); 
    	if ( empty( $atts[ 'id' ] ) ) { 
    		return ''; 
    	} 
    	$product = wc_get_product( $atts['id'] ); 
    	if ( ! $product ) { 
    		return ''; 
    	} 
    	return $product->get_price(); 
    }

    and then use this shortcode: [product_price_shortcode id="261"]
    If you want to show the product image, title, & price use the shortcode: [product id="261"]

    Best regards,
    Mike

    in reply to: Blog issues #1404538

    Hi,
    To change the mobile menu font-weight try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #av-burger-menu-ul li a span.avia-menu-text {
    	font-weight: 600;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: White Screen of Death – when activating Enfold theme #1404533

    Hi,
    Glad to hear that you have this sorted out with the needed file .user.ini, thanks for sharing. Also thanks to Guenni007 for sharing the wp-config.php tip, we will close this thread now as requested. If you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    Hi,
    To add a background image to the sub-menu like on the page you linked to, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #idf-submenu {
    	background-image: url(/wp-content/uploads/2023/04/Submenu-woodgrain-background.jpg);
    	background-repeat: no-repeat;
    }

    I see the font in your logo image but I don’t see a example on it on your site so I don’t know the name or if your site is loading it.
    Nonetheless here is an example of the css you could use to change the submenu font to Montserrat:

    #idf-submenu li a span.avia-menu-text {
    	font-family: 'Montserrat';
    }

    Best regards,
    Mike

    in reply to: Css adjustments in the single product page #1404528

    Hi,
    Thanks for the feedback I adjusted it to show on product pages and product categories with this: if(is_product() || is_product_category()) {…}
    please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Video Element Preview Picture is not showing. #1404525

    Hi,
    Thank you for your patience, this was a known issue and has been fixed in our upcoming release, please see our thread: enfold-upcoming-fixes <strong style=’color:#000′>fixed: ALB video element preview/fallback image not showing
    I created a test page on our test site to demonstrate and linked below.

    Best regards,
    Mike

    in reply to: Masonry Gallery – no images on tablet view #1404522

    Hi,
    Thanks for the screenshot and the link to your site, I tested in Safari v16.3 on a Mac v12.6.3 in Responsive Design Mode as I don’t have an iPad, as well as in Windows in Chrome, Firefox, & Edge emulating a tablet device and couldn’t recreate the missing images.
    Try checking if there is an update available for your iPad.

    Best regards,
    Mike

    in reply to: Cell/Column CSS Overwrite? #1404501

    Hi,
    Did you try the css I provided above?
    You can not edit the css in the Dynamic_Avia directory, you should ensure that your css has enough specificity to overwrite the css you want to overwrite.
    I believe that you will find this works because of its specificity

    Best regards,
    Mike

    in reply to: Gallery with Tabbed Content Slider #1404477

    Hi,
    For the down chevron icon I believe that you mean like this:
    Enfold_Support_1761.jpeg
    If so try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .portfolio-preview-title::before {
      content: "\e883";
      font-family: entypo-fontello;
      font-size: 40px;
      position: relative;
      top: 6px;
      display: inline-block;
      padding-right: 10px;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Blog Style Business: ‘Read more’ + Square Gravatar #1404475

    Hi,
    Thanks for the feedback, I made an error in my explanation above, to use the ALB page “test-blog-list-style” for your “Blog” page you need to not choose a blog page in the theme settings, I corrected this for you. Then to have a “Blog” menu item remove the menu item “Blog” and then change the title of the menu item “test-blog-list-style” to “Blog” and then drag into place.
    Enfold_Support_1759.jpeg
    I see that you set the blog element to show “full content” correctly.
    Blog posts work best as “Classic Editor” posts, I adjusted your test post to demonstrate, please check.

    Best regards,
    Mike

    in reply to: Custom menu for products – style #1404471

    Hi,
    Glad to hear that this helped, but unfortunately creating a mobile burger menu will not be an easy task, you would be better off using a menu plugin, I recommend looking for one that will give you a shortage that you can add to the page where you want it to show. I have not tested any of these but here is a list of some free ones on WordPress.

    Best regards,
    Mike

    in reply to: Blog issues #1404470

    Hi,
    Thank you for your patience and the link to your site, I checked the heading Die Kapitalmärkte sind dynamisch – wir sind es auch. on your homepage and see the font is roboto, lighter as you wrote above. I checked on Windows in Chrome, Firefox, & Edge and they looked the same in all browsers.
    What browser version and OS is your client using, can you share a screenshot of what he is seeing?

    Best regards,
    Mike

    Hi,
    Can you link to the image you want to use as a background for the sub-menu and is there a font example on your page that you want to use?

    Best regards,
    Mike

    in reply to: White Screen of Death – when activating Enfold theme #1404448

    Hi,
    It would not be a licensing issue, when you updated the theme via FTP did you overwrite the parent “enfold” directory?
    Please try deleting the parent “enfold” directory and then upload a new one. When overwriting the parent directory old files with different file names may be left behind.
    If this doesn’t help please include FTP access so we can investigate and activate the enfold theme, typically when a theme error like this occurs you can change the name of the theme directory to force WordPress to default back to the WordPress default theme, is this how you have been doing it?
    I assume this is a testing domain so there isn’t anything we can break, correct?

    Best regards,
    Mike

    in reply to: center social media icon in footer #1404445

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Hide pagination on specific pages #1404425

    Hi,
    Glad Yigit could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    Hi,
    If you are using the custom class link-to-accordion then this should work:

    function anchor_offset_with_slow_scroll() { ?>
      <script>
    (function($) {
      $('a.link-to-accordion[href*=#]:not([href=#])').click(function() {
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
    && location.hostname == this.hostname) {
    
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
            $('html,body').animate({
              scrollTop: target.offset().top - 100 //offsets for fixed header
            }, 1000);
            return false;
          }
        }
      });
    }(jQuery));
    </script>
      <?php
    }
    add_action('wp_footer', 'anchor_offset_with_slow_scroll');

    If not then please add the class to the test link Comparing WPML

    Best regards,
    Mike

    Hey guychalk,
    Thanks for your question but this is not a feature and would not be easily achieved.
    I see that on mobile your secondary menu is at the top and the link text is large, two options that I can think of would be to decrease the font size to make the links easier to read, or make each link full width so the links are stacked instead of side-by-side. If you would like help to achieve one of these let us know.

    Best regards,
    Mike

    in reply to: White Screen of Death – when activating Enfold theme #1404420

    Hi,
    Does this occur when you activate the parent theme or the child theme or both?
    What webhost are you using, is it a managed webhost with a “must-use” or “drop-in” cache plugin?
    If so ask your webhost to disable the must-use plugin and clear the server cache and leave the plugin disabled for now. Are you also using a CDN? If so try disabling and clearing.
    Object-oriented caches can serve damaged files and be hard to clear.

    Best regards,
    Mike

    in reply to: Css adjustments in the single product page #1404418

    Hi,
    Thank you for your patience, I changed the original sub-menu code to this and it seems to have corrected the issue, please clear your browser cache and check.

    add_action('ava_after_main_container', 'ava_after_main_title_mod');
    function ava_after_main_title_mod() {
    	if(is_product()) {
    		echo do_shortcode("[av_submenu which_menu='' menu='58' position='center' sticky='aviaTBsticky' color='main_color' mobile='disabled' mobile_switch='av-switch-768' alb_description='' id='' custom_class='' template_class='' av_uid='av-ldyiqu1t' sc_version='1.0'] [av_submenu_item title='Élément 1 de menu' button_style='' link='' linktarget='' av_uid='av-gb0n7' sc_version='1.0'] [av_submenu_item title='Élément 2 de menu' button_style='' link='' linktarget='' av_uid='av-bn1kr' sc_version='1.0'] [/av_submenu]");
    	}
    }

    Best regards,
    Mike

    Hi,
    You will need to add a custom class to the links to your accordion toggles or we could have it work only on certain pages.

    Best regards,
    Mike

    in reply to: center social media icon in footer #1404415

    Hi,
    Thanks for the login, I found that you had an un-closed “p” tag at the beginning of your copyright, this created an error wrapping your social icons in the same tag, I removed it for you and now your socket looks like my examine. Please clear your browser cache and check.

    Best regards,
    Mike

    Hi,
    Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 30 posts - 7,921 through 7,950 (of 34,887 total)