Forum Replies Created

Viewing 30 posts - 13,231 through 13,260 (of 67,414 total)
  • Author
    Posts
  • in reply to: Issue code block with the new Autopilot form code #1322132

    Hi,

    Aside from using shortcode, which is the best option you have in this case, you can also create a script that dynamically renders the Autopilot forms in a specific element in the page once the document loads. You will have to use jQuery or Javascript for this. You may need to use any of these functions.

    // https://api.jquery.com/appendto/
    // https://api.jquery.com/add/

    Please ask the plugin authors for additional assistance.

    Best regards,
    Ismael

    in reply to: Mobile menu header covering logo #1322129

    Hi,

    Thank you for the update.

    We adjusted the css code a bit to adjust the position of the cart icon and fix the mobile menu issue. We also adjusted the size of the logo so that it does not cover the whole header container.

    
    @media only screen and (max-width: 767px) {
      #header_main .inner-container {
        height: 160px;
        position: relative;
      }
    
      .responsive #top .logo {
        width: 100%;
        padding-bottom: 80px;
      }
    
      .responsive .logo img {
        margin: 0 auto;
        max-height: 100px !important;
      }
    
      .responsive.html_bottom_nav_header.html_cart_at_menu #top #wrap_all .main_menu {
        z-index: 102;
        top: 80px;
        right: auto;
        width: 100%;
      }
    
      .responsive #top .av-logo-container .avia-menu .menu li.av-burger-menu-main {
        height: 80px;
        left: 50%;
        transform: translateX(-50%);
        border-right: 0;
      }
    
      .responsive #top .av-logo-container .avia-menu .menu,
      .responsive #top .av-logo-container .avia-menu {
        width: 100%;
      }
    
      #top #wrap_all #header .av-small-burger-icon a {
        padding: 0;
        height: 80px !important;
        line-height: 80px !important;
      }
    
    .responsive #top #header_main #menu-item-shop .cart_dropdown_link {
        margin-top: -30px;
        margin-right: -30px;
    }
    }

    Again, please do not forget to toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code. Let us know how it goes.

    Best regards,
    Ismael

    in reply to: Can't enable block editor #1322126

    Hi,

    Thank you for the info.

    This code in the functions.php file disables the block editor.

    // disable for posts
    add_filter('use_block_editor_for_post', '__return_false', 10);
    
    // disable for post types
    add_filter('use_block_editor_for_post_type', '__return_false', 10);
    

    We disabled the snippet temporarily. The block editor should display properly now.

    Best regards,
    Ismael

    in reply to: Custom font uploaded is not showing correctly #1322122

    Hi,

    Some fonts from external sources should work but the upload manager is quite strict about the file structure. Please make sure that you follow the structure described in the following documentation.

    // https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts

    If the structure is already correct but the font manager is still not accepting it, then you might have to select a different font, preferably from Google.

    Best regards,
    Ismael

    in reply to: [av_privacy_google_tracking] button not working #1322119

    Hi,

    No problem. Please feel free to open another thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: show categories in blog grid #1322114

    Hi,

    Thank you for the update.

    Do you see any errors after adding the code? Please post the login details in the private field so that we can check the modifications. Make sure that the Appearance > Editor panel is accessible so that we can edit the files directly from the dashboard.

    Best regards,
    Ismael

    in reply to: Schema Markup Errors when Turning Blog Post to ALB #1322113

    Hi,

    As we mentioned above, the default templates and the builder elements contain basic schema markup. If you add a special heading element for example, the theme will automatically add an itemprop attribute, which contains the value “headline”.

    
    <div style="padding-bottom:10px; " class="av-special-heading av-special-heading-h3    avia-builder-el-0  avia-builder-el-no-sibling  ">
    <h3 class="av-special-heading-tag " itemprop="headline">Hello</h3>
    <div class="special-heading-border">
    <div class="special-heading-inner-border"></div>
    </div>
    </div>
    

    The accordion element if used as FAQ element will contain the following schema structure.

    
    <div itemscope="itemscope" itemtype="https://schema.org/FAQPage" class="togglecontainer toggle_close_all avia-builder-el-0 el_before_av_heading avia-builder-el-first enable_toggles">
    <section class="av_toggle_section" itemscope="itemscope" itemprop="mainEntity" itemtype="https://schema.org/Question"></div>
    </section></div>
    

    Only basic structure is added because the theme is used for a wide variety of sites, which is why we cannot add complex schema structures that focused on specific niches (e.g recipes, books etc) or structures that can only cater specific sites. So if you need a more complex schema structure, you will have to use a third party plugin such as Yoast or Markup (JSON-LD), which creates json-ld schema structures automatically.

    // https://wordpress.org/plugins/wp-structuring-markup/

    Best regards,
    Ismael

    in reply to: Cookies doesn't work #1322109

    Hi,

    Thank you for the update.

    Is that the right option, that the analytics cookies work?

    Yes, that should be the correct option. The analytics script will be disabled by default and users will have to enable it manually using the toggles in the privacy popup window or within the privacy page, if enabled.

    Best regards,
    Ismael

    in reply to: Enfold and WooCommerce Multilingual (WPML) #1322108

    Hi,

    Thank you for the info.

    According to the following thread, the product price is not translatable. But you can set a different price per currency. Is that how the products are set up?

    // https://wpml.org/forums/topic/how-to-translate-product-price-using-woocommerce-multilingual/#post-982377

    For multi-currency support, please check this thread.

    // https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/

    Best regards,
    Ismael

    in reply to: add class to get_the_term_list #1322107

    Hi,

    Thank you for following up.

    You do not need the previous modification because we are now retrieving the price using a custom field. And ACF is not required for this either, the default custom field option should be enough.

    We may need to access the file server in order to check the shortcode template properly. Please post the WP and FTP info in the private field. A link to the actual page where you need this modification to display will also help.

    Best regards,
    Ismael

    in reply to: custom page template not using full width #1322105

    Hi,

    Thank you for the update.

    We modified the “test template” a bit and removed the “container” element, which limits the dimension of the slider to a certain width. The page or the slider is now full width.

    Best regards,
    Ismael

    in reply to: Image/text format on mobile #1322104

    Hi,

    Good to know that the css worked. Regarding the layer slider, we have not encountered that same issue before. Looks like the file is corrupted or incomplete. Are you sure that the theme files were completely updated? Please try to replace the file again. The latest version of the theme is 4.8.6.3.

    Best regards,
    Ismael

    Hi!

    Thank you for the update.

    You can add another button or link below the tab section which anchors to an element above the tab section, so that the user can go back immediately to the top without scrolling back up. An element with an anchor looks like this.

    <div id="tab-section-top"></div>
    

    You can also use the name attribute. You can then create a button that links to the anchor element.

    <a href="#tab-section-top">Go back to the top of the tab section</a>
    

    You can also use the button element in the builder.

    Best regards,
    Ismael

    in reply to: ACF Groups Showing In Masonry Element #1322097

    Hi,

    Great! Glad to know that it is working correctly now. Please let us know in a different thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Sticky post in blog grid #1322095

    Hi,

    No problem. Please let us know if the changes above worked or if you need any help. We will keep the thread open.

    Thank you for your patience.

    Best regards,
    Ismael

    Hey joerka27,

    Thank you for inquiry.

    We replied in the previous thread and provided a filter that will hopefully fix the issue that you are having with the shortcode. For the comments issue, try to add this filter in the functions.php file.

    add_filter("comments_open", function() {
       return true;
    }, 9999);
    

    And make sure that comments are enabled in the Settings > Discussion panel.

    Best regards,
    Ismael

    in reply to: Portfolio Einträge, Bilder proportional hochladen #1322023

    Hi,

    Thank you for the update.

    Do you see any errors after adding the filter? Did you copy the code from your email? Please try to copy it directly from the forum. Let us know if it helps.

    Best regards,
    Ismael

    in reply to: Mobile menu tablet transition #1322022

    Hey Stretchspot,

    Thank you for the inquiry.

    The mobile menu markup has changed in a bit in the later versions of the theme. You will have to adjust the css code a bit.

    @media only screen and (max-width: 1200px) {
      nav.main_menu li:not(.av-burger-menu-main, .av-active-burger-items) {
        display: none;
      }
    
      .av-burger-menu-main {
        display: block;
      }
    }
    

    This should adjust the breakpoint of the menu.

    Best regards,
    Ismael

    in reply to: Order in #1322020

    Hey Bases de datos de empresas,

    Good to know that you are liking the theme and thank you for the inquiry. Are you trying to adjust the order of the items in the magazine element? You can use the avf_magazine_entries_query to adjust the default query.

    /** adjust the magazine element query **/
    function avf_magazine_entries_query_mod($query, $params)
    {
        $query['order'] = 'DESC';
        $query['orderby'] = 'date';
        return $query;
    }
    add_filter('avf_magazine_entries_query','avf_magazine_entries_query_mod', 10, 2);
    

    But if you are just trying to adjust the date format, try to edit it in the Settings > General > Date Format option.

    Best regards,
    Ismael

    in reply to: Issue code block with the new Autopilot form code #1322010

    Hey xsbyte,

    Thank you for the inquiry.

    You have to create a custom shortcode for the embed code because adding input tags directly in the builder could break the editor. The code above has a lot of input tags in it.

    To learn more on how to create a custom shortcode, please check the following documentation.

    // https://codex.wordpress.org/Shortcode_API

    Best regards,
    Ismael

    in reply to: Header Extra Elements Phone Number Links #1322009

    Hey Stretchspot,

    Thank you for the inquiry.

    Have you tried wrapping the icon shortcode and the content inside a link tag?

    Example:

    <a href="http://link-to-somewhere.com">Some content here</a>
    

    -or-

    <a href="http://link-to-somewhere.com">[av_font_icon icon='ue854' font='entypo-fontello' style='' caption='' link='' linktarget='' size='20px' position='left' color=''][/av_font_icon] <span class="custom-header-meta"><a href=“tel:3109333123">(310)933 3123</a></span> [av_font_icon icon='ue805' font='entypo-fontello' style='' caption='' link='' linktarget='' size='20px' position='left' color=''][/av_font_icon] <span class="custom-header-meta"><a href="mailto: (Email address hidden if logged out)  "> (Email address hidden if logged out) </a></span></a>
    

    Best regards,
    Ismael

    in reply to: Accordion/Toggles deeplinking #1322006

    Hi,

    Thank you for the info.

    We edited the content of the Weekends toggle and added the class name “no-scroll” to the anchor links. This prevents the smooth scrolling from activating when the links inside the toggle is clicked.

    This is the updated html.

    <strong><a href="https://rd20.site.ch/preise/#toggle-id-3" rel="noopener" class="no-scroll">Einzelübernachtungen</a> </strong>
    

    Best regards,
    Ismael

    Hey joerka27,

    Thank you for the inquiry.

    In the later versions of the theme, after version 4.5, shortcodes outside the builder will no longer work. You have to use the avf_alb_exec_sc_only filter to enable execution of shortcodes that are not within the builder.

    function avf_custom_exec_sc_only_mod( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake ) {
    	return true;
    }
    
    add_filter( 'avf_alb_exec_sc_only', 'avf_custom_exec_sc_only_mod', 10, 6 );
    

    You should also apply an av_uid attribute or parameter to the color section shorcode.

    [av_section min_height='75' min_height_pc='25' min_height_px='500px' padding='default' custom_margin='0px' custom_margin_sync='true' color='main_color' background='bg_color' custom_bg='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='http://site/bg.jpg' attachment='18' attachment_size='full' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' shadow='no-border-styling' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='' bottom_border_style='' custom_arrow_bg='' id='' custom_class='' template_class='' aria_label='' av_element_hidden_in_editor='0' av_uid='av-ktwgvf7r' sc_version='1.0'][/av_section]
    

    Best regards,
    Ismael

    in reply to: Some products still not with the correct Path. #1321982

    Hey reinsicht,

    Thank you for the inquiry.

    Are “Templates” and “Warenkorb” post categories? Please note that only the first parent category is shown in the breadcrumb, so if “Templates” is a sub-item or a sub category of another category, then it will not display. You may be able to modify the breadcrumb based on your requirements by using the avia_breadcrumbs_trail filter as shown in the following thread.

    // https://kriesi.at/support/topic/breadcrumbs-in-blog-archive-page-layout/

    Best regards,
    Ismael

    in reply to: Table frame and comment fiels #1321981

    Hey Brugmedia,

    Thank you for the inquiry.

    1.) Try to add this css code to apply a border to the block table element.

    .wp-block-table {
        margin: 0 0 1em;
        overflow-x: auto;
        border-color: black !important;
        border: 1px solid black;
    }
    

    2.) To move the comment form above the comments, you will have to modify the themes > enfold > comments.php file and move line 156-207 above line 77. Or just replace the content of the file with the following code.

    // https://pastebin.com/jkcXe97P

    Best regards,
    Ismael

    in reply to: How to remove padding between colour sections #1321979

    Hey GrandPrixGrandTours,

    Thank you for the inquiry.

    Would you mind providing a screenshot of the space that you would like to remove? We checked the site but we cannot any see any extra space above or below the gray bar where the title “Itenerary” sits. This is what we see on our end.

    Screenshot: https://imgur.com/npE3Me2

    Best regards,
    Ismael

    in reply to: Set layout builder Template as default when creating new post #1321978

    Hey wiv-online,

    Thank you for the inquiry.

    There is an option in the builder where you can save an existing content as template. Unfortunately, you cannot set this template as the default content for posts, so you will have to add it manually. Please check the following documentation for more info.

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/#templates

    You can also create custom element templates from a default builder element.

    // https://kriesi.at/documentation/enfold/custom-element-templates/

    Best regards,
    Ismael

    in reply to: Pictures on blog page have changed in sizeq #1321977

    Hey Eefke,

    Thank you for the inquiry.

    Try to edit the blog posts element and select a different thumbnail in the Styling > Appearance > Select custom preview image size settings. You have to set the Preview Image Size settings to the second option first.

    Best regards,
    Ismael

    in reply to: exclude images from srcset responsive react. #1321975

    Hey!

    Alright. Glad to know there is a better solution. Please feel free to open a new thread if you need anything else.

    Have a nice day.

    Regards,
    Ismael

    in reply to: show categories in blog grid #1321872

    Hey Alexander,

    Thank you for the inquiry.

    Try adding this filter in the functions.php file to render the category title above the excerpt and below the title.

    add_filter("avf_post_slider_entry_excerpt", function($excerpt, $prepare_excerpt, $permalink, $entry) {
    	if(is_archive()) {
    		$excerpt = '<span class="slide-archive-title"></span>' . get_the_archive_title() . '</span>' . $excerpt;
    	}
    
    	return $excerpt;
    }, 10, 4);
    

    Best regards,
    Ismael

Viewing 30 posts - 13,231 through 13,260 (of 67,414 total)