Forum Replies Created

Viewing 30 posts - 13,801 through 13,830 (of 65,667 total)
  • Author
    Posts
  • in reply to: Layer slider not works #1283425

    Hi,

    Can we deactivate the plugins temporarily while checking the issue? The sliders are not displaying because according to the browser console, jQuery is not defined or is not loaded. We cannot reproduce the same issue on our end, so this is probably caused by a plugin or by a custom modification in the theme.

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: How to add copyright info to all images on website? #1283417

    Hi,

    Which code are you referring to, and on which element are you trying to apply the copyright? Please provide a link to the page in question so that we could check it.

    Best regards,
    Ismael

    in reply to: Top Nav Bar Desktop Vs. Mobile #1283416

    Hi,

    Thank you for the update.

    We can use the following css code to adjust the position of the top menu and of the phone info, make sure to include the code inside the css media query that Victoria created and suggested above.

    .av_secondary_right .sub_menu {
    	padding-left: 0;
    }
    
    .responsive #header .sub_menu, .responsive #header_meta .sub_menu > ul {
    	float: none;
    	text-align: right;
    	margin: 0;
    	position: static;
    	width: auto;
    }
    
    .responsive .phone-info {
    	float: right;
    	width: auto;
    	clear: none;
    	text-align: right;
    }
    
    .responsive #header_meta .sub_menu > ul {
    	width: auto;
    	text-align: right;
    }
    
    .responsive #header_meta .sub_menu > ul > li:last-child {
    	padding-right: 0;
    }

    Best regards,
    Ismael

    in reply to: Google Analytics not working? #1283413

    Hi,

    Thank you for the update.

    1.) Yes, the analytics field should also work for the latest GA4 tag as described in the avia_get_tracking_code function inside the functions-enfold.php file.

    	/**
    	 * Make google analytics code work, even if the user only enters the UA id (UA-[0-9]*-[0-9]*).
    	 * With 4.8 support is extended for new GA4 tracking code G-[0-9A-Za-z] (Jan. 2021 - https://github.com/KriesiMedia/wp-themes/issues/3032 )
    	 * 
    	 * The async tracking code is placed in the header (GDPR is supported to only load when allowed).
    	 * 
    	 * @return void
    	 */
    

    2-3.) It should be added in the Enfold > Google Services > Google Analytics field, which also ensures that the privacy settings for it will also work. We could add it using wp_head hook or by putting it directly in the template (header.php file), but the designated privacy settings will not work.

    Best regards,
    Ismael

    in reply to: Masonry and Masonry Gallery Modules #1283133

    Hey ValerioGem,

    Thank you for the inquiry.

    You are probably on the right track using the Masonry Gallery and the items’ Custom Link field or option, just make sure that the Advanced > Link Settings > Image Link settings is set to the second option (Use custom link) so that it actually uses the entry or the URL set in the Custom Link field.

    Best regards,
    Ismael

    in reply to: Accessibility check issues #1283131

    Hey wtechgr,

    Thank you for the inquiry.

    The hidden input field is a decoy, which should be empty, and is added to trick spam bots, and so when this hidden input is filled, the form will not be sent. We could remove that decoy by editing the enfold\config-templatebuilder\avia-shortcodes\contact\contact.php, and by removing this code around line 898.

    		//fake username field that is not visible. if the field has a value a spam bot tried to send the form
    			$elements['avia_username']  = array( 'type'=>'decoy', 'label'=>'', 'check'=> 'must_empty' );
    

    This, however, will decrease form security but you could still use other form protection such as the Google reCAPTCHA.

    And regarding the contrast issue, the tool might be giving lower scores because you are using a background image. Contrast check is much more effective when testing a font color against a solid background, so adding a box with a solid background behind the text should help.

    Best regards,
    Ismael

    in reply to: Plugin conflict removes kitchen sink from wysiwyg #1283126

    Hi,

    Thank you for the info.

    I’m still not getting the option in the Avia Layout Builder.

    Does it disappear on all elements using the text editor? Aside from the plugin Yigit suggested above, you might be able to use the following plugin to bring back the kitchen sink to the text editor.

    // https://wordpress.org/plugins/tinymce-advanced/

    The login info above is no longer working, so we were not able to check the site properly.

    Best regards,
    Ismael

    in reply to: Moving Coupon Form on Checkout Page #1283123

    Hi,

    Thank you for the update.

    We can initially hide the forms with this css code.

    #order_review .form-row-first, #order_review .form-row-last, .woocommerce-form-coupon-toggle + p {
    	display: none;
    }

    And use this script in the functions.php file to toggle their visibility when the showcoupon link is clicked.

    // a custom script
    function ava_custom_script_mod() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', '
    		(function($) {
    			$(".showcoupon").on("click", function() {
    				$("#order_review .form-row-first, #order_review .form-row-last, .woocommerce-form-coupon-toggle + p").toggle();
    			});
    		})(jQuery);
    	');
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);

    Let us know if it helps.

    Best regards,
    Ismael

    in reply to: Enfold Gaming Demo Menu functionality on Sub Menu #1283119

    Hey raquelravanini,

    Thank you for the inquiry.

    Yes, that is possible. You have to create sections using the Color Section element with a unique ID, which can be added in the color sections’ Advanced > Developer Settings > Custom ID Attribute field. We can then create a menu item or a source anchor that links to this color section, so when the unique ID of the color section is “section-1” for example, the navigation URL of the menu item or of the source anchor should be “http://site.com/page/#section-1”, and when clicked, the page should scroll to the color section or to the destination anchor.

    Best regards,
    Ismael

    in reply to: Speed/Pace of Accordion toggle opening #1283106

    Hey santinimedia,

    Thank you for the inquiry.

    The speed or duration of the accordion toggles can be adjusted but we have to directly modify the enfold\config-templatebuilder\avia-shortcodes\toggles\toggles.js and adjust the duration of the slideDown and slideUp functions manually. In the said file, please look for this code around line 76..

    content.slideUp(200, function()
    

    .. and adjust the current duration, which is 200ms.

    And around line 204, look for this code and once again, adjust the duration value.

    content.slideDown(200,
    

    We were not able to check the site because it is on maintenance mode.

    Best regards,
    Ismael

    in reply to: Masonry displays all products #1283101

    Hey AFDCO,

    Thank you for the inquiry.

    We are not really sure how the plugin hides the content for a specific user role, but you might be able to use the “avf_masonry_loop_prepare” to adjust the markup of the masonry items and wrap it inside the UM shortcode as shown in their documentation.

    // https://docs.ultimatemember.com/article/226-restrict-content-on-a-page-post-to-specific-users-community-role

    We cannot guarantee that this will work though.

    If the plugin is altering the post or product query, we might be able to use the avia_masonry_entries_query to adjust the default query of the masonry element and only include the items that the current user should see. Unfortunately, we are not really sure how the plugin handles this, so additional assistance from the plugin developers may be needed.

    Best regards,
    Ismael

    in reply to: Single Post Blog Layout #1283096

    Hey rmatus,

    Thank you for the inquiry.

    A full width image for the single blog post should be possible but you have to either modify the template directly as you did previously, or use the Advance Layout Builder (ALB) and add fullwidth elements such as a slider or a color section. However, this means that you will have to manually add the content to the posts including the meta info, the comments area and the social share section, which are all available in the builder as elements.

    Best regards,
    Ismael

    in reply to: Advanced Woo Search #1283094

    Hi,

    The code above should disable the default AJAX search from the theme, but extra modification might be needed if the plugin requires it. If you need more help, please feel free to create a new thread or ticket, and post the details in the private field so that we could check the site properly.

    Best regards,
    Ismael

    in reply to: Backend Menu Drag&Drop broken #1283092

    Hi,

    Thank you for the update.

    Glad to know that you have found a temporary solution. We tested the the issue on our end, and we might have found a working solution using a simple css code. Please remove the css code above, then try this one instead.

    .menu-item-edit-inactive .ui-sortable-placeholder:not(.menu-item-handle) {
        margin: 0 5px;
    }

    Best regards,
    Ismael

    in reply to: Rich MegaMenu possibilities #1283091

    Hi,


    @mattofelki
    : Good to know. Please let us know if you need more help.


    @goldengate415
    : Thank you for the assistance.

    Best regards,
    Ismael

    in reply to: DSGVO Google fonts #1283080

    Hi,

    Thank you for the info.

    The demo is not using a locally hosted font, so it has to get the fonts from Google. We tried to login to the dashboard using the account above, but it seems to be invalid. Please check the login info or create another so that we could access the dashboard and check the settings.

    Best regards,
    Ismael

    in reply to: Post Slider hover transition #1283079

    Hi,

    3.) Alright. We could use this script in the functions.php file to make the whole box or the whole slide entry clickable.

    // a custom script
    function ava_custom_script_mod() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', '
    		(function($) {
    			$(".slide-entry").on("click", function() {
    				window.location.href = $(this).find("a").attr("href"); 
    			});
    		})(jQuery);
    	');
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
    
    

    Please make sure to add this css code in the Quick CSS field afterwards.

    .slide-entry {
    	cursor: pointer;
    }

    Best regards,
    Ismael

    in reply to: Link to Album Lightbox #1283074

    Hi,

    Alright. Glad to know that you have found a solution that works for you. Let us know in another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: When I upload images I couldn´t see the thumbnails #1283071

    Hi,

    Great! Glad we could be of help. Please do not hesitate to open a new thread should you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Need some mobile CSS help in my Enfold Startsite #1283069

    Hi,

    Awesome! You are welcome! Please feel free to open a new thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    in reply to: Cumulative Layout Shift too high #1283068

    Hi,


    @Swarez
    : On opening the page, I noticed a shift once the first image is loaded, maybe because it is lazy loaded. Are you using lazy loading and/or animations for the columns or sections? Either of the two could contribute to layout shifts, so disabling these options should improve the CLS score.

    Best regards,
    Ismael

    in reply to: Horizontal Gallery Not Mobile Friendly #1283065

    Hi,


    @mattofelki
    Did you define a custom css class name or ID for the horizontal gallery element?

    // https://kriesi.at/documentation/enfold/add-custom-css/#enable-custom-css-class-name-support

    In the following css code, you have to replace “custom-css-class” with the actual class name of the element.

    .responsive .custom-css-class .av-horizontal-gallery-inner {
        min-height: 200px !important;
    }
    
    

    Best regards,
    Ismael

    in reply to: YouTube video embed on mobile #1283064

    Hi,

    We cannot figure out why it is not playing on mobile devices. Temporarily, you may need to disable lazy loading and regarding user privacy, you may need to inform the users through the privacy policy page or the modal popup window that the site contains videos, which may require or store cookies.

    Best regards,
    Ismael

    in reply to: Change featured image size on single posts only #1283063

    Hi,

    Sorry about that. Make sure to check that we are not on the admin page.

    Please put this line before the first conditional.

    if(is_admin()) return;
    

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    Try to replace the snippet in the functions.php with the following code.

    function ava534345953_init() {
    	add_action( 'woocommerce_after_single_product_summary', 'avia_add_sidebar', 25);
    	add_action( 'woocommerce_after_single_product_summary', 'avia_close_image_div_mod', 20);
    	add_action( 'woocommerce_before_single_product_summary', 'avia_open_image_div_mod', 1 );
    }
    
    function avia_open_image_div_mod() {
    	echo "<div class='product-main-container'>";
    }
    
    function avia_close_image_div() {
    	echo "</div>";
    }
    
    function avia_close_image_div_mod() {
    	echo "</div>";
    }
    
    function avia_add_sidebar() {
    	if(is_product()) {
    		$avia_config['currently_viewing'] = "shop_single";
    		get_sidebar();
    	}
    }
    add_action('init','ava534345953_init', 50);
    

    Then use this css code.

    .product-main-container {
    	width: 70%;
    	float: right;
    }
    
    .product-main-container::after {
    	content: '';
    	display: table;
    	clear: both;
    }
    
    .product-main-container .single-product-main-image, .product-main-container .single-product-summary  {
    	width: 100%;
    }
    
    #top #main .sidebar {
            border-left: 0;
    	border-right-style: solid;
    	border-right-width: 1px;
    	margin-left: 0;
    }

    Or post the FTP and WP details so that we could implement the changes.

    Best regards,
    Ismael

    Hi,

    Thank you for the info.

    You may need to adjust the actual sidebar option aside from the layout option above.

    // Layout > Sidebar Settings
    if($element['id'] == 'sidebar')  {
    	$elements[$counter]['std'] = 'Custom Widget Area';
    }

    In the std parameter or key, define the actual name of the widget area.

    It might be a good idea to change the title of the layout settings to “Layout Settings” to avoid confusion.

    Best regards,
    Ismael

    in reply to: Add to Cart Button #1283044

    Hi,

    Thank you for the update.

    The max attribute corresponds to the available stocks but for some reason, it is not working. Please try to edit the themes\enfold\config-woocommerce\woocommerce-mod.js, look for this code around line 72.

    avia_apply_quant_btn();
    

    Below, add this code.

    $(".variations_form").on("woocommerce_variation_select_change", function () {
    		avia_apply_quant_btn();
    });
    

    This should update the quantity buttons after selecting a different variation.

    Best regards,
    Ismael

    in reply to: Widget left – Logo right – Menu below #1283040

    Hi,

    Thank you for following up.

    Try to replace the latest css code with this one to limit the width of main menu.

    .responsive #top #header #header_main .inner-container .main_menu {
    	order: 2;
    	flex-basis: 100%;
    	align-items: center;
    	align-self: center;
    	height: 42px;
    	background: #00607b;
    	justify-content: center;
    	position: absolute;
    	width: 100vw;
    	bottom: -25px;
    	left: 50%;
    	transform: translate(-50%, 0);
    }
    

    Then use this css code adjust the maximum width of the inner container.

    .responsive #top #header #header_main .inner-container .main_menu .avia-menu {
    	max-width: 1600px;
    }

    Best regards,
    Ismael

    in reply to: General Theme Edit Issues #1283034

    Hi,

    Odd. This is how it looks on Firefox Windows 10.

    Screenshot: https://imgur.com/sWuYPty

    Maybe this snippet will help, just add it in the functions.php file.

    function ava_custom_admin_style() {
      echo '<style>
        .title.column-title {
    		min-width: 300px;
    		display: block;
    	}
      </style>';
    }
    add_action('admin_head', 'ava_custom_admin_style');
    
    

    This should apply a minimum width to the title column.

    Best regards,
    Ismael

    in reply to: Enfold Gallery: images at wrong positions – #1283032

    Hi,

    You are very welcome! Could you post the FTP details in the private field so that we could toggle the responsive image option of the gallery element? We may need to test it further and hopefully, we could come up with a better solution. And since the issue is already visible in your site, it would be a lot easier if we could test it there.

    Best regards,
    Ismael

Viewing 30 posts - 13,801 through 13,830 (of 65,667 total)