Viewing 30 results - 211 through 240 (of 1,181 total)
  • Author
    Search Results
  • shawnbanack
    Participant

    I have a decent amount of text contained within a single-toggle accordion. In Chrome, if I scroll passed the accordion so it is in the upper half of the page and click the toggle to view the information, the page automatically scrolls down slightly, cutting off the first line of the information contained within the toggle. This only happens in Chrome and does not happen in Microsoft Edge. I tried disabling all plugins to no avail (although I have nothing out of the ordinary running). I have included screenshots of the the scroll-to location prior to clicking, as well as the result showing the data being cut off due to the shift.

    Also, on mobile, when I expand an accordion/toggle, after closing it, the toggle receives an orange border up the two sides and on top. A screenshot of this is also attached. None of my borders or backgrounds are set to this color, so I am uncertain of what is causing this or how to avoid it.

    Thanks!

    #1293993
    spirani91
    Participant

    Majority of the times (if not all), when I load my homepage, the images in the masonry don’t always automatically load. You have to scroll further down to the point where the masonry gallery is off the screen, then scroll back up for it to load. Is there any fix for this?

    #1293846

    Hey johnjosephjohansson,

    Thank you for the inquiry.

    The script is not yet working because it is currently listening for any click events done on the default menu items, but it looks like you are using the button element. To fix that, you have to look for this line..

    scrollToTab( ‘.menu-item a’, ‘click’ );
    

    .. and replace it with this.

    scrollToTab( ‘.avia-button’, ‘click’ );
    

    Make sure that the button link corresponds to the tab section title or ID. So with that in mind, the button link should be set to “#coffee–pastries” when you want that button to open the Coffee & Pastries tab. And if you are wondering about the double hyphen between coffee and pastries, that is because the theme automatically replaces spaces with hyphen and removes special characters, which in this case the character “&”.

    Best regards,
    Ismael

    #1293510

    Hi Ismael,
    Thank you for the update, but it’s not working as expected.
    Premise: no cache plugins, browser cache always empty, enfold minifications all disabled.
    Added “a” to your code:
    jQuery(‘open-popup-link-button a, .open-popup-link’).addClass(‘no-scroll’);
    jQuery(‘open-popup-link-button a, .open-popup-link’).magnificPopup({

    The strange thing is that the code works every now and then. Let’s say once every 15/20 attempts. In another installation I have it never works.
    My code now is:

    function popup_inline() { ?>
    <script type="text/javascript">
    jQuery(window).load(function(){
    	jQuery('.open-popup-link-button a, .open-popup-link').magnificPopup({
    	  type:'inline',
    	  midClick: true // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href.
    	});
    });
    </script>
    <?php }
    
    add_action('wp_head', 'popup_inline');
    
    function no_background_scroll_on_lightbox_open(){ ?>
    <script type="text/javascript">
    (function($) {
        jQuery(window).load(function(){
    	jQuery('open-popup-link-button a, .open-popup-link').addClass('no-scroll');
    	jQuery('open-popup-link-button a, .open-popup-link').magnificPopup({
    		type:'inline',
    		midClick: true,
    		callbacks: {
    			beforeOpen: function () {
    				jQuery('body').css("overflow-y", "hidden");
    			},
    			close: function() {
    				jQuery('body').css("overflow-y", "auto");
    			},
    		},
    	});
       });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'no_background_scroll_on_lightbox_open');

    If you want to take a look, in private content you will find the credentials to enter the website.

    Best Regards
    Manu

    #1292390

    Hi,

    Thank you for the info.

    The solution by @Guenni007 in the following thread might help. It inserts additional callbacks and applies the “no-scroll” class name to the open-popup-link element.

    // function no_background_scroll_on_lightbox_open(){
    ?>
    <script type="text/javascript">
    (function($) {
        jQuery(window).load(function(){
    	jQuery('.open-popup-link').addClass('no-scroll');
    	jQuery('.open-popup-link').magnificPopup({
    		type:'inline',
    		midClick: true,
    		callbacks: {
    			beforeOpen: function () {
    				jQuery('body').css("overflow-y", "hidden");
    			},
    			close: function() {
    				jQuery('body').css("overflow-y", "auto");
    			},
    		},
    	});
       });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'no_background_scroll_on_lightbox_open');
    

    Thread: https://kriesi.at/support/topic/lightbox-17/page/2/

    Best regards,
    Ismael

    chrizz06
    Participant

    Hi there,
    on one of my pages I would like to put several masonry gallery elements (4-6) to show the products within one category. The first and second masonry galleries load just fine, but as I scroll down, the third masonry gallery remains empty and doesn’t load their products/images until I scroll at the very end of the page and up again. The forth and fifth masonry sometimes don’t load at all and never before scrolling several times to the bottom of the page and up again.
    I already checked the forum for solutions but neither seems to be working. Yes, lazyload is turned of in both, the Enfold performance settings and the Autoptimize settings as well.
    Please help
    Thanks a lot in advance..
    Kind regards, Chris

    #1291983

    Hey hooman80,

    Thank you for the inquiry.

    Did you add a custom script for this effect? You might be able to accomplish the same thing by setting the initial opacity of the header to 0, and only set it back to 1 when the class name header-bg-transparent-color is present.

    #header {
    opacity: 0;
    }
    
    #header.header-bg-transparent-color {
    opacity: 1;
    }
    

    The class name is automatically removed on scroll, hiding the header.

    Best regards,
    Ismael

    #1290228
    bigamist
    Participant

    Hi,

    I have 2 forms in my website and the “Auto-responder” is not working. After testing several times, the Auto-responder message never arrive.
    What am I doing wrong?

    Also, I would like that, after the user “SUBMIT” the form, that the page scroll up, in order for the user to see the SHORT MESSAGE, on same page.
    Is that possible?

    Thanks & Regards

    Joao

    #1290115

    Yigit,

    Thanks, that worked.

    We also wanted the same ‘look’ on the Home page with the same 4 pics, so we used your code and changed the page ID to 19. It doesn’t seem to be working (we cleared all the caches). Did we do something wrong?:

    @media only screen and (max-width: 480px) {
    .responsive #top.postid-19 #wrap_all .slide-entry {
    width: 100%;
    margin-left: 0;
    padding-bottom: 30px;
    }
    }

    ALSO, there is still no space above the third pic down on the Blog page (on mobile and only in ‘portrait’ orientation).

    So, here is both the Quick CSS And the Custom CSS file for you to look at.

    Thanks for your help on this!
    Mark Besh
    Visual Impact Systems

    =========================

    QUICK CSS:
    #top #header .av-main-nav > li > a, #top #header .av-main-nav > li > a > .avia-menu-text {
    background-color: transparent !important;
    color: #333333 !important;
    font-size:18px !important;
    }

    .html_elegant-blog #top .avia-content-slider .blog-categories {
    display: none;
    }

    #top .container_wrap {
    border: none;
    }

    .main_color input[type=’submit’]:hover {
    background-color: rgba(0,100,168,0.2);
    }

    .slide-content .av-vertical-delimiter {
    display: none;
    }

    .current-menu-item > a > .avia-menu-fx {
    opacity: 0;
    }

    .slide-meta{
    display:none!important;
    }

    span.avia-menu-fx {
    height: 5px;
    }

    .postid-240 .iconbox_content {
    background: #f9f9f9 !important;
    border: 2px solid #dddddd;
    }

    @media only screen and (max-width: 767px) {
    .responsive #scroll-top-link {
    display: block !important;
    }}

    .postid-31 .avia_layout_row {
    max-width: 1310px !important;
    margin: 0 auto !important;
    border: none !important;
    }

    =========================

    CUSTOM CSS:
    /* Have fun adding your style here :) – PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

    /* General Custom CSS */

    /*
    Desktop Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

    @media only screen and (min-width: 768px) {
    /* Add your Desktop Styles here */

    }

    /*
    Mobile Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

    @media only screen and (max-width: 989px) {
    /* Add your Mobile Styles here */

    }

    @media only screen and (max-width: 989px) {
    #top.home #av-layout-grid-1 .avia-builder-el-8,
    #top.home #av-layout-grid-1 .avia-builder-el-11,
    #top #av-layout-grid-1 .avia-builder-el-5,
    #top #av-layout-grid-1 .avia-builder-el-8 {
    display: none;
    padding: 0 !important;
    }
    #top h3 a {
    font-size: 18px;
    text-transform: none;
    }

    .responsive #top.postid-25 #wrap_all .flex_column {
    margin-bottom: 0;
    }
    #top.postid-25 .content {
    padding-bottom:0;
    }
    }

    @media only screen and (max-width: 989px) {
    #top .no_margin.av_three_fifth.avia-builder-el-6 {
    padding: 30px 50px 0 !important;
    }
    }

    @media only screen and (max-width: 989px) {
    #top .no_margin.av_three_fifth.avia-builder-el-9 {
    padding: 30px 50px 0 !important;
    }
    }

    @media only screen and (max-width: 480px) {
    .responsive #top.postid-25 #wrap_all .slide-entry {
    width: 100%;
    margin-left: 0;
    padding-bottom: 30px;
    }
    }

    @media only screen and (max-width: 480px) {
    .responsive #top.postid-19 #wrap_all .slide-entry {
    width: 100%;
    margin-left: 0;
    padding-bottom: 30px;
    }
    }

    =========================

    #1288941

    I’ve tried my hardest to get this to work by adding in default_args and get nothing but errors

    					static public function default_args( array $sc_defaults = array() )
    		{
    			$default = array(
    						'size'				=> 'featured',
    						'lightbox_size'		=> 'large',
    						'animation'			=> 'slide',
    						'transition_speed'	=> '',				//	in ms - empty for default
    						'conditional_play'	=> '',
    						'ids'				=> '',
    						'video_counter'		=> 0,
    						'autoplay'			=> 'false',
    						'bg_slider'			=> 'false',
    						'slide_height'		=> '',
    						'handle'			=> '',
    						'interval'			=> 5,
    						'class'				=> '',
    						'el_id'				=> '',
    						'css_id'			=> '',
    						'scroll_down'		=> '',
    						'control_layout'	=> '',
    						'content'			=> array(),
    						'custom_markup'		=> '',
    						'perma_caption'		=> '',
    						'autoplay_stopper'	=> '',
    						'image_attachment'	=> '',
    						'min_height'		=> '0px',
    						'lazy_loading'		=> 'disabled'
    				);
    			
    			if( empty( $sc_defaults ) )
    			{
    				return $default;
    			}
    			
    			/**
    			 * Override the defaults from shortcode options for backwards comp.
    			 */
    			return array_merge( $sc_defaults, $default );
    		}
    
    #1284948

    Yes, i tried it up, under, next to other codes. It just not work. Caching is disabled in developer view in chrome.

    Thats all CSS i use currently:

    /* Socket (Fusszeile) sichtbar */
    @media only screen and (min-width:959px){
    #top #socket {
        position: fixed;
        width: 100%;
        bottom: 0;
        z-index: 999;
    }}
    /* Text und Ausrichtung Masonry (Blog, Datenbank) */
    .av-inner-masonry-content {
    	min-height: 80px;
    	text-align: center;
    }
    .minitext {display: none !important}
    /* Nach oben Scollen Knopf auf iPhone, iPad */
    @media only screen and (max-width: 767px) {
    .responsive #scroll-top-link {
        display: block !important;
    }}
    /* Vollbild Bilder scrollen unterdrücken */
    .avia-fullscreen-slider .avia-slideshow {
    max-height: 86vh!important;
    }
    /* Farbe für die Masonry Beschriftungen */
    .main_color .container .av-inner-masonry-content, .main_color .container .av-inner-masonry-content .avia-arrow {
    background: #fafafa;
    }
    /* Masonry maximal 4 Spalten */
    @media only screen and (min-width: 1800px) {
    .responsive.html_av-framed-box .av-masonry-col-flexible .av-masonry-entry.av-landscape-img {
        width: 49.80%; 
    }
    .responsive.html_av-framed-box .av-masonry-col-flexible .av-masonry-entry {
        width: 24.90%;
    }}
    /* Inhalte in der Fußzeile am Rand behalten und Kosmetik */
    #socket {
       left: 0;
    }
    #socket .container {
       max-width: 96%;
       padding-left: 0;
       padding-right: 0;
       margin: 0 auto;
    }
    footer#socket.container_wrap.socket_color{
    border:0px!important;
    }
    /* Senden Button unter Kontakt volle Breite*/
    #top .avia_ajax_form .button {
        width: 100%;
    }
    /* Comment labels on top of the forum fields */
    #top #commentform label {
        position: relative;
        left: 0;
    }
    /* Kommentarsenden Button in voller Breite*/
    #commentform .form-submit input {
      width:100%;
    height:46px;
    }
    
    /* Kommentarfeld Webseite ausblenden */
    #top #wrap_all .comment-form-url {
      display: none;
    }
    /* Kommentarfelder nebeneinander */
    #commentform p.comment-form-author,
    #commentform p.comment-form-email
    { 
      display:inline-block;
    }
    /* Kommentarfeld-Breite */
    p.comment-form-author, p.comment-form-email {
          width: 49,7%;
    }
    p.comment-form-author input, p.comment-form-email input, p.comment-form-url {
          width: 100%;
    }
    /* Kommentarfeld Privacy Checkbox korrekt platzieren */
    #top #commentform .form-av-privatepolicy.comment-form-av-privatepolicy  label {
        left: 20px;
        top: -28px;
    }
    • This reply was modified 4 years, 10 months ago by Pako.

    Hi Victoria,
    unfortunately it isn’t working, I think because of the other css. This is in it:

    #avia-menu a .avia-menu-text{
    font-size:13px!important;
    text-align: center;
    }

    #header .mega_menu_title { text-align: center; }

    div.av-masonry-sort {
    background: #000;
    }
    #top .av-masonry {
    background-color: black !important;
    }

    div.av-masonry-sort .inner_sort_button span {
    color: #fff;
    }

    .html_header_sidebar .main_menu {
    margin-bottom: 400px;
    }

    .html_header_sidebar .logo {
    width: 60%;
    margin: 0 20%;
    }

    /*remove padding from bottom of logo */
    .html_header_sidebar .logo {
    position: relative;
    padding: 40px 40px 110px 40px!important;
    }
    /*remove padding from top & bottom for menu */
    .html_header_sidebar #header .av-main-nav {
    padding: 0!important;
    }
    /* make sidebar scroll */
    .html_header_left #top #header {
    overflow: auto!important;
    }

    .html_header_left #main {
    border: none;
    }

    .main_color .av-masonry {
    background-color: #000;
    }

    .av-masonry-entry { visibility: visible !important; opacity: 1 !important; }

    @media only screen and (max-width: 767px) {
    .responsive.html_header_sidebar #header .av-main-nav > li {
    padding-top: 30px; !important;
    }
    }

    #1283412
    dh_sichtgut
    Participant

    Hello,
    i was looking for a solution to link to a tab section from the menu. I found these threads:

    https://kriesi.at/support/topic/anchor-links-not-scrolling-to-tab-section-tabs/#post-874435 and put this code into the functions.php in Child Theme

    // custom script
    add_action( 'wp_footer', 'ava_custom_script_tab_section' );
    function ava_custom_script_tab_section() {
    ?>
    <script type="text/javascript">
    (function($) {
    	function scrollToTab(s, e,) {
    		$(s).on(e, function(event) {
    			var anchor, loc, cur, hash, tab, parent, pos;
    
    			if( e == 'load' ) {
    				loc  = window.location.hash;
    				hash = loc;
    			} else {
    				loc = $(this).attr('href');
    				hash = 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).scrollTop( pos.top - 100 )
    				}, 1000 );
    			}
    		});
    	}
    
    	scrollToTab( '.menu-item a', 'click' );
    	scrollToTab( window, 'load' );
    })(jQuery);
    </script>
    <?php
    }
    

    The tabs are opening when i use the different url´s but only, when i manually scroll to the section. The links does not automatically scroll to the open tab. Is there anything wrong withe the code?

    Regard, Daniela

    #1281678

    Hi raquelravanini,

    You don’t need to add the css when the header did not scroll and it does not apply anyway, so you can remove this:

    
    .logo a, .logo a img {
    height: auto !important;
    max-height: 118px !important;
    }

    Actually, please remove the code that you added and use this:

    
    .header-scrolled .logo img, .header-scrolled-full .logo img,
    .header-scrolled .logo a, .header-scrolled-full .logo a,
    .logo img, .logo a {
        max-height: 90px !important;
        height: 90px !important;
    }
    

    Best regards,
    Victoria

    #1280627

    Hello, I have a similar issue.
    I also want to have the shrinking header while maintaining logo size. In my case, the logo will be cropped when scrolling. I have managed to do what I need using this custom css:

    .logo a, .logo a img {
    height: auto !important;
    max-height: 118px !important;
    }

    .header-scrolled .logo a, .header-scrolled .logo a img {
    min-height: 80px !important;
    top: -12px !important;
    }

    But the issue is that I would like the logo to transition smoothly to its new position when scrolling, just like the rest of the menu text, not just jump to it as it is happening now. Is it possible?

    Thanks in advance

    #1279823
    arcade_man
    Participant

    Hi Enfolders,
    I like the theme!!

    BUT…I’m experiencing a trouble: i have a long page which contains a list of things and elements, which I’ve grouped and divided in toggles, to make it more easy to scroll.

    Now, when the page is opened in mobile devices, opening toggles causes the page go back to top, and the user has to scroll down back to the opened toggle. The page is also slow to be loaded.

    Can Anyone help to solve?

    Thank You!!
    All the best,

    David
    You can see the page here:

    https://atresautomazioni.it/login/download-cataloghi-listini

    I am running the latest version of Enfold, but the problem was teh same with the previously installed.

    #1278490

    Hey omerh570,

    Add this to quick css:

    #scroll-top-link {
        left: auto!important;
        bottom: 100px;
    }

    Best regards,
    Jordan Shannon

    #1277267

    In reply to: Logo slider

    Hi Sander,

    The logo slider seems to be working fine on my end, it scrolls automatically, and doesn’t stop after the last one. Did you manage to get it working?

    Best regards,
    Rikard

    #1276151

    In reply to: iframe not working

    I put the iframe inside of a div tag and that made a difference. Now I’m wrestling with getting the height to be 100% as the width is. It’s filling the width at 100% but the height is being cut off. Here is the code that shows the iframe inside a div and the height/width issue.

    <div class="twitch">
      <div class="twitch-video">
        <iframe
          src="https://player.twitch.tv/?channel=midheaven_network&parent=vashoncenterforthearts.org&autoplay=false"
          frameborder="0"
          scrolling="no"
          allowfullscreen="true"
          width="100%"      
          height="100%">
        </iframe>
    </div></div>
    #1273857

    In reply to: Lightbox

    jQuery(window).load(function(){
    	jQuery('.open-popup-link').addClass('no-scroll');
    	jQuery('.open-popup-link').magnificPopup({
    		type:'inline',
    		midClick: true,
    		callbacks: {
    			beforeOpen: function () {
    				jQuery('body').css("overflow-y", "hidden");
    			},
    			close: function() {
    				jQuery('body').css("overflow-y", "auto");
    			},
    		},
    	});
    });

    then it is scrollable on mobile devices – for desctop the scroll of background is hampered – but on mobile you can scroll

    #1272842

    In reply to: Lightbox

    that was the final code:

    that is what you have now:

    
    jQuery(window).load(function(){
    	jQuery('.open-popup-link').magnificPopup({
    		type:'inline',
    		midClick: true,
    		callbacks: {
    			beforeOpen: function () {
    				jQuery('html').css("overflow-y", "hidden");
    			},
    			close: function() {
    				jQuery('html').css("overflow-y", "auto");
    			},
    		},
    	});
    });
    

    replace it with:

    jQuery(window).load(function(){
    	jQuery('.open-popup-link').addClass('no-scroll');
    	jQuery('.open-popup-link').magnificPopup({
    		type:'inline',
    		midClick: true,
    		callbacks: {
    			beforeOpen: function () {
    				jQuery('html').css("overflow-y", "hidden");
    			},
    			close: function() {
    				jQuery('html').css("overflow-y", "auto");
    			},
    		},
    	});
    });
    #1272839

    Topic: Adding multiple h tags

    in forum Enfold
    Microserve_
    Participant

    Hi,

    How can I achieve this widget(image) in the php code below?

    More specifically, how do I select h2 and h3 tags in the php code?

    Capture

    $args = array (
    					'name' => 'Displayed Everywhere',
    					'id' => 'av_everywhere',
    					'description' => '',
    					'class' => '',
    					'before_widget' => '<section class="mobile_toc clearfix avia_auto_toc">',
    					'after_widget' => '<span class="seperator extralight-border"></span></section>',
    					'before_title' => '',
    					'after_title' => '',
    					'widget_id' => 'avia_auto_toc_custom',
    					'widget_name' => 'Enfold Child Table of Contents2',
    					);
    
    				$instance = array (
    					'title' => 'Contents',
    					'exclude' => '',
    					'style' => '',
    					'level' => 'h3',
    					'single_only' => 1,
    					'indent' => 0,
    					'smoothscroll' => 1,
    					);
    
    				$toc = new avia_auto_toc;
    				$toc->widget($args, $instance);
    #1272803

    In reply to: Lightbox

    yes – and that is a part of the smoothscroll function on avia.js …

    jQuery(window).load(function(){
    	jQuery('.open-popup-link').addClass('no-scroll');
    	jQuery('.open-popup-link').magnificPopup({
    		type:'inline',
    		midClick: true,
    		callbacks: {
    			beforeOpen: function () {
    				jQuery('html').css("overflow-y", "hidden");
    			},
    			close: function() {
    				jQuery('html').css("overflow-y", "auto");
    			},
    		},
    	});
    });

    that works for me

    _____________

    i tried to implement as magnific popup described with callback and beforeOpen –
    but that will not work on first click – but our trigger class see above will do the job better

    that part

    callbacks: {
    	beforeOpen: function () {
    		(this.st.el).addClass('no-scroll');
    		$('html').css("overflow-y", "hidden");
    	},
    	close: function() {
    		$('html').css("overflow-y", "auto");
    	},
    },
    • This reply was modified 5 years ago by Guenni007.
    #1271334

    In reply to: Lightbox

    my snippet above should work.

    but on reading the magnific popup docu – a better idea comes to my thoughts:

    we can try on Ismaels inline popup code the before and after function – remove all done so far except the snippet from Ismael https://kriesi.at/support/topic/lightbox-17/#post-1270093
    and add some callbacks:

    jQuery('.open-popup-link').magnificPopup({
    	type:'inline',
    	midClick: true,
    	callbacks: {
    		beforeOpen: function () {
    			jQuery('html').css("overflow-y", "hidden");
    		},
    		close: function() {
    			jQuery('html').css("overflow-y", "auto");
    		},
    	},
    });

    PS to Ismael: the overflowY parameter for magnific popup only rules the sidebars in the popup itself ! Link
    “Defines scrollbar of the popup… ”
    ______________

    PPS: again

    and if i look to that DOM – and the events on that inline links – i never had so much jQuery on those inline-popups

    maybe there are different events on that click too !
    this is the amount of jQuery on my inline popups:

    • This reply was modified 5 years ago by Guenni007.
    #1269505

    Hi Itai,

    Can you try adding this CSS code in Quick CSS, located in Enfold > General Styling:

    #top .av-burger-overlay-scroll {
        left: 0;
        right: auto;
    }

    Best regards,
    Nikko

    #1269334

    In reply to: Scroll up button

    Hi Talker77,

    You can add this code in Quick CSS (located in Enfold > General Styling) or use the code @cherrmann gave since it does the same thing:

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


    @cherrmann
    thanks for helping out :)

    Best regards,
    Nikko

    #1265630

    No worries on the delay. I am not familiar with jquery at all. These changes would need to be made in the code placed in my php file?

    Whichever you recommend.

    Honestly if we could even just have the portfolio default to open without autoscrolling to the section, that would work fine. The site is basically a single page with anchor links in the menu. I just need the user to treat the first ajax portfolio preview like a section, and then have the other portfolios available to open if needed.

    #1255245

    i do have this drop-down menu not inside the viewport often on mega-menus.
    i just gave them a max-height value that is in relation to the viewport height so that if the screen-height is less than the drop-downlist height the content is scrollable:

    #top #header .avia_mega_div {
        max-height: calc(100vh - 20px);
        overflow: auto !important;
    }

    there must be a similar solution for normal drop-down menu.

    #top #header .avia_mega_div,
    #avia-menu li > ul.sub-menu  {
        max-height: calc(100vh - 20px);
        overflow: auto !important;
    }
    #1250819

    Hi,

    @mbesh: What do you mean by “simply put the posts in a slider”? Are you referring to the post slider element?

    The modification or script that we provided in the previous thread will apply an anchor to the pagination links so users will automatically get redirected to the actual section where the blog posts element is. This is only needed when the posts element is not added at the very top of the page or if it is located somewhere in the middle or at the very bottom of the page. With the script, users will not have to scroll manually again to the posts section because of the added anchor in the pagination links.

    Best regards,
    Ismael

    #1250561
    This reply has been marked as private.
Viewing 30 results - 211 through 240 (of 1,181 total)