Forum Replies Created

Viewing 30 posts - 15,271 through 15,300 (of 66,092 total)
  • Author
    Posts
  • Hi,

    Glad to know that it is working. To limit the post navigation to certain pages, we could use the is_page or any conditional function necessary. Please check the documentation for more info about the function.

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

    Best regards,
    Ismael

    Hi,

    Thank you for the info.

    We can now see the issue and it is probably not working as it should because the plugin modifies the markup of the product items, removing the class name or container woocommerce-loop-product__title which is where the cart script gets the product title.

    This is the new markup from the plugin.

    
    <td class="product_title_col">
                                <span class="mobile-label">Product</span>
                                <a class="product_link" href="https://site.com/product/amazin-raisin-sunflower-seeds-trail-mix-snack-variety-2-3-ounce-bulk-bags-125pk-case/"><img src="https://amazingfruitproducts.com/wp-content/uploads/2018/10/amazin-raisin-sunflower-seeds-orange-and-strawberry-80x80.png" class="wwof_product_listing_item_thumbnail" alt="Amazin' Raisin + Sunflower Seeds Trail Mix Snack Variety 2.3-ounce Bulk Bags 70pk Case" srcset="VALUE" sizes="(max-width: 48px) 100vw, 48px" width="48" height="48"></a>                            <a class="product_link" href="https://site.com/product/amazin-raisin-sunflower-seeds-trail-mix-snack-variety-2-3-ounce-bulk-bags-125pk-case/">Amazin' Raisin + Sunflower Seeds Trail Mix Snack Variety 2.3-ounce Bulk Bags 70pk Case</a></td>
    

    You might have to ask the plugin author to apply the default class attribute for the title to the title markup above.

    Best regards,
    Ismael

    in reply to: Plugin conflict with slick menu pro #1261471

    Hi,

    Thank you for the update.

    The anchors are working properly when we checked the site. The page scrolls and lands to the corresponding section after clicking one of the menu items containing an anchor. Please try to do a hard refresh, remove the cache or check the site on incognito mode.

    Best regards,
    Ismael

    in reply to: Custom image size cropping #1261470

    Hi,

    Did you upload the original image again or regenerate the images after the thumbnail registration?

    This is probably not working as it should because the new thumbnails’ x_crop_position or the first value in the array is invalid. The valid values are ‘left’ ‘center’, or ‘right’.

      $sizes['divide_img_top_center'] = array( 'width' => 1920, 'height' => 500, array('top','center') );
      $sizes['divide_img_center_center'] = array( 'width' => 1920, 'height' => 500, array('center','center') );
      $sizes['divide_img_bottom_center'] = array( 'width' => 1920, 'height' => 500, array('bottom','center') );
    

    So top-center and bottom-center is not correct, and should be center-top and center-bottom.

    Best regards,
    Ismael

    in reply to: Link in pagination & Breadcrumb wrong? #1261465

    Hi,

    Thank you for the info.https://kriesi.at/support/topic/the-grid-with-products-does-not-work-pagination/#post-1254673


    @Blatze
    : For some reason, the framework > php > function-set-avia-frontend.php file contains an old version of the avia_extended_pagination_link function, so we updated it. The function should remove the query arguments for the first page.


    @easyname
    : Here is a copy of the said file if you would like to test it.

    bin: https://pastebin.com/huUJ1Psj
    pw: pagination

    Best regards,
    Ismael

    in reply to: How to put a field in blog posts in masonry #1261464

    Hi,

    Thank you for the update.

    We may have to add the post ID to the get_field function so that it returns the actual year from each post. Please look for the line where we defined the $year variable and replace it with the following code.

    $year = get_field ("Date", $entry->ID);
    

    // https://www.advancedcustomfields.com/resources/get_field/

    Best regards,
    Ismael

    in reply to: Woocommerce Add to cart / view product on hover #1261447

    Hey tdutkowski,

    Thank you for the inquiry.

    Would you like to hide the add to cart button and only display it on hover? That should be possible but we have to see the page containing the products first so that we could provide the appropriate modifications. Please post the site or page details in the private field.

    Best regards,
    Ismael

    in reply to: woocommerce Kasse Seite Text ändern #1261446

    Hi,

    Thank you for the update.

    Yes, the snippet above should do it but using css to hide the heading is probably a much better and more simple solution. Please try this css code in the Quick CSS field.

    #order_payment_heading { 
         display: none !important; 
    }
    

    Best regards,
    Ismael

    in reply to: Using The Events Calendar plugin? #1261443

    Hey cybertheleo,

    Thank you for the inquiry.

    Yes, this should be possible but the free version of the plugin does not have a filter option by default. You will not be able to filter events based on the available info such as the location of the event or its type, at least not without installing a paid extension or add on. Please check the link below for more info about the extension.

    // https://theeventscalendar.com/products/wordpress-calendar-filter-bar/

    Best regards,
    Ismael

    in reply to: Full width column image #1261441

    Hey pixel-hustler,

    Thank you for the inquiry.

    We will ask Victoria to check the thread again so that she could provide the previous changes or modifications that were done in the previous thread. Please wait for her response.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    The default lightbox script in the theme does not support webp images by default, or it does not autolink images with webp format. This is the list of lightbox’s supported image, video and link formats.

    autolinkElements:   'a.lightbox, a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"], a[href*="iframe=true"]',
    

    Not really sure if this is going to work but we could try and add the webp format to the list above. Please edit the enfold\js\avia-snippet-lightbox.js file and look for the same code above around line 209, and replace it with:

    autolinkElements:   'a.lightbox, a[href$=webp], a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href*=".jpg?"], a[href*=".png?"], a[href*=".gif?"], a[href*=".jpeg?"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"], a[href*="iframe=true"]',
    

    We just added the webp format in the list so that script will be able to recognize images with the said format and apply a lightbox link to it automatically.

    Best regards,
    Ismael

    in reply to: Image on Category Page #1261430

    Hi,

    Thank you for the update.

    We enabled the line or function z_taxonomy_image in the archive.php file again, applied an image to one of the post categories and it worked as expected. The category image is displaying above the posts. Please check the page of the category “On Demand” in the private field.

    Where did you see the service unavailable error?

    Best regards,
    Ismael

    Hey HeroChris,

    Thank you for the inquiry.

    Did you install an extension to hide the default variation dropdown? I do not have a Safari browser because I am on a Windows machine, but I am able to reproduce the issue on IE11. It seems like the variation button is locked to the first option (250g). Have you tried asking the plugin authors about the issue?

    I will ask the team to check the thread so that they could actually inspect the issue on Safari. Please wait for their response.

    Best regards,
    Ismael

    in reply to: Sub menu not sticking on mobile despite research #1261427

    Hey Jason,

    Thank you for the inquiry.

    The full width submenu is supposed to be static on mobile view by default or it should not stick when viewing on smaller screens.

    Did you add this css code?

    .responsive #top #trip-page-sub-menu {
    	top: 20px !important;
    	position: fixed !important;
    }
    

    This makes the submenu sticky on mobile view but this is always in effect unlike the normal behavior where it only sticks when it touches the top edge of the browser view port.

    Best regards,
    Ismael

    in reply to: Enfold Slide-Show (volle Breite) vertikale Zentrierung #1261240

    Hi,

    Sorry for the delay. We could use the following css code to pull the image upwards and align it vertically to the center of the slider area.

    .av_slideshow_full li img {
    	margin-top: -140px;
    }
    

    Please do not forget to toggle or temporarily disable the Performance > File Compression settings after adding the css code.

    Best regards,
    Ismael

    in reply to: Link visible in the middle of the page #1261237

    Hi,

    Thank you for the update.

    Looks like the logo appears earlier than expected and the top margin of the header breaks the default layout of the page. To make sure that the logo does not appear unexpectedly and to remove the excess margin above the header, we could use this css code.

    @media only screen and (min-width: 989px) and (max-width: 1024px) {
        #header.av_header_transparency {
    	margin-top: 0 !important;
    	height: 0px;
        }
    
        .logo {  
            display: none !important;
        }
    }
    

    Best regards,
    Ismael

    in reply to: Cookie modal is crawlable #1261234

    Hey Thomas,

    Thank you for the inquiry.

    According to the Google documentation, we could use the data-nosnippet attribute to specify that a certain content should not be used as part of the page snippet or description.

    // https://developers.google.com/search/reference/robots_meta_tag#data-nosnippet-attr

    We will forward the info to our channel for further consideration and hopefully this will be added in the next patch.

    Best regards,
    Ismael

    in reply to: Restrict Slideshow Accordion to Custom Post Type #1261233

    Hey cwinkens,

    Thank you for the inquiry.

    It is probably not working because the taxonomy query overrides the post_type parameter. To fix it, try to unset the taxonomy query when the post_type parameter is set in the query_entries function of the aviaaccordion class. Also, make sure that post_type is actually available as an attribute.

    The query can be found around line 1200 and the post_type check can be done above that line.

    	$query = array(	'orderby'		=>	$orderby,
    								'order'			=>	$order,
    								'paged'			=>	$page,
    								'post_type'		=>	$params['post_type'],
    //								'post_status'	=>	'publish',
    								'offset'		=>	$params['offset'],
    								'posts_per_page' =>	$params['items'],
    								'post__not_in'	=>	( ! empty( $no_duplicates ) ) ? $avia_config['posts_on_current_page'] : array(),
    								'meta_query'	=>	$meta_query,
    								'tax_query'		=>	$tax_query,
    								'date_query'	=> $date_query,
    							);
    

    Best regards,
    Ismael

    in reply to: Not updating the quantities as expected #1261229

    Hi,

    Thank you for the update.

    It might not be working because in the woocommerce_quantity_input function, the $product is null or it is using the global product variable. Try to return the current $product as the second parameter in the function, and set the max_value to -1 when back orders are allowed.

    // http://hookr.io/functions/woocommerce_quantity_input/

    Please look for this code..

    woocommerce_quantity_input( array( 'min_value' => 1, 'max_value' => $product->backorders_allowed() ? '' : $product->get_stock_quantity() ) );
    

    .., then replace it with:

    woocommerce_quantity_input( array( 'min_value' => 1, 'max_value' => $product->backorders_allowed() ? -1 : $product->get_stock_quantity() ), $product );
    

    Where did you get the snippet above?

    Best regards,
    Ismael

    in reply to: image sizes #1261226

    Hi,

    , display the lightbox window 80% of the screenheight,

    That should be possible using a custom css code. Please add the following in the Quick CSS field, and do not forget to toggle the Performance > File Compression settings afterwards.

    @media only screen and (max-width: 767px) {
        img.mfp-img {
            max-height: 80vh !important;
        }
    }

    Best regards,
    Ismael

    in reply to: portfolio pagination not working – portfolio entries #1261024

    Hi,

    Thank you for the update.

    The pagination is not working because the theme is using the default or global query for the portfolio category pages without the custom pagination query. We will report the issue to our channel for further inspection. We will let you know once we found a proper fix.

    Best regards,
    Ismael

    in reply to: Cookie Consent: Custom essential cookies #1260908

    Hi,

    Thank you for the update.

    the custom cookie PHPSESSIDDisabled will be true

    Is it set as true in the local storage, or only in the modal popup window where it is toggled as active instead of grayed out or disabled?

    Why do you have to create a custom toggle for the PHPSESSID when by default it should always be allowed? Instead of creating a toggle, just remove the custom cookie from the theme options and just indicate in the modal popup window or in your privacy section that the site has to store PHP session cookies to make sure that certain features work.

    Best regards,
    Ismael

    in reply to: Masonry Element Sizing #1260907

    Hi,

    Thank you for the screenshots.

    Yes, it is quite weird. What happens when you adjust the width of the landscape images from 600px to 605px or wider? Adjusting the width should also affect the height of the images as it maintains the aspect ratio.

    Best regards,
    Ismael

    in reply to: Text and image on top of each other #1260906

    Hi,

    Thank you for the update.

    We removed the enfold-backgr class name from the text block and moved it to the parent column container, then use this css code to pull the text block section to the right so that it is on top of the background image.

    .responsive #top .enfold-backgr {
    	position: relative;
    	z-index: 100;
    }
    
    .responsive #top .enfold-backgr .av_textblock_section {
    	right: -100px;
    	position: relative;
            background-color: #f7f7f7;
            border-style: solid;
            border-width: 0px 0px 0px 3px;
            border-color: #97c000;
            box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.22);
            padding: 5% 5%;
    }
    

    Best regards,
    Ismael

    in reply to: Mobile Menu – Switch with WooCommerce Shopping Cart #1260905

    Hi,

    Thank you for the update

    To move the burger menu to the right of the cart icon, try to use this css code.

    @media only screen and (max-width: 767px) {
        .responsive.html_cart_at_menu #top .main_menu .menu > li:last-child {
    	padding-right: 13px;
    	margin-right: -50px;
        }
    
       .responsive.html_bottom_nav_header #top #menu-item-shop.cart_dropdown {
    	position: absolute;
    	right: 100px;
       }
    }
    

    And regarding the css issue, please check the custom css code and make sure that there are no invalid css code such as missing curly brackets or semi colons.

    Best regards,
    Ismael

    in reply to: Add header to specific Woocommerce pages #1260904

    Hi,

    Thank you for the updat.e

    What do you mean exactly by “Woocommerce pages”? Are you referring to the product category pages or the single product pages? You should replace the shortcode above with the actual markup of the layout in the screenshot, and instead of using woocommerce_before_single_product, try to use the ava_after_main_container hook so that the content renders below the header.

    Best regards,
    Ismael

    in reply to: Show mobile hamburger menu on tablet portrait #1260896

    Hi,

    @ratoli: What do you mean by “bigger one”? Please open a new thread and post the site details in the private field so that we could check the page. A screenshot of the icon will help as well. We will close this one for now.

    Best regards,
    Ismael

    in reply to: MENU COLLAPSED IN TABLET MODE #1260895

    Hi,

    Thank you for the info.

    Which browser are you using in the Surface Pro 7 device? Have you tried it using Chrome or Firefox for mobile? The mobile menu works fine on a tablet device emulation using Firefox on Windows 10. Please provide a screenshot using imgur or dropbox so that we could see the issue.

    Best regards,
    Ismael

    in reply to: Enfold + WooCommerce Rental Products Compatibility Issue #1260891

    Hi,

    Thank you for the inquiry.

    The theme removes or disables hooks in the default product template, and the plugin might be using one of those hooks to display the date picker. Could you ask the plugin developers which hook/s the date picker function is attached to?

    The disabled hooks can be found in the avia_woocommerce_remove_hooks function inside the enfold\config-woocommerce\config.php file.

    Best regards,
    Ismael

    in reply to: Contents and Author Picture #1260888

    Hi,

    Thank you for the update.

    The image or gravatar of the author is displaying properly in the author box, right below the post content and comment form. Is this fixed? If not, please provide a screenshot of the issue using imgur or dropbox so that we could better understand the issue.

    Best regards,
    Ismael

Viewing 30 posts - 15,271 through 15,300 (of 66,092 total)