Forum Replies Created

Viewing 30 posts - 8,131 through 8,160 (of 11,874 total)
  • Author
    Posts
  • in reply to: Layer with transparent background #990139

    on Avia Layout Builder take a color-section.
    Open that color section options dialog – click to the section background and set your wanted image.
    Set your image behavior here too- if you like to repeat the background or if it is stretched. (on your example it seems to cover the element)
    Set the image as you like to behave : scroll, parallax or fixed ( all will leave the screen on scrolling but with different effects)
    Goto the tab on top : Section Background Overlay – set your overlay color if wanted – on your example it seems to be a black overlay color with f.e. 0.5 opacity.
    Thats all – you can drag all you wanted into the color section now

    in reply to: Rel = next and prev not working #989826

    by the way a bit offtopic – wouldn’t it be nice to have this on the prev/next navigation beween posts/portfolios.
    maybe to the anchor itself

    function add_rel_attribute(){
    ?>
    <script>
    (function($){
    	$('a.avia-post-prev').attr('rel', 'prev');
    	$('a.avia-post-next').attr('rel', 'next');
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_rel_attribute');
    in reply to: Quick css window size #989817

    i do allways this code to functions.php of my child-theme – it deactivates the reset all button too:

    function admin_head_mod() {
    echo '<style type="text/css">
    #avia_quick_css .avia_description {float: none;margin-bottom: 20px !important;padding-left: 0 !important;width: 98%}
    #avia_quick_css .avia_control {float: left;max-width: 98% !important;width: 98% !important}
    .avia_footer_links li {float: left;padding-right: 20px}
    .avia_footer .avia_footer_save {float: left}
    .avia_reset {pointer-events: none !important }
    </style>';
    }
    add_action('admin_head', 'admin_head_mod');
    in reply to: White Screen of Death After Editing .php File #989779

    by the way: this should not happen if you got a newer wordpress version.
    In former times – yes i do have that too, but now they gave some error-messages out to solve those issue.

    These issues can happen if you are having wrong brackets or forgotton semicolon.
    if you got double function names ( this is probably one of the most common mistakes ) because here on board the code-snippets are often named the same way.
    f.e. adding custom widgets to the header – but what if you like to have two widget-areas: all snippet functions here on board named : enfold_customization_header_widget_area

    so adding two of them will cause an error (on former times a white screen of death) etc. pp

    you are always welcome
    and even if English is not my native language, I am probably understood, even if my sentence constructions are easily recognizable as German.

    in reply to: Advance Layer Slider video issues #989753

    hope you have adjusted the path ?

    On my end : https://webers-testseite.de/weber/whdsolutions/
    it seems to work with that:

    in reply to: moving the search box #989528

    can you try this in your functions.php of your child-theme:
    this filter you will only need if you havn’t got a secondary menu or social media – so there will be no header-meta
    add_filter( 'avf_execute_avia_meta_header', '__return_true', 10, 1);

    for you this will be enough i think:

    add_filter( 'avia_meta_header', 'avia_append_search_nav_mod');
    function avia_append_search_nav_mod()
    {
              global $avia_config;
              ob_start();
              get_search_form();
              $form =  htmlspecialchars(ob_get_clean()) ;
    
              $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown menu-item-avia-special">
                            <a href="?s=" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'>
                              <span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span>
                            </a>
                        </li>';
    
        echo $items;
    }

    Edit: i see it has on header meta a list-point so add this to your quick css:

    #top #menu-item-search {
        list-style: none;
    }

    But I appreciate your kind offer, though. Thank you

    I’m just afraid you’re not going to give me as much pleasure as you think.
    I have only drunk coffee for years if it was made using a machine with an E61 brewing group.
    (mine is a Rocket Espresso Giotto Evoluzione with rotation pump)
    Such espresso machines are able to turn even a 100% Arabica into a dreamlike crema.

    https://thumb.ibb.co/eV5MjT/crema.jpg
    not my Foto (i do not use bottomless filter holders)

    And I pimp Starbucks like Amazon.

    By the way, Chuck Norris can count to infinity – two times ;)

    please delete your comment on this rule:
    // Full Width on Mobile for Blog Featured Images and Videos

    because on css you comment things by: /**** comment ***/

    the method by //comment is used in php files

    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 7 years, 5 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 7 years, 5 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 7 years, 5 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

Viewing 30 posts - 8,131 through 8,160 (of 11,874 total)