Forum Replies Created

Viewing 30 posts - 7,741 through 7,770 (of 11,475 total)
  • Author
    Posts
  • in reply to: Advance Layer Slider video issues #989411

    on selfhosted do this as code in the layer:

    <video playsinline autoplay loop muted preload="metadata" style="min-width:100vw; min-height:56vw;" >
     <source src="path_to_your/VARVANI-3D.CG-Showreel-2018.mp4" type="video/mp4">
    <img src="path_to_fallback_image/film-fallback.jpg" title="Your browser does not support the video tag">
    </video>

    this is very important to have: playsinline autoplay loop muted

    in reply to: Advance Layer Slider video issues #989191

    can you please look if it starts now on your mobile devices: http://webers-testseite.de/weber/archie/

    in reply to: Advance Layer Slider video issues #989186

    ok vimeo and youtube do not start here on layerslider.
    why do you use the layerslider ? are other layers being superimposed?

    by the way is the page working: https://webers-testseite.de/weber/
    with a selfhosted video

    i ask because good old html5 <video … – there will be chances to be successfull

    in reply to: Advance Layer Slider video issues #989177

    have you deleted all caches ( browser and maybe plugin-caches – and enfold merged files (js and css) ) ?

    in reply to: Advance Layer Slider video issues #989172

    can you try this in your layer video embed code:

    <iframe id="ytplayer" type="text/html" width="100vw" height="56.25vw" src="https://www.youtube.com/embed/YtSo17Wley8?autoplay=1&enablejsapi=1&loop=1&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3" frameborder="0" allowfullscreen></iframe>

    see here the second slide with your video: http://webers-testseite.de/weber/archie/

    in reply to: Advance Layer Slider video issues #989164

    on which different mobile devices have you tested this?

    F.e. only since IOS 11 with new safari these video-backgrounds are supported!

    What is your smart option – i can not find it in the api options?
    why don’t you include in the iframe code an autoplay=1 option ?

    and for mobile (safari too) set the parameter :
    &playsinline=1

    in reply to: Make video background responsive on mobile #989141

    As far as i know the advanced slider can do that for you.
    see here a demo: https://webers-testseite.de/weber/
    But this is a selfhosted small video, and only the newest browsers for mobile devices ( IOS11 with new Safari f.e.) will play that background video.

    On vimeo case : on sharing options you can see the embed options and press settings.
    choose responsive and get rid of Author, Image and Title. Choose Autoplay and loop but no textlink !

    the code of your video will be:
    <div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/258140746?autoplay=1&loop=1&title=0&byline=0&portrait=0" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>

    Very important now we change in that code something
    1) That div will not work – and we do not need it – same thing with the script
    2) Change positioning to relative !!!
    3) width: 100vw and height: 56.25vw (on 16/9 videos)
    4) give the iframe a class: vimeo (on vimeo it seems to be good to scale the iframe a bit to have no borders on full-width at very small screens)
    Result:
    <iframe class="vimeo" src="https://player.vimeo.com/video/258140746?loop=1&title=0&byline=0&portrait=0" style="position:relative;top:0;left:0;width:100vw;height:56.25vw;" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" frameborder="0"></iframe>

    goto Advanced Layerslider make a new slider (responsive with width and height in the aspect ratio of 16/9)
    add a video audio layer insert that code above and define that layer as background-video layer.

    see result here: https://webers-testseite.de/weber/archie/

    do this to quick css:

    iframe.vimeo {
        transform: scale(1.02);
    }

    PPS: i have choosen the way over selfhosted video as background – because of GDPR ( DSGVO) reasons.
    all big video hosters (youtube and vimeo) will send data from the visitors to their servers ( on minimum the IP) this is not allowes without an opt-in.

    in reply to: Morw than one logo #988984

    well i understand this : Hello i have a problem. I have 7 categories with there own logo that he likes to change the logo for each category. – and not to have multiple logos

    in reply to: Morw than one logo #988902

    by the way dear Mods why doesn’t this do the job if i want to proof if a portfolio has “frontside” category ???

    elseif ( is_singular( 'portfolio' ) && has_term( 'frontside', 'portfolio')  )  {
            $logo = "https://webers-testseite.de/wp-content/uploads/unmute.png"; 
        }
    in reply to: Morw than one logo #988874

    i realy don’t understand your construct – but you can change logo for pages , categories , posts, etc if you know something about conditional phrases in wordpress.

    a single post got a categorie – if you like to change all logos for single post with a given category use

    add_filter('avf_logo','av_change_logo_for_categories');
    function av_change_logo_for_categories($logo){
        if( is_single() && in_category( 'slider1' ) )  {
        	$logo = "https://webers-testseite.de/wp-content/uploads/layerslider/Parallax-Slider/truc.png"; 
        }
        return $logo;
    }

    you can modify this with a lot of elseif rules and for pages , page arrays etc. pp like:

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo){
        if( is_page(21) ) {
            $logo = "http://www.domain.com/wp-content/uploads/logo21.jpg"; 
        }
      
        elseif ( is_page( array( 42, 54, 6 ) ) ) {
            $logo = "http://www.domain.com/wp-content/uploads/logo22.jpg"; 
        }
    
        elseif ( is_category( 'slider1' ) )  {
            $logo = "http://www.domain.com/wp-content/uploads/logo23.jpg"; 
        }
    
        elseif( is_single() && in_category( 'slider1' ) )  {
            $logo = "http://www.domain.com/wp-content/uploads/logo24.jpg"; 
        }
        return $logo;
    }

    all single posts with category: slider1 will get logo24
    if you got a list of posts of category slider1 ( has_category) logo23

    See here aswell: https://kriesi.at/themes/enfold-2017/elements/sub-menus/

    so calculation of position top is ok for normal screen width – but on mobile ( if choosen to have Menu Items for mobile on 990px) this is not correct.

    Give to the testimonial-wrapper a min-height – so that biggest Testimonial fits in to that container.
    You will not solve that problem for all screen-width ( the small ones are the problem) – but for a normal screen width this will work:
    Please adjust the min-height to your testimonials – the thing is that the short testimonials

    .avia-testimonial-wrapper {
        min-height: 350px;
        margin: 0;
    }

    the min-height value should be in this way that even the biggest testimonial has enough place to show.
    a fixed height that will work even for small screens ( maybe a normal 3 liner will turn under this circumstances in a 6 liner testimonial) looks ugly.

    • This reply was modified 6 years, 11 months ago by Guenni007.

    any link for us?

    in reply to: How to insert an image into the socket #988251

    editing the files means having a child-theme footer.php and maybe insert your own hook

    f.e. after the <?php on line 162 of footer.php
    do_action( 'ava_in_socket' );

    in reply to: How to assing an ID to a button #988249

    if you have downloaded the buttons.php – please redownload again.
    i have inserted that if clause – to avoid inserting id with no value to the other buttons. Thats my careless fault
    new version 2018-07-22 works perfect now

    try this – that is probably a good approach to the solution

    @media only screen and (max-width: 767px) {
      .big-preview.single-big, .big-preview.single-small {
        width: 120% !important;
        max-width: 120% !important;
        margin: 0 auto !important;
        position: relative;
        left: -10% !important;
    }
      #main .content {
        padding-top: 0px
      } 
    }
    in reply to: Missing space between words in headings #987773

    maybe you try to enter on css not the phrases : thin, lighter, light, bold etc. Instead use 100, 300, 400, 700 etc
    do not use 200 as font-weight – because it is not defined
    how did you activate/load the font ?
    Enfold list only loads : 'Lato' => 'Lato:300,400,700',

    • This reply was modified 6 years, 11 months ago by Guenni007.
    in reply to: Missing space between words in headings #987772

    i edited the thread because i see in your css some strange things:

    by the way on my Mac newest OSX and Safari / Safari Technology Preview / Chrome / Firefox all is ok with your Headings

    in reply to: Missing space between words in headings #987769

    First of all : what should a font-weight of 230 do?
    where do you get the 200 font-weight?
    i only can see 100, 300, 400, 700, 900

    in reply to: How to assing an ID to a button #987473

    i think he likes to add an ID to an Enfold ALB Button!
    There are scripts to achieve this, but then the class should definitely only exist once! – otherwise you will have double ID conflicts !

    give the button itself a unique class (in my case: unique-class )
    add this to functions.php of your child-theme:

    function add_ID_to_unique_class() { 
    ?>
    <script>
    (function($){
    	$(document).ready(function(){ 
      		$('.unique-class .avia-button').attr('id', 'what-you-like');
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_ID_to_unique_class');

    If you have this often – then i would edit that alb element to have an id Input field – put it in child-themes/shortcodes folder and load that.
    Instructions: https://webers-testseite.de/edited-enfold-alb-elements/
    See here: https://pastebin.com/EE3b0wX4
    Download here: https://pastebin.com/dl/EE3b0wX4

    • This reply was modified 6 years, 11 months ago by Guenni007.
    in reply to: Using pngs instead of fontello icons #987156

    So kids so much imagination you should have that you can add !important.
    It’s the same code as here: https://kriesi.at/support/topic/using-pngs-instead-of-fontello-icons/#post-985048
    Head shake emoji :lol

    in reply to: What Plugin i can install for hyphenation with Enfold? #987152

    Ich bin mir aber nicht im Klaren, ob das Plugin oder ein anderes das in Überschriften vermag, wenn ein explizite word-break oder word-wrap Anweisung existiert.
    Ausserdem solltes du mit solchen tools sparsam umgehen. Dei Manuelle Methode ist zwar zeitaufwändig, aber dafür Performance schonend. Denn wenn ganze Seiten von dem Plugin nach möglichen hypens durchsucht werden und gesetzt werden müssen geht das ganz schön auf die Server-Power.

    Eventuell stellt dich ja die normale Trennung zufrieden (nicht die grammatikalisch perfekte):

    h1,h2,h3,h4,h5,h6 {
      hyphens: auto !important
    }

    ____________

    But I’m not sure if the plugin or any other plugin can handle headlines if there is an explicit word-break or word-wrap statement.
    Also, you should use such tools sparingly. Although the manual method is time-consuming, it is performance-saving. Because if whole pages are searched by the plugin for possible hypens and must be set, this goes quite on the server power.

    in reply to: Translate some words in Portfolio & search #987151

    hope you uploaded both po an mo files. (because on your zip only the po file is in it)
    poedit generates automatically (if you set that mark) both files.

    in reply to: Can NOT use the LIGHTBOX in Images on own template #986959

    where did you insert that do_shortcode block?

    maybe you have to put in the echo do_shortcode( ) at that template

    in reply to: Open Youtube videos in lightbox #986906

    but best would be if you open a new topic here on board. Your problem is not realy concerning to this thread here.

    and by the way on mac keyboards there is no sign for it – you find this special backslash on
    alt+shift+7

    in reply to: Open Youtube videos in lightbox #986847

    first of all – do you have a custom header.php in your child-theme?

    in reply to: Open Youtube videos in lightbox #986841

    have you a link where this does not work – or where you want that to work.

    in reply to: a better image resize algorithm ? #986683

    short-pixel seems to be one solution. But it is “expensive” they have a credit system. And when you’re in a hurry, you just bite the bullet

    From nearly 211 MB upload folder size to 54MB – thats ok. and realy – you can’t see a big difference to the “Enfold recalculated Sizes”

    in reply to: Make video background responsive on mobile #986677

    ah – onething i have forgotten: you have to shift the content the same value to top ( to adjust the padding-top of color-section)
    i did it with the column option for the first column: Custom top and bottom margin margin-top : -52vw

Viewing 30 posts - 7,741 through 7,770 (of 11,475 total)