Forum Replies Created

Viewing 30 posts - 18,271 through 18,300 (of 67,602 total)
  • Author
    Posts
  • in reply to: Move Cart Icon to beginning of menu #1223322

    Hey!

    Did you remove the script? Looks like the cart is working properly now — showing the actual product quantity instead of twice. If you’re still having issues, please create a new thread and post the login details in the private field.

    Thank you for your patience.

    Cheers!
    Ismael

    in reply to: The content does not load correctly #1223321

    Hi,

    Sorry for the late response. Did you add this script in the functions.php file as suggested in the previous threads?

    dd_action('wp_footer', 'ava_auto_resize');
    function ava_auto_resize(){
    ?>
    <script>
    (function($){	
    	var int = window.setInterval(function(){
    		$(window).trigger('resize');
    	}, 1500);
    	
    	$(window).load(function () {	
    		setTimeout(function() {
    			clearInterval(int);
    		}, 2000);
    	});
    })(jQuery);
    </script>
    <?php
    }
    

    This should cause the gallery items to reposition and prevent them from overlapping while the images are still loading. The script should stop by itself once the images are fully loaded.

    Best regards,
    Ismael

    in reply to: hamburger menu #1223319

    Hi,

    Sorry for the late response. You can try this one instead.

    .html_header_sticky .header-scrolled .av-hamburger-inner:before, .html_header_sticky .av-hamburger-inner:after {
         background: blue;
    }

    We added the “.header-scrolled” selector so that it only applies the style or color when the site or header is scrolled.

    Best regards,
    Ismael

    in reply to: Default Cookie Behaviour for essential cookies #1223317

    Hi,

    Sorry for the delay. As the description suggests, the “Essential cookies are accepted on first page load, user must opt in” option automatically stores essential cookies (e.g aviaPrivacyEssentialCookiesEnabled) in the local storage even if the user didn’t accept the cookies or opt to essential cookies using the privacy toggles, but all external cookies (e.g aviaPrivacyGoogleMapsDisabled ,aviaPrivacyGoogleReCaptchaDisabled) or cookies that controls external services are disabled by default, so users have to opt in or toggle them manually.

    In the other option, users have to accept the cookies first before essential cookies can be stored in the local storage, and all external or non-essential cookies are also disabled by default, so users have to opt in or enable them manually either in the privacy policy page or the modal popup window.

    Best regards,
    Ismael

    Hi,

    Sorry for the delay. Looks like it’s working properly now — switching to a different variation of the product also changes to the corresponding product or variation image. Did you set the Enfold > Shop Options > Produkt Galerie to the second option? (see private field)

    Thank you for your patience.

    Best regards,
    Ismael

    in reply to: Make a specific are of an Image clickable #1223303

    Hey Christopher,

    Thank you for the inquiry.

    We can manually add the button as an image in the caption field or adjust the style of the slider button. Have you tried doing something like that? Please post the site URL so that we can inspect the slider.

    Example:

    <img src="URI OF THE IMAGE BUTTON class="slider-button-custom" />
    

    For additional style adjustment, use the custom class attribute above.

    .slider-button-custom {
     /* more styles here */
    }
    

    Best regards,
    Ismael

    in reply to: Accordion Toggle links not working on mobile #1223302

    Hey B,

    Sorry for the delay. We are not able to reproduce the issue on our end but we found this script error in the console which might be worth looking into.

    SCRIPT438: SCRIPT438: Object doesn't support property or method 'render'
    gravityforms.min.js (1,13847)
    

    Does it work correctly when gravity form is disabled?

    Best regards,
    Ismael

    in reply to: Size of Featured Blog Post Image #1223301

    Hi,

    or resolution? Is this assumption correct?

    1.) Yes, that is correct. The theme will only load the predefined thumbnail because the srcset attribute is not present in the template, so you have to upload images that are big enough on any type of device. If you want, you can install a third party plugin that adds srcset attribute to images.

    // https://wordpress.org/plugins/wp-retina-2x/

    2.) Also correct. Uploading larger images is not necessarily bad because you can still compress them and given proper optimization on other areas of the site, it should still load fast on any device. But having the srcset attribute in the template or the image tag is still the better solution. Please try the plugin above.

    Best regards,
    Ismael

    in reply to: Shade effect or 2px frame around Special Heading? #1223296

    Hi,

    Sorry for the delay. We can use the text-shadow property to add shadows to the text.

    .av-special-heading-tag strong {
    	text-shadow: 2px 2px #000000;
    }

    https://www.w3schools.com/cssref/css3_pr_text-shadow.asp

    Best regards,
    Ismael

    Hi,

    Sorry for the delay. The main menu is not fully accessible without a mouse, but it’s already inside a nav tag and the menu items are wrapped inside an unordered list, so they should be properly recognized by assistive technologies as described in the documentation and you should be able to navigate using a keyboard.

    // https://www.w3.org/WAI/tutorials/menus/structure/

    If you want to add the role and aria-label attribute to the nav tag, edit the wp-content\themes\enfold\includes\helper-main-menu.php file and look for this code around line 170..

     $main_nav = "<nav class='main_menu' data-selectname='".__('Select a page','avia_framework')."' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">";
    

    .., then replace it with:

     $main_nav = "<nav role='navigation' aria-label='Primary'  class='main_menu' data-selectname='".__('Select a page','avia_framework')."' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">";
    

    // https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA6

    We can also add the role attribute to menu items by editing the wp-content\themes\enfold\includes\helper-responsive-megamenu.php, look for this code around line 270:

    $attributes .= ! empty( $item->url )        ? ' href="'   . esc_attr( $item->url        ) .'"' : '';
    

    Below, add the role and tabindex attribute:

    $attributes .= ' role="menuitem" tabindex="0"';
    

    Best regards,
    Ismael

    Hi,

    Thank you for the update. We’ll keep the thread open. Let us know if you need anything else.

    Best regards,
    Ismael

    Hey dfpg,

    Thank you for the inquiry.

    How did you add the search bar? If you’re using the default search bar from the theme, try to edit the wp-content > themes > enfold > searchform.php file.

    	<input type="text" id="s" name="<?php echo $search_params['search_id']; ?>" value="<?php if(!empty($_GET['s'])) echo get_search_query(); ?>" placeholder='<?php echo $search_params['placeholder']; ?>' />
    

    Best regards,
    Ismael

    Hi,

    Thank you for the inquiry.

    We can remove the item type container with css but we have to hook it in the admin head tag. Please try this code in the functions.php file.

    function admin_head_mod() {
      echo '<style type="text/css">
      .menu-item-bar .item-type {
    	display: none !important;
      }
      </style>';
    }
    add_action('admin_head', 'admin_head_mod', 9999);
    

    Best regards,
    Ismael

    Hi,

    Sorry for the delay. You can’t use the srcset attribute for background images. It will only work on an actual image element or when using the img tag.

    Example from https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images:

    <img srcset="elva-fairy-480w.jpg 480w,
                 elva-fairy-800w.jpg 800w"
         sizes="(max-width: 600px) 480px,
                800px"
         src="elva-fairy-800w.jpg"
         alt="Elva dressed as a fairy">
    

    So it’s not going to work for the color section because the image is set as background.

    Best regards,
    Ismael

    in reply to: Icon grid flip boxes #1223043

    Hi,

    We can’t seem to access the site properly without being blocked by the server security. Did you block access from certain countries?

    This is what we get we try to login to the site:

    406 Security Incident Detected
    Your request was blocked. Please try again later.

    Best regards,
    Ismael

    in reply to: Problem with Update Enfold 4.5.3 to 4.7 #1223036

    Hi,

    We are not really sure why it’s not working in your server. Have you tried removing the transients?

    // https://www.wpbeginner.com/plugins/how-to-manage-and-delete-transients-in-wordpress/

    If it still doesn’t work after removing the transients, please try to update the theme manually this time.

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

    Best regards,
    Ismael

    in reply to: adjust the following responsive breakpoints #1223031

    Hey Markus,

    Thank you for the inquiry.

    This is possible, but you have to directly modify the enfold\config-templatebuilder\avia-template-builder\php\popup-templates.class.php, look for the screen_options_visibility function and this code around line 1751:

    desc'              => __( 'Hide on large screens (wider than 990px - eg: Desktop)', 'avia_framework' ),
    

    After adjusting the file, add this code in the Quick CSS field or the style.css file.

    @media only screen and (min-width: 1025px){
    
    .responsive.av-no-preview #top #wrap_all .av-desktop-hide,
    .responsive.av-no-preview #top #wrap_all .av-desktop-font-size-hidden,
    .responsive.av-no-preview #top #wrap_all .av-desktop-font-size-title-hidden{display:none;}
    
    }
    
    

    Repeat the steps for the tablet view, then add this css code:

    /* Tablet Portrait size to standard 960 (devices and browsers) */
    @media only screen and (min-width: 768px) and (max-width: 1024px) {
    
    .responsive.av-no-preview #top #wrap_all .av-medium-hide,
    .responsive.av-no-preview #top #wrap_all .av-medium-font-size-hidden,
    .responsive.av-no-preview #top #wrap_all .av-medium-font-size-title-hidden{display:none;}	
    
    }
    
    

    You may have to toggle the Performance > File Compression settings afterwards.

    Best regards,
    Ismael

    in reply to: Portfolio Grid Pagination goes to top of page #1223028

    Hey Frank,

    Sorry for the delay. Did you replace the ID in the snippet with the ID of the color section containing the blog posts or pagination?

    var news = $('#transaksjoner'),
    

    If the posts element is not inside a color section yet, try to move it inside one, then apply a unique section ID to the color section. You’ll find the Custom ID Attribute field in the Advanced tab of the color section. After defining the ID (e.g “custom-section”), go back to the script or snippet, look for the same line mentioned above and replace the selector with the custom ID.

    var news = $('#custom-section'),
    

    Best regards,
    Ismael

    in reply to: Enfold Load more picture vibrating when loading #1223027

    Hey rasmusheil,

    Thank you for the inquiry.

    We can’t seem to reproduce the issue on the product page. The gallery loads fine without vibrating or shaking, and we didn’t find any errors in the console. (see private field)

    Best regards,
    Ismael

    in reply to: Customize php files in enfold-child #1223026

    Hi,

    Sorry for the delay. Those are framework files, so you won’t be able to override them in the child theme. What exactly are you trying to change? We might be able to use the available filters or hooks in the files to do it.

    Best regards,
    Ismael

    in reply to: Use SVG as the logo… #1223024

    Hi,


    @webdesignphx
    : Looks like you already figured out how to resize the logo properly. If you need more help, please don’t hesitate to create a new thread .

    Thank you for your patience.

    Best regards,
    Ismael

    Hi,

    Thank you for the info. Looks like the inline styling of the av-milestone-date is incorrect, even though they are set properly in the backend.

    font-size: ,px;
    

    We’ll forward this thread to our channel and we’ll probably provide a fix in the next patch.

    Best regards,
    Ismael

    Hi!

    Sorry for the delay. Could you maybe post a screenshot of the issue so that we can understand it better? Please use imgur or dropbox for the screenshot.

    Did you also set the front page in the Settings > Reading panel? Please try to reset the settings there to default and only define the front or home page in the Enfold > Theme Options.

    Best regards,
    Ismael

    Hi,

    Thank you for these updates. Glad to know that it’s fixed. We’ll close the thread now, but please don’t hesitate to open another if you need anything else.

    Have a nice day ahead.

    Best regards,
    Ismael

    in reply to: Burger-Menu / How can I change the position? #1222949

    Hi,

    Sorry for the delay. The screenshot looks kind of odd. Why is the menu in the middle of the page?

    If you want to adjust the vertical position of the menu overlay, try to use this css code.

    .html_av-overlay-side .av-burger-overlay-scroll {
    	left: auto;
    	right: 10%;
    }
    

    You might have to adjust the right position on different screens.

    Best regards,
    Ismael

    Hi,

    Sorry for the delay. We are trying to login again to the site but the connection is timing out — we can’t access it.

    And regarding the snippet above, looks like this line becomes empty in the last breadcrumb trail.

    $link_text = ! empty( $matches[1] ) ? $matches[1] : '';
    

    Did you happen to check the value of that variable?

    Best regards,
    Ismael

    in reply to: Social icon in mobile menu #1222941

    Hi,

    Sorry for the late reply. You can use this new script to move the social icons inside the mobile menu.

    function ava_custom_script_mod_social()
    {
    ?>
    	<script>
    		(function($) {
    			$(document).ready(function() {
    				var burger_wrap = $('.av-burger-menu-main a');
    				var social = $('.social_bookmarks');
    				var mobile_social = $('.mobile_social_bookmarks').length;
    
    				if (mobile_social) return;
    
    				$(burger_wrap).on('avia_burger_list_created', function() {
    					setTimeout(() => {
    						social.appendTo('#av-burger-menu-ul').addClass("mobile_social_bookmarks");
    					}, 500);
    				});
    			});
    		})(jQuery);
    	</script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script_mod_social', 10000);

    You might need to add a few css modifications.

    Best regards,
    Ismael

    in reply to: Home page video using `Fullwidth Easy Slider` #1222939

    Hi,

    Sorry for the delay. Is there a staging or development version of the site that we can access without changing anything on our machine?

    To resize the video, edit the slide, go the Styling > Video Settings, the set the Video Size to the second option. This option will force the video to stretch if necessary and cover the slider container.

    Best regards,
    Ismael

    Hi,

    Sorry for the delay. Try to use this css code to adjust the width of the image in the second gallery.

    #top #wrap_all #flex-gallery .avia-gallery-big {
    	width: 100%;
    	padding: 7px 0;
    }
    

    Default width is 50%. The css code will also adjust the padding around the item.

    Best regards,
    Ismael

    • This reply was modified 5 years, 10 months ago by Yigit.

    Hi,

    Sorry for the delay. Did you install a cache or minify plugin? Try to disable those plugins temporarily, remove the cache and check if the changes displays in the preview. And what is the current PHP version in your server? Please try to upgrade to 7.3 or later versions.

    Best regards,
    Ismael

Viewing 30 posts - 18,271 through 18,300 (of 67,602 total)