Forum Replies Created

Viewing 30 posts - 6,121 through 6,150 (of 11,707 total)
  • Author
    Posts
  • in reply to: Create a slide (texts) in top bar #1146770

    if you had a top menu then the activation is done and that little snippet of avia_meta_header is unnecessary:
    this you can erase : add_filter( 'avf_execute_avia_meta_header', '__return_true', 10, 1);

    the css will depend on the position of top menu – this here is for left position:

    #header_meta .av-rotator-container {
        font-size: 24px !important;
        position: relative;
        left: 50%;
        float: left !important;
        transform: translateX(-50%);
        top: -10px;
    }
    
    .av_secondary_left .sub_menu {
      width: 80%;
    }
    
    #header_meta span {
        font-size: 30px;
    }
    in reply to: Create a slide (texts) in top bar #1146631

    there is a hook if the sub-menu is present.
    – but if we don’t want sub-menu on top we can activate it nevertheless via filter:

    add_filter( 'avf_execute_avia_meta_header', '__return_true', 10, 1);
    add_action('avia_meta_header', function() {
    if(is_page(3)){
    echo do_shortcode("[av_headline_rotator before_rotating='' after_rotating='' interval='5' animation='' margin='' margin_sync='true' tag='h2' size='36' align='center' custom_title='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' alb_description='' id='' custom_class='' av_uid='av-k1gw6wo0' admin_preview_bg='']
    	[av_rotator_item title='today we offer abc' link='' linktarget='' custom_title='' av_uid='av-it587']
    	[av_rotator_item title='but the whole week it is' link='' linktarget='' custom_title='' av_uid='av-egknj']
    	[av_rotator_item title='⇒ another line to present' link='' linktarget='' custom_title='' av_uid='av-6u493']
    [/av_headline_rotator]");
    };
    });

    a little css to position it:

    #header_meta .sub_menu {
        font-size: 24px !important;
        position: relative;
        left: 50%;
        float: left !important;
        transform: translateX(-50%);
        top: 0;
    }
    
    #header_meta span {
        font-size: 30px;
    }

    see testpage: https://webers-testseite.de/guenni/datenschutzerklaerung/

    in reply to: Text Block Custom CSS Class #1146526

    there is a little error in the textblock.php

    https://kriesi.at/support/topic/4-6-3-1-issues/#post-1144794

    here is a corrected textblock.php : Link

    in reply to: Enfold 4.6.3.1 selfhosted Video in Lightbox #1146523

    you can close this because it seems to be better posted there – because i think borlabs – is borlabs himself ;)
    https://kriesi.at/support/topic/code-block-element-doesnt-handle-shortcodes-properly/

    in reply to: Full screen slider display #1146522

    If you do that all testings : do you allways refresh all caching tools ( including autoptimizer , enfold merging etc.) ?

    in reply to: Code Block Element doesn't handle shortcodes properly #1146502

    Issue is solved with Borlabs Cookie Version : 2.1.3

    in reply to: masonry gallery issue when mage is open #1146498

    small addendum: sometimes there are other elements between the mfp wrapper and the wrap_all. So wrap_all is no longer a direct neighbour.
    Therefore you should rather use this one:

     /* instead of the code ( direct neighbor ) */
    .mfp-wrap + #wrap_all {
      position: fixed !important ;
    }
    /* this here ( General Sibling Selector ) */
    .mfp-wrap ~ #wrap_all {
      position: fixed !important ;
    }


    so it is now:

     .mfp-zoom-in.mfp-ready.mfp-bg, .mfp-zoom-in.mfp-ready .mfp-preloader {
          opacity: 0.8;
      }
    
      .mfp-content {
        position: fixed !important;
        top: 50%;
        left: 50%;
        transform: translate(-50% , -50%);
        overflow: hidden;
      }
    
      .mfp-arrow {
        position: fixed !important
      }
    
      .mfp-wrap ~ #wrap_all {
        position: fixed !important ;
      }
    
      img.mfp-img {
        max-width: 70vw;  
        padding: 10px 0 !important;  
      }

    PS : it is clear that if you put it in a media query only for screens bigger than 768px – that the code does not work below this screen-width

    in reply to: Code Block Element doesn't handle shortcodes properly #1146486

    i tested to replace the new output in 4.6.3.1 in Enfold.php of Borlabs
    :

    
    $output = "<div {$meta['custom_el_id']} class='avia-video avia-video-{$format} {$html} {$custom_class} {$av_display_classes}' {$style} {$markup} data-original_url='{$src}' >{$output}</div>";
    

    then it runs as expected

    in reply to: Code Block Element doesn't handle shortcodes properly #1146466

    on : ‎⁨ ⁨borlabs-cookie⁩ ▸ ⁨classes⁩ ▸ ⁨Cookie⁩ ▸ ⁨Frontend⁩ in Frontend.php

    if I comment out the enfold lines the function runs ! :

    line 116:

    // Enfold
    if (function_exists('avia_register_frontend_scripts')) {
        add_action('avf_sc_video_output', [ThirdParty\Themes\Enfold::getInstance(), 'modifyVideoOutput'], 100, 6);
    } 

    so there must be something in the Enfold.php that blocks selfhosted Videos.
    borlabs-cookie⁩ ▸ ⁨classes⁩ ▸ ⁨Cookie⁩ ▸ ⁨Frontend⁩ ▸ ⁨ThirdParty⁩ ▸ ⁨Themes⁩ ▸ Enfold.php

    in reply to: Code Block Element doesn't handle shortcodes properly #1146441

    on Enfold 4.6.3.1 i have troubles with the self-hosted Video and new lightbox feature of Video ALB. Does it possibly have to do with this subject here?
    When i deactivate the plugin, the video in lightbox works.

    in reply to: Enfold 4.6.3.1 selfhosted Video in Lightbox #1146435

    Edit : must be Borlabs Cookie Plugin. Sorry – had never Problems so far with this nice Cookie Consent Plugin.
    I check now what setting of Borlabs it is.

    in reply to: Enfold 4.6.3.1 selfhosted Video in Lightbox #1146407

    you can see here on top the video plays – but the lightbox video on the bottom does not do it:
    https://webers-testseite.de/guenni/selfhosted-video-as-background/

    in reply to: Full screen slider display #1146271

    no one hampers you to calculate other width: f.e.

    for my example page:
    because it is a grid-row after the slider the calculation it a bit different from color-section as follower.

    @media only screen and (max-width:989px) {
      #united_slider .avia-slideshow.av_fullscreen {
          width: calc(100vw - 16%) !important;
          height: 45vw !important;
          left: 50%;
          transform: translateX(-50%);
      }
    }
    in reply to: Full screen slider display #1146194
    in reply to: Full screen slider display #1146184

    this is for your problem the best construction.
    Take only a fullscreen slider – set its screenoptions to display everywhere !!!

    :https://webers-testseite.de/slider-depending-on-screenwidth/

    there is even for you a better moving script for the slider before the header container with a little performance optimizing debounce function.
    Enfold itself has a debounce function included but i didn’t know how to use it for this function.

    Well – under the Masonry there is the Grid – and that worked too.

    in reply to: Line break not working in front end #1146166

    The autop function and the removal of line breaks is a WordPress peculiarity. I’ll just show you how to get around it. That’s all.
    The one with the small plugin is to be set up once, then also the one who manages to make a font bold can insert such a linebreak into the text editor, which doesn’t disappear.

    in reply to: Line break not working in front end #1146117

    you can add in text modus : <br class="noclear"/>

    With a little plugin you can create your own buttons on visual mode that inserted these breaks f.e.
    ( Visual Editor Custom Buttons)
    you can have then own icons on those buttons etc.:

    in reply to: Create a slide (texts) in top bar #1145956

    well i do not see your site – but if it is not to complicated – maybe only text – with links
    then you can use the headline-rotator shortcode as Rikard said and maybe a hook to embed this.

    https://webers-testseite.de/guenni/datenschutzerklaerung/
    it is simply done via child-theme functions.php and on styled before on a post or page. to get the shortcode:
    here just for the page-id-3:

    in this manner: echo do_shortcode(“…”);

    add_action('ava_main_header', function() {
    if(is_page(3)){
    echo do_shortcode("[av_headline_rotator before_rotating='' after_rotating='' interval='5' animation='' margin='' margin_sync='true' tag='h2' size='36' align='center' custom_title='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' alb_description='' id='' custom_class='' av_uid='av-k1gw6wo0' admin_preview_bg='']
    	[av_rotator_item title='today we offer abc' link='' linktarget='' custom_title='' av_uid='av-it587']
    	[av_rotator_item title='but the whole week it is' link='' linktarget='' custom_title='' av_uid='av-egknj']
    	[av_rotator_item title='another line to present' link='' linktarget='' custom_title='' av_uid='av-6u493']
    [/av_headline_rotator]");
    };
    });

    here is a little description on how you get this shortcode: Link

    in reply to: Google Maps wird unter MacOS Safari nicht angezeigt #1145923

    Yes – seems to work on his site!

    in reply to: Website totally crashed after Theme-Update #1145879

    From Participant to Participant:

    I am waiting since 47 hours now

    Actually, I wanted to look at your code; but when I read something like this, I move on to the nearest problem.

    in reply to: resize full width slider #1145874

    Yes – but your biggest problem is the image optimization.
    You can see on the F-Result for a lot of images that an optimized version is sometimes more than 40% reduction.
    By the way – alot of beginners – download this presented optimized Version and upload them instead of the original.
    One of the images is nearly 600kb big. thats immense for a web graphic

    All you need to test is described on that page: https://webers-testseite.de/slider-depending-on-screenwidth/

    in reply to: resize full width slider #1145831

    If you don’t make yourself a slave to Performance Test Tools, then I think a little movement on the start page is good.
    On my site I even have a small self-hosted movie running, which also works on the mobile phone!

    in reply to: Enfold theme update with FTP #1145802
    in reply to: resize full width slider #1145738

    this is my function for him sofar- maybe a mod could tell me how to use the included debounce resize function on enfold for it:
    ( the selector has to be more specific – maybe an ID or Custom Class – but that could be done later)

    function slider_move(){
    ?>
    <script>
    (function($){
    	var fullscreenSlider = $(".avia-fullscreen-slider");
    	fullscreenSlider.clone().detach();
    
    	$(window).on('load resize', function () {		
    		var winWidth = $(window).width();
    		if (winWidth < 990) {
    			$("#main").prepend(fullscreenSlider);
    		}
    		else {
    			$("#wrap_all").prepend(fullscreenSlider);
    		}
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'slider_move');
    in reply to: resize full width slider #1145710

    you can see here my trial. https://webers-testseite.de/slider-depending-on-screenwidth/
    But i try to insert a debounce function now because the resize function is always firering during resize. Performance-friendly way to handle this is debouncing.

    See here a demo what is the difference – resize the window: https://www.paulirish.com/demo/resize

    in reply to: resize full width slider #1145674

    then you should remove the script: …

    (function($){
            $('html.avia_mobile #fullscreen_slider_1').remove();
            $('html.avia_desktop #full_slider_1').remove();
    })(jQuery);


    we had to find a way
    now for your slider that it is only inserted before header on screenwidth dependency.

    in reply to: resize full width slider #1145616

    From my point of view the other way would be easier to go. To make a full-screen slider look like a full-width slider.
    Only the following problem is: Your pictures are not all in the same aspect ratio, that they do not have the same size (meant are the dimensions) is not relevant.

    If you were to use the 1500px x 630px aspect ratio, for example, you could specify the following with this aspect ratio:
    630/1500 = 42% – if we now take the screenwidth as basis we had 42vw as height

    So make yourself a copy of your homepage which has only the fullscreen slider and shows it on all screen widths.
    It would be nice if the images would have the same aspect ratio. So test the 1500px x 630px variant in the slider.
    Then we convert the code only for this Page-id:
    So e.g:

    @media only screen and (max-width:767px) {
    	.page-id-xyz .avia-slideshow.av_fullscreen {
    	    width: 100vw !important;
    	    height: 42vw !important;
    	}
    }

    on a 16:9 aspect ratio it is 54vw height
    on 801:1200 = 67vw
    etc.

    in reply to: 2 CSS issues #1145500

    Doesn’t seem to have been in a hurry.

    in reply to: enfold-4.6.2.1-beta-mailchimp.zip link please #1145498

    Übrigens

Viewing 30 posts - 6,121 through 6,150 (of 11,707 total)