Viewing 30 results - 121 through 150 (of 1,181 total)
  • Author
    Search Results
  • #1377570

    Hi Mike,

    thanks for your reply. It’s okay if the content is public.

    I try to specify the issue (sorry for sometimes not being clear enough right away due to lack of the right words):
    There is an element after the tab section (submenu KULTUR/BILDUNG) and you have to scroll down quiet a while to reach it because the height of the whole tab section area corresponds to the heigth of the content of the tab “TEXT”. In the backend you can choose “Automatische Anpassung an den Inhalt” which I did.

    With the new js-file from pastebin this seems to be not working anymore.

    Best regards,
    Vera

    Hey 1117111,

    Thank you for the inquiry.

    To change the direction of a fullscreen slider from right to left to left to right, you’ll need to modify the CSS that is being used to style the slider.

    Here is an example of how you can do this using the Enfold theme:

    1.) In the WordPress dashboard, go to “Enfold > Theme Options”.

    2.) Click on the “General Styling” tab.

    3.) Scroll down to the “Quick CSS” field and enter the following code:

    #top .av_slideshow_full.av-control-default .avia-slideshow-arrows a {
      left: auto;
      right: 10px;
    }
    
    #top .av_slideshow_full.av-control-default .avia-slideshow-arrows a.next-slide {
      left: 10px;
      right: auto;
      transform: rotate(180deg);
    }
    

    This code will change the position of the left and right arrows in the slider so that they are displayed on the left and right sides of the slider, respectively.

    I hope this helps! Let me know if you have any other questions or if you need further assistance.

    Best regards,
    Ismael

    #1375199

    Hi,

    Thanks for that. Please try the following in Quick CSS:

    #scroll-top-link {
        right: auto;
        left: 50px;
    }

    Best regards,
    Rikard

    #1374531
    Eleina_Shinn
    Participant

    Hi, this message piggybacks on another thread about opening the team member descriptions in a lightbox, here:
    https://kriesi.at/support/topic/team-member-element-open-team-member-description-in-lightbox/

    I love the contribution by Guenni007 with CSS to open the lightbox in a horizontal format, so you can see the whole bio without scrolling down, and I’ve used it on this site: http://vac.eswebsitedesign.com/our-team/.

    The only problem is that the.team-member-name is not going below the picture, it’s beginning at the top and to the right, like it’s wrapping around the picuture – which is great in the lightbox, but not on the element on the page. I tried making the text smaller, but that didn’t help. Here’s a screenshot: https://nimb.ws/3k21Fz. The image also isn’t taking up the whole column space. You’ll see that the row underneath has team images without the class .white-popup and the images take up all space with name underneath – need the .white-popup images above to do the same thing. Would that be possible?

    This is the css from the thread mentioned above:
    .mfp-content {
    display: inline-flex !important;
    }

    .white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 800px;
    margin: 20px auto;
    }

    .white-popup .team-img-container {
    max-width: 300px;
    float: left;
    margin: 0 20px 10px 0
    }

    #1374509
    Nic_007
    Participant

    When working on the start page, when scrolling down, the logo suddenly merges into another photo from the library!
    The correct logo appears first, but it changes as you scroll down. In addition, the entire start page was suddenly shot, there was supposedly an automatic backup, the current one was according to the message on the dashboard. Unfortunately, the original page, which I had specially backed up, has also been changed during the backup. The menu is shot, the headline font too,
    What happened and how can I repair the damage? Due to my lack of time, this is really a small catastrophe!
    Please give me quick feedback. Thank you in advance.

    #1374487
    Nic_007
    Participant

    Bei der Arbeit an der Startseite ging das Logo beim Herunterscrollen auf einmal in eine anderes Foto von der Mediathek über!
    Erst erscheint erst das richtige Logo, aber beim Herunterscrollen ändert es sich. Zudem ist auf einmal die komplette Startseite zerschossen, angeblich gab es ein automatisches backup, das aktueller war laut Meldung im Dashboard. Leider ist bei der Sicherung nun auch die Ursprungsseite verändert worden, die ich extra gesichert hatte. Das Menü ist zerschossen, die Schrifttypo auch,
    was ist da passiert und wie kann ich den Schaden beheben? Aufgrund meiner Zeitnot ist das echt ne kleine Katastrophe!
    Bitte um schnelles Feedback. Danke vorab.

    #1371858

    Hey seo-systeme,

    Thank you for the inquiry.

    In the code below, we modified the parallax banner function a bit to include the category title and re-registers the template hooks. Please create a site backup, then add the code below in the functions.php file.

    
    
    function avia_woocommerce_big_cat_banner_mod()
    {
    	if(is_product_category())
    	{
    		global $wp_query, $avia_config;
    
    		if(isset($wp_query->query_vars['taxonomy']))
    		{
    			$term = get_term_by( 'slug', get_query_var($wp_query->query_vars['taxonomy']), $wp_query->query_vars['taxonomy']);
    			if( ! empty( $term->term_id ) )
    			{
    				$description 	= term_description() ;
    				$style		= avia_get_woocommerce_term_meta( $term->term_id, 'av_cat_styling' );
    				$attachment_id 	= avia_get_woocommerce_term_meta( $term->term_id, 'thumbnail_id' );
    
    				$overlay 	= avia_get_woocommerce_term_meta( $term->term_id, 'av-banner-overlay' );
    				$font 		= avia_get_woocommerce_term_meta( $term->term_id, 'av-banner-font' );
    				$opacity 	= avia_get_woocommerce_term_meta( $term->term_id, 'av-banner-overlay-opacity' );
    
    				if(!empty($style))
    				{
    					remove_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 11 );
    					echo avia_woocommerce_parallax_banner_mod($attachment_id, $overlay, $opacity, $description, $font);
    					$avia_config['woo-banner'] = true;
    				}
    			}
    		}
    	}
    }
    
    function avia_woocommerce_shop_banner_mod()
    {
    	global $avia_config;
    
    	if(is_shop() || (is_product_category() && avia_get_option('shop_banner_global') == 'shop_banner_global') && !isset($avia_config['woo-banner']))
    	{
    		$options = avia_get_option();
    
    		if( isset( $options['shop_banner'] )  && ( $options['shop_banner'] == 'av-active-shop-banner' ) )
    		{
    			$bg 		= $options['shop_banner_image'];
    			$overlay 	= $options['shop_banner_overlay_color'];
    			$opacity 	= $options['shop_banner_overlay_opacity'];
    			$description= wpautop( $options['shop_banner_message'] );
    			$font 		= $options['shop_banner_message_color'];
    
    			echo avia_woocommerce_parallax_banner_mod( $bg, $overlay, $opacity, $description, $font );
    		}
    	}
    }
    
    function avia_woocommerce_parallax_banner_mod( $bg, $overlay, $opacity, $description, $font )
    {
    	if( is_numeric( $bg ) )
    	{
    		$bg = wp_get_attachment_image_src($bg, 'extra_large');
    		$bg = ( is_array( $bg ) && $bg[0] != '' ) ? $bg[0] : '';
    	}
    
    	if( $font )
    	{
    		$font = "style='color:{$font};'";
    	}
    
    	if( $bg )
    	{
    		$bg = "background-image: url({$bg});";
    	}
    
    	$output  = '';
    	$output .= '<div id="av_product_description" class="avia-section main_color avia-section-large avia-no-border-styling avia-full-stretch av-parallax-section av-section-color-overlay-active avia-bg-style-parallax container_wrap fullsize" data-section-bg-repeat="stretch" ' . $font . '>';
    	$output .=		'<div class="av-parallax avia-full-stretch" data-avia-parallax-ratio="0.3">';
    	$output .=			'<div class="av-parallax-inner av-parallax-woo" style="' . $bg . ' main_color background-attachment: scroll; background-position: 50% 50%; background-repeat: no-repeat;">';
    	$output .=			'</div>';
    	$output .=		'</div>';
    
    	$output .=		'<div class="av-section-color-overlay-wrap">';
    
    	if( ! empty( $overlay ) )
    	{
    		$output .=		'<div class="av-section-color-overlay" style="opacity: '.$opacity.'; background-color: ' . $overlay . '; "></div>';
    	}
    
    	$output .=			'<div class="container">';
    	$output .=				'<main class="template-page content av-content-full alpha units">';
    
    	if( $description )
    	{
    		$title = get_the_archive_title();
    		$output .=				"<h1>{$title}</h1>";
    		$output .=				"<p>{$description}</p>";
    	}
    
    	$output .=				'</main>';
    	$output .=			'</div>';
    	$output .=		'</div>';
    	$output .= '</div>';
    
    	return $output;
    }
    
    add_action('after_setup_theme', function() {
        remove_action( 'ava_after_main_container', 'avia_woocommerce_shop_banner', 11 );
        remove_action( 'ava_after_main_container', 'avia_woocommerce_big_cat_banner', 11 );
        add_action( 'ava_after_main_container', 'avia_woocommerce_shop_banner_mod', 11 );
        add_action( 'ava_after_main_container', 'avia_woocommerce_big_cat_banner_mod', 11 );
    }, 999);
    

    Best regards,
    Ismael

    Hi,

    But unfortunatley that´s not a solution because this value is way to much for the smartphone view.

    You can add css media queries and adjust the minimum height value on different screen sizes. Again, the jump is not visible or noticeable when there are images in the slide because the document automatically scrolls to the active slider. Do you still see the jump when the slider images are present and after the document scrolls to the active slider?

    Best regards,
    Ismael

    #1370266

    Hey dvalansi,

    Thank you for the inquiry.

    enfold is auto scrolling to the top to display the image

    This seems to be the default behavior of the gallery plugin. You may need to ask the plugin authors if it is possible to prevent scrolling when navigating through the gallery. Have you tried the plugin using any of the default themes (twenty-*)?

    Best regards,
    Ismael

    #1370223
    dvalansi
    Participant

    Hi, the issue I am having is that when I scroll through photos, enfold is auto scrolling to the top to display the image, but its cutting off the caption. Is there a way to disable this

    #1369471

    In reply to: menu scroll

    yes – that they goes to the right side – but on iphone12 landscape you could not scroll to those items on the bottom !
    If you set the overflow-y to auto or scroll the flyout will not be seen.

    #1368562

    In reply to: Registration

    Hello,

    I have one more question please.

    My site got put on auto update and unfortunately the last update has cause the mobile view to display wrong.

    When you first load the mobile page, it is extremely magnified.

    As you scroll down, the top and bottom menu resize to fit the screen, but the body of the site drags off to the right.

    I have tried using the media queries to fix this, but changing the code did not change the issue.

    Do you have any advice on how to fix this?

    Thank you,

    Michael Callahan

    #1363208

    Hi Mike,

    thanks for your Input!

    – the scroll-up button is great. Can it just be on the /backhandwerk/ page? As this is the only “scroll-heavy” page. Is it possible to define a color for the square-form of the scroll-up button?

    – as you recommended on july 24th, i added the CSS to make the category filter sticky (you need to be logged out or in private window to make the sticky filter work). So now it stays with the content. When users are scrolling down (and the filter sticks) and than choosing a category (with fewer products) it seems that there are no products shown, although there are – This is especially when scrolling down in the “All” category, which is where most users start to scroll i guess. The reason is, that the page stays down and. Thats why the auto-scroll-up-funtionality after selecting a category would be so helpful. I tried to explain this with some screenshots. Please also consider the file names. Hope this clarifies the issue.

    Thanks for you help!

    Best regards,
    Mike

    Hi,

    Thanks for that. It looks like the home page is scrolling down slightly automatically for some reason. Your CSS is being served from a location which is not generated by the theme, and you are not running any plugins. What is causing the styling to be served from the example location in private?

    Best regards,
    Rikard

    #1360869

    Yep, it’s 5.1.1. In fact I’ve just deactivated the “full width mode”, and the bar stopped floating. Thanks Rikard! Issue closed.

    As I said, it is useful to have the elements always available: you can drag the elmenet from the bar and drop it exactly where you want, instead of dragging it down the whole page (and if you have long pages, it’s quite annoying). But it is giving other side effects, like (as I mentioned) the fact that you cannot drag an element along the page anymore, because the page does not scroll automatically when you drag the item at the limit of the page. Then, sometimes the floating bar is hiding some parts of the page…. therefore: it’s a rather “good bug” :-)

    Bye!
    A.-

    #1360832
    mistermagoo8691
    Participant

    Hi folks. The elements bar in the editor is currently floating, when I am scrolling up and down the page. See the video:
    https://youtu.be/r3eLv3Q_DAI

    Is it a feature of the latest version of Enfold that I recently activated mistakenly? It is useful when you need to add an element in the middle of a long page, but it makes it impossibile to drag elements along the page making it scrolling it automatically.

    (cleared the cache, used another browswer/PC: done already)

    THX
    Bye,
    A.-

    #1360416

    Hey Tia,

    Thank you for the inquiry.

    We updated the jQuery script a bit. Please try to replace the script tag content with the following code.

    
    jQuery(document).on('load', function(){
        jQuery('.avia-image-container.team-popup a.avia_image').addClass('team-popup-link');
        jQuery('.team-popup-link').addClass('no-scroll');
        jQuery('.team-popup-link').magnificPopup({
            type:'inline',
            midClick: true,
                fixedContentPos: true,
                overflowY: 'hidden'
        });
    });
    

    And according to a discussion, you can use this css code to completely prevent scrolling when the lightbox is open.

    .mfp-zoom-out-cur {
         width: 100%;
         position: fixed;
         overflow: auto;
    }
    
    .mfp-wrap {
         top: 0 !important;
    }
    

    Best regards,
    Ismael

    #1360247

    Hey Michael,

    Thank you for the inquiry.

    The following script should force the document to automatically scroll to the tab section on page load when a hash or an anchor that points to a tab exists. Please add it in the functions.php file.

    
    // custom script
    // scroll to active tab section
    function ava_custom_script_tab_section_scroll() {
        ?>
        <script type="text/javascript">
        (function($) {
            function av_trigger_scroll_to_tab(s, e,) {
                $(s).on(e, function(event) {
                    var load = e == 'load';
                        loc = load ? window.location.hash : $(this).attr('href'), 
                        hash = load ? loc : loc.substring(loc.indexOf('#')),
                        tab = $('.av-section-tab-title[href='+ hash +']'),
                        parent = tab.parents('.av-tab-section-outer-container'),
                        pos = parent.offset();
        
                    tab.trigger('click');
                    
                    if(hash) {
                        setTimeout( function() {
                            $(window).animate({scrollTop: pos.top - 100});
                        }, 300 );
                    }
                });
            }
            
            $(document).ready(function() {
                var tabs = $('.av-tab-section-container');
    
                if(tabs.length == 0) return;
    
                av_trigger_scroll_to_tab( '.menu-item a', 'click' );
                av_trigger_scroll_to_tab( window, 'load' );
            });
        })(jQuery);
        </script>
        <?php
        }
        add_action( 'wp_footer', 'ava_custom_script_tab_section_scroll', 9999 );
    

    Best regards,
    Ismael

    #1358724

    In reply to: Printer friendly help

    Hey virtualbis,
    Thanks for your question, have you set up a media print styling?
    Enfold only includes basic print styles in \enfold\css\base.css
    this is what is there:

    /* Print Styles
    ================================================== */
    @media print{
    .page-break{display:block;page-break-before:always}
    p,a,strong{color:#000!important}
    a{text-decoration:underline}
    .entry-content a:after{content:" [" attr(href) "] "}
    .related_posts a:after{content:attr(title)}
    .container{width:100%}
    #top{overflow-x:hidden}
    .boxed#top{width:100%}
    .container{width:100%;margin:0 auto}
    .units,.unit{margin:0}
    .container .one.unit,.container .one.units,.container .two.units,.container .three.units,.container .four.units,.container .five.units,.container .six.units,.container .seven.units,.container .eight.units,.container .nine.units,.container .ten.units,.container .eleven.units,.container .twelve.units,#top .flex_column{margin:0;margin-bottom:20px;width:100%}
    #top.boxed .stretch_full{width:100%}
    #top .offset-by-one,#top .offset-by-two,#top .offset-by-three,#top .offset-by-four,#top .offset-by-five,#top .offset-by-six,#top .offset-by-seven,#top .offset-by-eight,#top .offset-by-nine,#top .offset-by-ten,#top .offset-by-eleven{padding-left:0}
    .avia-section-large .content,.avia-section-large .sidebar{padding-top:2%;padding-bottom:2%}
    #top .flex_column.av_one_half{width:48%}
    #top .flex_column.av_one_half.first{padding-right:2%}
    .fixed_header #header,.html_header_top.html_header_sticky #header{position:relative;top:0}
    .fixed_header #main{padding-top:0}
    #header_main{border-bottom:0}
    nav,#footer,#scroll-top-link,#av-cookie-consent-badge,.image-overlay,#top #main .sidebar,#commentform,.comment_container .miniheading,.comment_container .minitext,#top .avia-post-nav{display:none}
    .avia-shadow{box-shadow:inset 0 0 0 rgba(0,0,0,0)}
    .grid-entry .inner-entry{margin-right:0;box-shadow:0 0 0 0 rgba(0,0,0,0);box-shadow:0 0 0 0 rgba(0,0,0,0)}
    .content{border:0}
    .boxed .container{margin:0}
    .avia-layerslider,.avia-fullwidth-slider{display:none}
    .avia_transform .avia-icon-list .iconlist_icon{opacity:1;-moz-transform:scale(1);-webkit-transform:scale(1);transform:scale(1)}
    #top .tab_titles{display:none}
    #top .tabcontainer .tab.fullsize-tab{display:block;border-bottom:none}
    #top .tab_content{display:block;visibility:visible;z-index:3;position:relative;overflow:auto;border-style:solid;border-width:1px;border-radius:2px;left:0;width:auto;background-color:#fcfcfc;color:#666}
    #top .tab_inner_content{left:0}
    #top .toggle_wrap{visibility:visible;display:block;position:static}
    .grid-sort-container{width:60%;margin:0 auto}
    #top .isotope-item{position:initial!important;top:0!important;left:0!important;-webkit-transform:translate3d(0,0,0)!important}
    .avia-progress-bar{margin:5px 0;border:1px solid #555!important;border-radius:3px!important}
    .avia-progress-bar .progress{box-shadow:inset 0 0 0 0 rgba(0,0,0,0)!important;border:0!important}
    .avia-progress-bar div.progress .bar{border:0 solid;border-right:1px solid #555!important;border-radius:0}
    .avia-testimonial-image{margin:0;width:100%;float:none;text-align:center;margin-bottom:15px;height:auto}
    .avia-grid-testimonials .avia-testimonial-meta{margin-left:0}
    body div .avia-testimonial{display:block;float:left}
    .avia_transform .avia-testimonial .avia-testimonial-image{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}
    .avia_transform .avia-gallery-thumb img{opacity:1}
    }

    You can add more to your child theme stylesheet by wrapping it in the print media query:

    @media print{
    /* your print style */
    }

    Best regards,
    Mike

    #1356991
    blaircomm1
    Participant

    How do I unfix an iframe aspect ratio in Enfold. It is 16/9 and I can set the width, but the height remains proportionally same on all devices from phones to large desktops. I want the iframe to be 100% screen height no matter what screen it is on, and the width to be 90vw, which I can do. But the height shrinks the smaller the screen and nothing changes the aspecty ratio.

    I am embedding a scrolling web page in the iframe and it needs to stay at 100% screen height and let the width be responsive at 90vw. The content is responsive already, it’s just the iframe I cannot change the height aspect ratio of. Is this constrained by a container I can’t fin d?

    Is there a way to do this?

    This is what I have:

    .mfp-iframe-holder .mfp-content {
    height: 100%!important;
    width: 100%!important;
    max-width: 90vw!important;
    max-height: 100vh!important;
    min-height: 100vh!important;
    position:absolute;
    top:opx;
    left:0;
    right:0;
    iframe align:top
    margin: 0px;
    padding: 0px;
    overflow-y: auto;
    overflow-x: auto;
    scrolling=”auto
    }

    #1356598

    yes – and the script is something i wrote in former enfold versions to have that behavior. No scroll on the background as long as the lightbox is opened.
    But for a while i do not need to insert that code above to have that – and i thought it is due to enfold got this as the normal behavior. But now i see on new demo that now i can scroll even the lightbox out of sight ( with the background )

    there is the possiblity to set in the callback :

          callbacks: {
            beforeOpen: function () {
              $('html').css("overflow-y", "hidden");
            },
            close: function() {
              $('html').css("overflow-y", "auto");
            },
          },

    that will do the job too.

    And very strange on that page here: https://enfold.webers-webdesign.de/#portfolio i wrote a custom magnificPopup script to change some settings ( animations ) but not these overflow-y thing from above.
    Only doing this the html styles are set. And you see that trying to scroll the background or the lightbox container does not work.

    but when i look to the js/avia-popup/jquery.magnific.popup.js file there are a lot of hints concerning to : fixedContentPos – and i thought that for a while this was default behavior.

    #1356517
    Guenni007
    Participant

    What has changed in Enfold 5?
    on previous versions of Enfold I think it was that when the lightbox was open it was fixed, and only the body could still scroll.
    This is not the best behavior, a fixed body with the lightbox open would be best.
    But now we have scrolling for the lightbox container as well? Is there a reason for this?
    Open an image and scroll with your mouse:
    https://kriesi.at/themes/enfold-parallax/#portfolio
    PS:
    Looking at the old Enfold demos, I guess my assertion is not true. But wouldn’t that be a desirable behavior of the lightbox?

    yes i can put this to child-theme functions.php to have that:

    function custom_lightbox_script(){
    ?>
    <script type="text/javascript">
    (function($) {
        function a() {
          $('body').on('click', '.lightbox-added', function() {
            if($('.mfp-bg').length >= 1) {
              $('html').css("overflow-y", "hidden");
            } 
          });
          
          $('body').on('click', function() {
            setTimeout( function() {
              if($('.mfp-bg').length == 0) { 
                $('html').css("overflow-y", "scroll");
              }
            },500);   
          });
        }
      a(); 
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_lightbox_script');

    but i think some settings on the lightbox options will be more performant
    fixedBgPos true/false
    overflowY auto / scroll / hidden

    #1355026
    InSilentio
    Participant

    Hi,
    1: i added a video which is hosted local.
    It is set to autoplay WITH sound.
    – it does not play sound. Why not?

    2: the player element for loudness is in the right corner but it can not be “touched / reached”.So either manually it is not possible to turn the sound on.
    Its YOUR element that blocks touching it:
    <div class="av-click-overlay"></div>

    3: The Video is full HD
    Since there is the header bar with the menu users dont see the player elements on the bottom of the video.
    User have to scroll down first to reach the playerelements.
    How can i solve this in a way that users see the whole video WITH the playerbar without scrolling?
    (I just solved it by cutting the video into 1920 x 830 instead of Full-HD and a bit CSS but i would like to have a better solution)

    Code and URL in private field

    kind regards
    Elvira

    • This topic was modified 3 years, 7 months ago by InSilentio.
    • This topic was modified 3 years, 7 months ago by InSilentio.
    • This topic was modified 3 years, 7 months ago by InSilentio.
    #1354970

    Hi,
    For that page try this css:

    #top.page-id-38 .flex_column.avia-builder-el-2 {
    	 overflow: auto;
    }

    but on that page the color section that the table is in is hidden on mobile.
    If you have multiple tables on multiple pages then I recommend add a custom class to the column that the table is in, if you use the custom class “scroll-table” then you could use this css instead:

    #top .scroll-table {
    	 overflow: auto;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1350991

    Hi,

    Thank you for your patience.

    On Firefox, the scroll position is correct on initial load and when you do a hard refresh, which means that the script only fires correctly when you actually refresh the page. Firefox doesn’t seem to automatically refresh the page when you try to access it again by pressing the ENTER or RETURN key in the URL field. You have to do a hard refresh manually. On Chrome, this always works because the browser always refreshes the page automatically when you try to access the page again using the browser URL field. Scrolling also works correctly when you try to access the section using the anchor links at the very bottom of the page.

    We modified the filter in the functions.php file a bit to adjust the offset on firefox browser but again this will only work on Firefox if the page is actually refreshed.

    function avf_header_setting_filter_mod($header) {
    	$offset = strpos($_SERVER['HTTP_USER_AGENT'], "Firefox") === false ? 50 : 75;
    
    	if( ! wp_is_mobile() ) {
    		$header['header_scroll_offset'] = $header['header_scroll_offset'] + $offset;
    	}
    	return $header;
    }
    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);
    

    Best regards,
    Ismael

    TheBiZWeavers
    Participant

    Hi
    I added a while back the following code to display the TOC, with the help of you guys.

    add_shortcode('toc', 'avs_toc_function');
    function avs_toc_function() {
        $args = array (
            'name' => 'Displayed Everywhere',
            'id' => 'av_everywhere',
            'description' => '',
            'class' => '',
            'before_widget' => '<details>  <summary>Table of Contents</summary><section id="avia_auto_toc-2" class="widget clearfix avia_auto_toc">',
            'after_widget' => '<span class="seperator extralight-border"></span></section></details>',
            'before_title' => '',
            'after_title' => '',
            'widget_id' => 'avia_auto_toc_custom',
            'widget_name' => 'Enfold Child Table of Contents',
            );
    
        $instance = array (
            'title' => ' ',
            'exclude' => '',
            'style' => '',
            'level' => 'h2',
            'single_only' => 0,
            'indent' => 1,
            'smoothscroll' => 1,
            );
    
    	ob_start();
    	$toc = new avia_auto_toc;
    	$toc->widget($args, $instance);
    	$output = ob_get_clean();
    
    	return $output;
    }

    After the latest update i get the error Fatal error: Uncaught Error: Class ‘avia_auto_toc’ not found
    if i comment the code, the pages loads but the TOC is not showing.

    I have a lot of posts that uses this shortcode to present the TOC.

    Can you help figure out a solution.

    Thank you

    babyboymik
    Participant

    Hello there

    I have tested my website through various devices with different resolutions and different modes.

    1. The first issue I detected is landscape mode mainly on android devices. When switched to landscape, the right sidebar appears and some content is cut off. I have the option in settings turned on where for mobile devices, sidebars are switched off. In portrait mode, the sidebar does not appear. But when switched to landscape, it appears and nothing auto-adjusts. The thing is I want the mobile version on android and iPhone to be without sidebars, both landscape and portrait modes. I have attached a screenshot with the landscape mode in private content.

    2. I have tested my website on other resolutions where the logo, menu, etc. overlap on certain resolutions. I have attached images of these devices in private content.

    My extra coding consists of the following incase there is something in there that needs a minor change:

    #scroll-top-link, #av-cookie-consent-badge {
    color: #000000;
    background: #f6971a;
    border: 2px solid #000000;
    }
    @media only screen and (max-width: 479px) {
    .responsive #top .logo img {
    max-height: 100px !important;
    }
    }
    .cmc_global_data ul li .global_d_lbl {
    font-weight: 600;
    font-size: 90%;
    background: transparent;
    color: #00000;
    border: transparent;
    margin-right: 0px;
    }
    .cmc_global_data ul li .global_data {
    font-size: 11px;
    white-space: nowrap;
    display: inline-block;
    }
    @media only screen and (max-width: 767px) {
    #header_meta {
    display: none;
    }
    }
    h1 {
    font-weight: bold;
    color: #000000;
    font-size: 24px;
    }
    h2 {
    font-weight: bold;
    color: #fff;
    font-size: 18px;
    }
    .slide-meta {
    display: none!important;
    }

    #top #wrap_all .avia-post-nav {
    background: rgb(246 151 26 / 72%);
    height: 150px;
    }
    .avia-post-nav:hover .entry-info-wrap {
    width: 300px;
    }
    .avia-post-nav .entry-info {
    width: 275px;
    height: 120px;
    }

    Let me know as soon as possible how to fix these issues :)

    • This topic was modified 3 years, 9 months ago by babyboymik.

    Hi,

    Thank you for the inquiry.

    The page should scroll automatically to the open toggle on load. This is declared in the config-templatebuilder/avia-shortcodes/toggles/toggles.js file > trigger_default_open function around line 160.

    window.scrollTo(0, container.offset().top - 70);
    

    It is possible that a plugin is preventing the page from scrolling to the active toggle. Have you tried disabling the plugins temporarily?

    You should also update the theme to version 4.9.2.1 as soon as possible.

    Best regards,
    Ismael

    #1346755
    THP Studio
    Participant

    Hey Gunter,

    I was wondering if the Horizontal Gallery ALB element could get some attention soon.

    Would really enhance the usefulness of this element if it had the following features:

    – Autoscroll on/off
    – Continuous scroll (eg: when it gets to the last slide it continues to the first one, rather than hitting a dead end) on/off
    – Use either images or posts (exactly like the Accordion Slider, where you can select either Image based, or Entry based)
    – Display of captions/text on/off

    On this last point, we have some custom code to output the images title or ALT on the page (see private field), but can’t seem to work out how to get a Caption to display. When building the element and inserting the gallery, you can setup captions and an image link. But this caption never seems to get outputted in the page code anywhere? Could it be? That way at least we could use that as a title for the images, but without affecting the image title/ALT tags globally (as these images are in use in other areas of the site as well).

    Finally, just a Q to do with adding image links via the gallery. I see that it adds any custom link to the media library’s data as well. So does this mean that if this image is used in other parts of the site as well, that this image will always link? Is there a way to add links to the images in the Horizontal Gallery that wouldn’t allow that?

    I hope that all makes sense, and I can’t wait to see what you have in store for Enfold 5 :)

    Thanks Gunter,

    Tim.

    #1343997

    Hi, I found this script, but I’m facing the same issue: auto-scroll on page load (without any click).
    I’ve also tried deactivating all plugins and other scripts. Same odd result.
    I’ve also tried .on(‘click’) instead of .click()…same same

    This is what I get in the console:
    The service worker navigation preload request was cancelled before ‘preloadResponse’ settled. If you intend to use ‘preloadResponse’, use waitUntil() or respondWith() to wait for the promise to settle.

    Any thoughts? Thanks!

Viewing 30 results - 121 through 150 (of 1,181 total)