Forum Replies Created

Viewing 30 posts - 14,191 through 14,220 (of 66,065 total)
  • Author
    Posts
  • in reply to: Change color of selected text in LayserSlider #1283464

    Hey KeesKaas,

    Thank you for the inquiry.

    We could use this css code in the Quick CSS field to change the color of the selected or highlighted text.

    ::-moz-selection { /* Code for Firefox */
      color: red;
      background: yellow;
    }
    
    ::selection {
      color: red;
      background: yellow;
    }
    

    Best regards,
    Ismael

    in reply to: Invert colors > header-menu #1283463

    Hey sabsab,

    Thank you for the inquiry.

    We are not really sure what to check or how the header should actually look, but we noticed this class name “darkmode-ignore”. Did you add it manually? Would you mind providing a screenshot of the issue? Please use image hosts such as imgur or dropbox for the screenshot.

    Best regards,
    Ismael

    in reply to: Debug Mode only for admins #1283461

    Hey Guenter,

    Thank you for the inquiry.

    You may need to check for the user capability using the current_user_can function.

    // https://developer.wordpress.org/reference/functions/current_user_can/

    For admin, try to check if the user can install plugins or themes.

    // https://wordpress.org/support/article/roles-and-capabilities/

    Best regards,
    Ismael

    in reply to: Cookie Badge #1283454

    Hi,

    Thank you for the inquiry.

    We could use this css code to make the badge always visible.

    #av-cookie-consent-badge {
    	opacity: 0.7;
    	visibility: visible;
    }

    Then use this script to hide the message bar on initial load.

    // a custom script
    function ava_custom_script_mod() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', '
    		(function($) {
    			$(document).ready(function() {
    				$(".avia-cookie-consent").addClass("cookiebar-hidden");
    			});
    		})(jQuery);
    	');
        }
     }
     add_action( 'wp_enqueue_scripts', 'ava_custom_script_mod', 9999);
    

    We have not tested this fully, so it might cause unintended privacy options behavior.

    Best regards,
    Ismael

    in reply to: Single product image is getting cropped #1283446

    Hi,

    Thank you for the update.

    The whole image shows when we resize the browser and it seems to be an issue with the lazy loading option. What happens when lazy loading is disabled? You may also need to temporarily disable file compression and the cache plugin while testing.

    Best regards,
    Ismael

    Hey Oliver,

    Thank you for the inquiry.

    We are not really sure how the plugin assigns a different menu for a different page, but it probably overrides the default menu arguments using the wp_nav_menu_args filter, so you should be able to use the following snippet in the functions.php file to assign a different menu on the product archive pages.

    add_filter("wp_nav_menu_args", function($args) {
    	if(is_post_type_archive("product")) {
    		$args["menu"] = wp_get_nav_menu_object(get_term_by( 'slug', 'new-menu', 'nav_menu' ));
    	}
    
    	return $args;
    }, 999, 1);
    

    Just replace new-menu with the actual slug of your preferred menu.

    You could also try one of the following plugins to give you more control over the menu items’ visibility.

    // https://wordpress.org/plugins/menu-items-visibility-control/
    // https://wordpress.org/plugins/if-menu/

    Best regards,
    Ismael

    in reply to: Images inside text block #1283430

    Hi,

    Thank you for the update.

    You may need to use RGBA color values for the text block background or append the opacity value for the current hex color.

    // https://www.w3schools.com/css/css_colors_rgb.asp
    // https://davidwalsh.name/hex-opacity

    So a white color with 70% opacity should be..

    #FFFFFFB3
    

    Best regards,
    Ismael

    Hey Birdster,

    Thank you for the inquiry.

    The opacity of the overlay is set to 0 by default, and this opacity is increased on hover, so this css code should work to make the overlay always visible.

    .image-overlay {
    	opacity: 0.5;
    	filter: alpha(opacity=0.5);
    }
    

    Best regards,
    Ismael

    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

Viewing 30 posts - 14,191 through 14,220 (of 66,065 total)