Viewing 30 results - 1 through 30 (of 10,043 total)
  • Author
    Search Results
  • the thumbs used in elements ( masonry, or news widget, blog etc.) can be influenced by filters.

    f.e.:

    function custom_post_featured_image_link( $image_link, array $current_post, $size ){
      if(is_single()){
        $image_link = get_the_post_thumbnail( $current_post['the_id'], 'medium' ); /**** or medium, square etc. ***/
      }
      return $image_link;  // echo $image_link;  if you want to get rid of link function
    }
    add_filter( 'avf_post_featured_image_link', 'custom_post_featured_image_link', 10, 3 );

    or in widgets ( just inspect what number they get on the sidebar)

    function my_avf_newsbox_image_size( $image_size, array $args, array $instance ){
      if( $args['widget_id'] == ( 'portfoliobox-3' || 'newsbox-2' || 'newsbox-4' ) ){
        $image_size = 'square';
      }
      return $image_size;
    }
    add_filter( 'avf_newsbox_image_size', 'my_avf_newsbox_image_size', 10, 3 );

    in combo-box:

    function custom_avf_combo_box_image_size( $size, $args ){
      return 'square';
    }
    add_filter( 'avf_combo_box_image_size', 'custom_avf_combo_box_image_size', 10, 2 );

    Hi, thank you for your reply. I was literally just able to do it with this code:

    function avf_customization_modify_thumb_size( $size ) {
    
    $size['entry_without_sidebar'] = array( 'width' => 9999, 'height' => 9999 );
    
    $size['entry_with_sidebar'] = array( 'width' => 9999, 'height' => 9999 );
    
    return $size;
    
    }
    
    add_filter( 'avf_modify_thumb_size', 'avf_customization_modify_thumb_size', 10, 1 );

    and then the regenerate thumbnails plugin worked with these new sizes.

    and then i also added this in custom css, to make it fit the content area for large screens

    @media only screen and (min-width: 990px) {
        #main > div.container_wrap.container_wrap_first.main_color.fullsize > div > main > article > div.big-preview.single-big {
            max-width: 800px;
            margin-left: auto !important;
            margin-right: auto !important;
        }
    }

    (is the css code proper? – it works for me right now but the selector is very long)

    I think this php issue is solved for now. Thank you very much!!

    Kind regards,
    David

    WPDESIGNER
    Participant

    Hello Enfold Support Team,

    I am trying to change the default cropped size of my featured images on single blog posts to a proper 16:9 aspect ratio, so that my 1280x720px images are displayed in full without any cropping.

    I have tried two different PHP-based methods based on my research, but neither has worked on my local server environment (so caching should not be the issue).

    Method 1: Modifying Existing Sizes

    First, I tried to modify the existing theme sizes using the avf_modify_thumb_size filter. This was the code I used in my child theme’s functions.php (respectively in a Code Snippet Plugin):

    function enfold_definitive_image_ratio_fix( $size_array ) {
        $size_array['entry_without_sidebar'] = array('width' => 1210, 'height' => 681);
        $size_array['entry_with_sidebar'] = array('width' => 845, 'height' => 475);
        return $size_array;
    }
    add_filter( 'avf_modify_thumb_size', 'enfold_definitive_image_ratio_fix', 10, 1 );

    When this code is active, the “Regenerate Thumbnails” page still shows the old default dimensions (e.g., 1210×423), so the filter does not seem to be applying correctly.

    Method 2: Registering a New Size and Forcing its Use

    As an alternative, I also tried registering a brand new 16:9 image size (custom-16-9-hero) and then used the avf_post_featured_image_size filter to force the theme to use it. Here is the code for that attempt:

    function enfold_add_custom_image_sizes() {
        add_image_size( 'custom-16-9-hero', 1280, 720, true );
    }
    add_action( 'after_setup_theme', 'enfold_add_custom_image_sizes' );
    
    function enfold_use_custom_featured_image_size( $size ) {
        if ( is_singular('post') ) {
            return 'custom-16-9-hero';
        }
        return $size;
    }
    add_filter( 'avf_post_featured_image_size', 'enfold_use_custom_featured_image_size', 10, 1 );

    With this method, the “Regenerate Thumbnails” plugin does show my new custom-16-9-hero – 1280 x 720 size and creates the files correctly after regenerating. However, the theme’s single post template still ignores the filter and continues to display the old default cropped image.

    My question is:

    In the latest version of Enfold, what is the definitive and correct method to ensure the featured image on a single post page is displayed at a custom 16:9 ratio?

    Thank you very much for your help.

    Kind regards,
    David

    Justina Pineker
    Guest

    Problem mit dem Avia Layout Architekten

    Bei der Verwendung von Media-Elementen wie beispielsweise „Bild“ oder „Slide-Show“ kann es vorkommen, dass nach dem Aktualisieren der Seite das Bild im Frontend nicht angezeigt wird. Auch in der Mediathek wird es in der Detailansicht nicht gefunden. Die entsprechenden Thumbnails bleiben jedoch in der Mediathek erhalten.

    Das Problem mit dem „Bild“-Element im Frontend lässt sich beheben, indem man im Reiter Stil unter Box Size eine Option aus dem Dropdown-Menü auswählt. Dadurch wird das Bild im Frontend korrekt angezeigt. In der Mediathek erscheint es in der Detailansicht allerdings weiterhin nicht.

    Das größere Problem besteht jedoch bei der Verwendung des „Slide-Show“-Elements, da dort die Option Box Size nicht verfügbar ist. Ein neu hinzugefügtes Element wird zwar zunächst korrekt angezeigt, verschwindet jedoch nach dem vollständigen Aktualisieren der Seite.

    Dieses Verhalten tritt ausschließlich in Verbindung mit dem Avia Layout Architekten auf. Mit dem Standard-Editor von WordPress werden die Bilder korrekt dargestellt. Zudem betrifft das Problem nur kürzlich hinzugefügte Bilder – bereits vorhandene Bilder sind nicht betroffen.

    Weitere Media-Elemente wurden bislang nicht getestet. Es ist jedoch davon auszugehen, dass auch andere Elemente von diesem Fehler betroffen sein könnten.

    #1485997

    Hi,

    It’s not a bug. The default sizes of the entry_without_sidebar and entry_with_sidebar thumbnails are 1210x430px and 845x321px, respectively. The filter above adjusts the maximum thumbnail dimensions to 9999, allowing the thumbnails to be displayed at their original size.

    Best regards,
    Ismael

    #1485930

    Hey ellkam,

    Thanks for reaching out.

    Try to completely remove the image from the Media > Library, then add this code in the functions.php file:

    function avf_customization_modify_thumb_size( $size ) {
          $size['entry_without_sidebar'] = array( 'width' => 9999, 'height' => 9999 );
          $size['entry_with_sidebar'] = array( 'width' => 9999, 'height' => 9999 );
          return $size;
    }
    
    add_filter( 'avf_modify_thumb_size', 'avf_customization_modify_thumb_size', 10, 1 );
    

    This should set the maximum width and height of the thumbnail. Upload the image again afterward.

    Best regards,
    Ismael

    #1485851
    tonyiatridis
    Participant

    I need to make some modifcations on portfoli0 items with the testimonials in place, for instance here:

    https://anthonyi34.sg-host.com/portfolio-item/tanium-2/

    I mag=nahed to change the color of the box and the size of the text in it, however I can’t target the little arrow, whe I did it made an arrow appear on the main grid of projects here:

    https://anthonyi34.sg-host.com/projects/

    To be honest I don;t recall how we turned the little arruws off on this grid beloew each thumbnail, but target the arrow even with testimonial added in the code not jst arrow made them reapear there.

    So..how can I change the coloe of the little arrow just on the testimonials, and also how can Ichange the color of the text in the box. My css was able to make the text bigger but not effect the color.

    Thanks so much

    Hi Ismael,
    Sure. Below is a link to a page that displays thumbnails/links for the custom posts. If you edit the page and look under the “LAS VEGAS” and “OAHU” headers, you will see the blog post element from Enfold. But when viewing the page, nothing displays for either of those. For both of those, all I did was make a change to the blog posts element and saved it. After that, they no longer displayed any posts.

    for the one under “OAHU”, I just copied the one below it on the page, opened the eminent and clicked save without making any changes. Now it doesn’t display any posts.

    The custom post type for these posts in the left menu of the WordPress dashboard is “Hotels & Resorts” and a link for that is provided below.

    Ryan

    #1485717
    kalla77
    Participant

    Hi
    as you see here the navigation controls for the gallery are “far out”.
    Image:
    https://gwup.org/temporaer/enfold-navi-bug.jpg

    Live:

    They are supposed to be IN the gallery and not miles above.
    This bug can be reproduced.
    Please tell me how to fix it (and fix it in your next update!)

    Here is the shortcode to reproduce it:
    [av_section min_height='100' min_height_pc='25' min_height_px='500px' shadow='no-border-styling' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='' bottom_border_style='' padding='default' margin='aviaTBmargin' custom_margin='0' custom_margin_sync='true' av-desktop-custom_margin='' av-desktop-custom_margin_sync='true' av-medium-custom_margin='' av-medium-custom_margin_sync='true' av-small-custom_margin='' av-small-custom_margin_sync='true' av-mini-custom_margin='' av-mini-custom_margin_sync='true' svg_div_top='' svg_div_top_color='#333333' svg_div_top_width='100' svg_div_top_height='50' svg_div_top_max_height='none' svg_div_top_opacity='' svg_div_bottom='' svg_div_bottom_color='#333333' svg_div_bottom_width='100' svg_div_bottom_height='50' svg_div_bottom_max_height='none' svg_div_bottom_opacity='' fold_type='' fold_height='' fold_more='Weiterlesen' fold_less='Read less' fold_text_style='' fold_btn_align='' color='main_color' background='bg_color' custom_bg='' background_gradient_direction='vertical' background_gradient_color1='#000000' background_gradient_color2='#ffffff' background_gradient_color3='' src='' attachment='' attachment_size='' src_dynamic='' attach='scroll' position='top left' repeat='stretch' video='' video_ratio='16:9' overlay_enable='aviaTBoverlay_enable' overlay_opacity='1' overlay_color='#003833' overlay_pattern='{{AVIA_BASE_URL}}images/background-images/diagonal-thin-dark.png' overlay_custom_pattern='' custom_arrow_bg='' fold_overlay_color='' fold_text_color='' fold_btn_color='theme-color' fold_btn_bg_color='' fold_btn_font_color='' size-btn-text='' av-desktop-font-size-btn-text='' av-medium-font-size-btn-text='' av-small-font-size-btn-text='' av-mini-font-size-btn-text='' fold_timer='' z_index_fold='' css_position_z_index='' av-desktop-css_position_z_index='' av-medium-css_position_z_index='' av-small-css_position_z_index='' av-mini-css_position_z_index='' id='' custom_class='backgroundvilla' template_class='' aria_label='' av_element_hidden_in_editor='0' av_uid='av-fhey3j' sc_version='1.0']
    [av_icon_box icon='ue80b' font='entypo-fontello' title='Lorem Ipsum' position='top' icon_style='' boxed='' font_color='' custom_title='' custom_content='' color='' custom_bg='' custom_font='' custom_border='' custom_title_size='' av-desktop-font-size-title='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' custom_content_size='' av-desktop-font-size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' heading_tag='div' heading_class='biszu' link='' link_dynamic='' linktarget='' title_attr='' linkelement='' id='' custom_class='' template_class='' av_uid='av-c6iolb' sc_version='1.0' admin_preview_bg='']
    <h1>Lorem Ipsum dolor sid amend dolores</h1>
    Weit hinten, hinter den Wortbergen, fern der Länder Vokalien und Konsonantien leben die Blindtexte. Abgeschieden wohnen sie in Buchstabhausen an der Küste des Semantik, eines großen Sprachozeans. Ein kleines Bächlein namens Duden fließt durch ihren Ort und versorgt sie mit den nötigen Regelialien. Es ist ein paradiesmatisches Land, in dem einem gebratene Satzteile in den Mund fliegen. Nicht einmal von der allmächtigen Interpunktion werden die Blindtexte beherrscht – ein geradezu unorthographisches Leben. Eines Tages aber beschloß eine kleine Zeile Blindtext, ihr Name war Lorem Ipsum, hinaus zu gehen in die weite Grammatik.
    [/av_icon_box]

    [av_gallery ids='12076,12077,12078,12079,12080' ids_dynamic='' style='big_thumb lightbox_gallery' preview_size='no scaling' crop_big_preview_thumbnail='avia-gallery-big-crop-thumb' thumb_size='medium' columns='12' thumbs_hover='' control_layout='av-control-default' slider_navigation='av-navigate-arrows' nav_visibility_desktop='av-nav-arrows-visible' nav_arrow_color='' nav_arrow_bg_color='' imagelink='lightbox' link_dest='' lightbox_text='no_text' lazyload='avia_lazyload' img_scrset='' html_lazy_loading='disabled' alb_description='' id='' custom_class='' template_class='' av_uid='av-mb5at8df' sc_version='1.0' admin_preview_bg='']
    [/av_section]

    kind regards
    Andrè

    #1485655

    Hi,

    Thank you for the update.

    You can add this code in the Quick CSS field to keep the thumbnail slide navigation from moving.

    .ls-thumbnail-slide {
        margin-left: 0 !important;
    }

    Let us know the result.

    Best regards,
    Ismael

    #1485640

    Hmm, actually one odd thing is happening, when you mouse over the thumbnail the grid of thumbnail moves and seems to center under the slideshow. Is there a way to make them stay put?

    #1485607

    Hey tonyiatridis,

    Thank you for the inquiry.

    We enabled the Project Settings > Navigation > Show Navigation Buttons > Slide Navigation Buttons, then added this css code to make the thumbnail navigation fullwidth.

    .ls-noskin .ls-thumbnail {
        top: 0px;
        width: 100% !important;
    }

    View post on imgur.com

    Best regards,
    Ismael

    #1485601
    tonyiatridis
    Participant

    Redesigning a site for a client on a temp url, and need to thumbnail navigation on layer slider slideshows, for instance here:

    The thumbnail nav seems to be enabled.

    Doesn’t work with all plugins disabled so not a conflict. I must be missing something.

    In the layerslider area the slider is [layerslider id=”18″] Architecture

    I wonder if this has something to do with using one of the pre-fab layersiders which didn’t have thumbnails.

    Anyway How can I turn them on/

    Thanks so much.

    #1485400

    Hi,

    We checked every thumbnail in the srcset attribute, and none of them are missing, but it looks you’ve opted to hide the column and image on smaller screens. The image does display when we manually toggle its visibility.

    Would you mind creating a test page and apply the same content as the homepage?

    View post on imgur.com

    Best regards,
    Ismael

    Hi,

    At first, it’s probably a trade-off between quality and performance when it comes to images. The filter we suggested above was added to balance the two and give users the option to adjust them based on their requirements. If we’re not mistaken, setting the quality to the maximum didn’t previously result in thumbnails with overly large file sizes, or we would never have set it as the default. It’s only recently that this has been happening or reported. Please keep the quality around 70 for now, then use an image compression plugin (Smush, Shortpixel etc) to further optimize the images.

    We’ll forward this thread to our channel.

    Best regards,
    Ismael

    Hi,

    Thanks for reaching out.

    The theme automatically increases the image quality to 100%, but the WordPress default is only 82%. This can be adjusted by using the following filters in the functions.php file:

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1); 
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1); 
    function avf_set_quality_mod($quality) { $quality = 60; return $quality;}
    

    We recommend setting this to 70 or lower, then install an image compression plugin such as ShortPixel or Smush to further reduce file size and optimize the images. You may need to regenerate the thumbnails after the quality adjustment.

    https://wordpress.org/plugins/force-regenerate-thumbnails/

    Best regards,
    Ismael

    #1485051

    Hey!

    As mentioned earlier, the theme is configured to set a higher image quality than the WordPress default, which explains why the generated thumbnails are larger in file size. It’s also worth clarifying that image uploading and compression are handled entirely by WordPress, not the theme. This should be the same across all WordPress installations, so what you’re seeing isn’t specific to this theme.

    Have you tried adjusting the default compression level to 60 or lower? This should help further lower the file size of generated thumbnails and optimize them.

    After lowering the quality value to 60 or below, you can further enhance site performance by installing an image optimization plugin such as ShortPixel, Imagify, or Smush. This is a fairly standard practice in WordPress optimization, so it’s a bit surprising it wasn’t already suggested by your technical team.

    For more information on site optimization, please feel free to refer to the following links.

    https://gtmetrix.com/wordpress-optimization-guide.html
    https://wpengine.com/resources/improve-wordpress-site-speed/

    Regards,
    Ismael

    #1484993

    Hi,

    Thank you for the update. We were able to reproduce this on our end. To lower the file size, you can reset the default image quality back to 82 or lower by using the filter that we mentioned above.

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1); 
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1); 
    function avf_set_quality_mod($quality) { $quality = 82; return $quality;}
    

    After adding this code, the file size of the largest thumbnail decreased by more than half. If you want to make it smaller, use a lower quality value.

    View post on imgur.com

    For more info about the filter, please check this link: https://developer.wordpress.org/reference/hooks/jpeg_quality/

    Best regards,
    Ismael

    #1484956

    Hi,


    @soniavoice
    : Would you mind providing the original source of the image so we can upload it on our end? When we uploaded a 4.8MB PNG image directly to an Image element using the Advanced Layout Builder, the resulting full-size thumbnail is only 2MB — less than half the original size. It’s possible that is a plugin or custom script interfering with the WordPress media uploader on your installation.

    Best regards,
    Ismael

    #1484892
    This reply has been marked as private.
    #1484848

    Hey Sonia,

    Sorry for the delay. The theme automatically sets the quality of uploaded images to 100%, but this should not be the reason why the generated files are larger than the originals. Did you install any plugins related to images or compression?

    If necessary, you can reset the image quality to the WordPress default by adding this code to the functions.php file.

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
    function avf_set_quality_mod($quality) { $quality = 70; return $quality;}
    

    You may need to regenerate the thumbnails afterward.

    https://wordpress.org/plugins/force-regenerate-thumbnails/

    Make sure to create a site backup or restore point before regenerating the thumbnails.

    Best regards,
    Ismael

    #1484787

    Hi,
    With the child theme you don’t need the WP Code plugin as you could just add the code snippets into your chid theme functions.php file. But it doesn’t cause any issues to use the plugin. So you can use both.
    the plugins:
    Disable XML-RPC
    BETTER SEARCH AND REPLACE
    REGENERATE THUMBNAILS
    you probably don’t need now, since you don’t remember why you installed them.
    When I check your page: https://www.survivalfoodngear.com/long-term-food/
    the titles are using “p” not any “H” heading, so it seems to be working as you wish.
    Shall we close this thread now?

    Best regards,
    Mike

    #1484780

    GOOD DAY… UPDATE: I have successfully installed the child’s theme. One thing to note is that it did not save my theme settings, but I changed them back to my liking.

    Do I need the plug in now? It’s hard to tell what the product type size is now. My goal was to not have it an H2 or H3. The update has the type back to a larger size so it may still be an H size. Not sure how to check this??? CAN YOU ADVISE HOW I CAN BE SURE OF NO H2 OR H3 ON PRODUCTS?
    Since I have this childs theme now, does the code you give me go elsewhere instead of the plug in?

    Is there a link to help me understand the child’s theme and how my changes will not disappear on updates now? I do need to learn this.

    SORRY, I AM DOING THINGS BACKWARDS.

    If you don’t mind, I have one more question about the new theme. Over the years, you guys have helped with plugins and issue settings.

    WITH THE CHILD’S THEME NOW INSTALLED, ARE THESE PLUG-INS STILL NECESSARY?

    Disable XML-RPC – I don’t know what this does, and it says not tested for compatibility.
    BETTER SEARCH AND REPLACE. – Years ago you guys put in… dont remember what it does.
    REGENERATE THUMBNAILS – again, your team put in years ago..

    THANK YOU IN ADVANCE FOR ALL OF YOUR GREAT HELP!!!!

    • This reply was modified 1 month ago by extraeyes.
    • This reply was modified 1 month ago by extraeyes.
    • This reply was modified 1 month ago by extraeyes.
    #1484555

    Hey Bob,

    Thank you for the inquiry.

    If you want the default configuration (Appearance > Customize > WooCommerce) to apply to product images, you can add the following code to the functions.php file:

    add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 );
    function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) {
        return 'woocommerce_thumbnail';
    }

    Let us know the result.

    Best regards,
    Ismael

    #1484537
    cmactv
    Participant

    This is a continuation of this thread: https://kriesi.at/support/topic/tab-section-height-problem-3/

    Sorry to revisit this after so long. I was initially using this code successfully, but then had a strange problem and forgot to follow up with you on a solution.

    The problem… the text and thumbnails inside the tab section look like they are “pulsating”, slightly moving around. When I remove your code, then the “pulsating” stops. Not sure what is causing it. I’ve included a screening recording below (YouTube link).

    #1484536

    Thank you. I am working on setting up staging so I can convert to the child theme.

    IN THE MEANTIME.. I noticed my other website does not have the font so big, and after all this, I remember years ago I wanted the images bigger, so you gave me this code to put in the QUICK CSS…

    THERE ARE A FEW THINGS YOU GAVE ME IN HERE. CAN WE CHANGE THE PART FOR THE MAGAZINE TO HAVE A SMALLER FONT SIZE USING THIS CODE?

    I am giving you the whole section because I don’t know for sure which part is magazine and which is something else.

    THANK YOU IN ADVANCE FOR HELPING !!!

    THIS IS EVERYTHING IN THE QUICK CSS:
    p strong{
    color:#000!important;
    }

    #top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {
    color: white!important;
    }

    .av-magazine-thumbnail {
    min-height: auto;
    }

    #top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {
    color: white!important;
    }

    .av-magazine-thumbnail {
    min-height: auto;
    }
    div .slideshow_caption h2 {
    text-transform: none;
    }

    .av-magazine-thumbnail {
    width: 135px;
    height: auto;
    }

    @media only screen and (min-width: 768px) and (max-width: 1024px) {
    h2.avia-caption-title {
    font-size: 30px !important;
    }
    .avia-caption-content p {
    font-size: 22px !important;
    line-height: 24px;
    }
    }

    @media only screen and (max-width: 767px) {
    h2.avia-caption-title {
    font-size: 20px !important;
    }
    .avia-caption-content p {
    font-size: 14px !important;
    line-height: 16px;
    }
    .slideshow_caption {
    padding-top: 20px !important;
    }
    }

    #header_meta .menu li a {
    color: #fff !important;
    }
    .av-burger-overlay-scroll #av-burger-menu-ul a {
    color: #fff;
    }

    .html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a {
    color: #fff;
    }

    .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner, .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::before, .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::after {
    background-color: #fff;
    }

    #header_meta .sub_menu .menu li a {
    color: #030303 !important;
    }

    .avia_textblock a strong {
    color: blue !important;
    }

    #1484423
    a_edemirci
    Participant

    Hello,

    I am adding Youtube videos and when I move cursor over the video thumbnails, an overlay appears and push the video title down. Is there a way to remove this overlay. I have disabled the linked image overlays but it did not work. I am not using any caching plugin. Attached you can see the overlay I wish to remove. Thank you….

    #1484196

    Hey Helmut,

    Thank you for the inquiry.

    Those are the thumbnails registered by the theme. If you need to remove them, be sure to create a site backup, then use the remove_enfold_image_sizes function provided in this thread: https://kriesi.at/support/topic/prevent-auto-multi-image-generation/#post-1431800

    Best regards,
    Ismael

    #1484140

    In reply to: Lightbox settings

    Hello,
    for the thumbnail size i managed it, thanks

    But for the scroll, it doesn’t work for me with you code.

    i put this instead and it seams to be OK:

    .mfp-wrap.mfp-gallery.mfp-close-btn-in.mfp-auto-cursor.avia-popup.mfp-zoom-in.mfp-ready {
    top: 0 !important;
    position:fixed!important;
    }

    What do you think about it?

    #1484127

    In reply to: Lightbox settings

    Hey Pierre,

    Thank you for the inquiry.

    You can add this filter to the functions.php file to adjust the thumbnail size used in the lightbox container.

    function avf_alb_lightbox_image_size_mod($size) {
      return "full";
    }
    add_filter('avf_alb_lightbox_image_size', 'avf_alb_lightbox_image_size_mod', 10, 1);

    To disable scrolling when lightbox is active, use this code in the Quick CSS field.

    .mfp-zoom-out-cur {
        height: 100vh;
        overflow: hidden;
    }
    
    .mfp-bg {
        height: 100vh !important;
    }

    Best regards,
    Ismael

Viewing 30 results - 1 through 30 (of 10,043 total)