Forum Replies Created

Viewing 30 posts - 7,921 through 7,950 (of 11,742 total)
  • Author
    Posts
  • in reply to: Don't want to sign up for the Google Maps API #998344

    Dear Rikard – i think a screenshot is not a good advice. This seems to break the copyright of google.
    Screenshots (even it is concerning to the api images):
    Private use on the Internet: not permitted
    Commercial use on the Internet: not permitted
    If you use Screenshot of maybe Google Earth: then you could get into copyright conflicts with third party providers (satellite operators etc.).

    in reply to: Problem with youtube link and arrow icon #998339

    eventuell ein Plugin was dir im eingeloggten Zustand den Link andeutet.

    in reply to: Problem with youtube link and arrow icon #998326

    i use firefox developer edition on Mac OS X – but i do not see these icons.
    ( Same with : Safari and Chrome)
    What happend if you are logged out ? did you see those icons aswell on your browser?

    by the way : on GDPR (DSGVO) Reasons – wouldn’t it be better if you are using a non embedded Youtube Video – and use instead f.e. an image of the film and link to the youtube video in a lightbox?:
    (just place a screenshot as Avia Image and link to a manually link:

    https://www.youtube.com/watch?v=lhZsLYmmZWM?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=true
    

    https://webers-testseite.de/video-with-image-link/

    in reply to: Change font size on slider caption – Mobile only #998320

    is it this slider only ?
    You can use for it the screen options dialog of the slide itself

    in reply to: rosponsive shows enfold logo and search-button #998317

    what you see might be the alternative Logo for transparency option.
    Look if you got an entry on Enfold (or Enfold-Child) – Header – Transparency Options

    in reply to: Showing image title in lightbox #998315

    hm – on this page ( https://www.kistefosmobler.no/inspirasjon/ ) i think they are using the enfold masonry gallery. But i could be wrong.

    in reply to: Add a widget above header #998146

    hm – i see it is hard to style if you got a header sticky to top. Because it scrolls away.
    so i’m testing it right now to have the same behavior as #header

    take better the hook: ava_main_header

    add_action( 'ava_main_header', 'enfold_customization_widget_area_before_header' );
    function enfold_customization_widget_area_before_header() {
      dynamic_sidebar( 'before-header' );
    }

    and create a new widget called: before-header

    but even this is hard to obtain rightly designed – because – the offset to main was wrong calculated then.
    On non shrinking headers you can adjust this by giving the main container a different padding-top.

    #header_main > .widget {
        width: 100%;
        max-width: 1310px;
        margin: 0 auto;
        padding: 0 50px;
    }
    
    /*** depends on your header settings  ***/
    .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 380px;
    }
    • This reply was modified 7 years, 2 months ago by Guenni007.
    in reply to: Add a widget above header #998140

    but your request was only for

    (where telephone number/social media icons can be added)

    it seems Enfold got a new hook for that – just after the body tag opens (outside the wrap_all div container)
    to mods – List it please in your hook list

    Add this to your functions.php of your child theme:

    add_action( 'ava_after_body_opening_tag', 'enfold_customization_widget_area' );
    function enfold_customization_widget_area() {
      dynamic_sidebar( 'after-body' );
    }

    Goto Dashboard – Appearance – Widget : create a new widget area called: after-body

    You have to style this new widget div as you like – guess it will have by default a 100% width and the background-color of the body

    in reply to: Link button to lightbox youtube video autoplay #997947

    The ecver setting prevents the video recommendations when pausing the film. The playsinline setting ensures that the whole thing runs on a mobile phone like on a desktop. etc pp

    you only have to add this to the film link always

    ?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=true
    
    in reply to: Add a widget above header #997942

    and why don’t you want to use the Option on Enfold – Header – Extraelements ?
    Social Media – Secondary Menu – Phone Number

    see here f.e. : https://kriesi.at/themes/enfold-law/

    in reply to: Link button to lightbox youtube video autoplay #997661

    First : take the individual link option not the iframe option!
    all additional links to a video link :
    first one was added via ? all other links will be added via &

    so you got maybe something like this:

    https://www.youtube.com/embed/4Myze3dfIw0?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3
    

    if you link from an image or a text to it – add &iframe=true

    
    https://www.youtube.com/embed/4Myze3dfIw0?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=true

    or with watch:

    https://www.youtube.com/watch?v=4Myze3dfIw0?autoplay=1&cc_load_policy=1&enablejsapi=1&ecver=2&playsinline=1&rel=0&showinfo=0&color=white&iv_load_policy=3&iframe=true
    

    see here: https://webers-testseite.de/buttonlink/

    you have this rule in your css:

    @media only screen and (min-width: 1367px) {
    	/* start */
    	/* hide the watch video button on anyhting larger than tablet landscape */
        a.avia-slideshow-button.avia-button.avia-color-light.avia-multi-slideshow-button.avia-slideshow-button-2 {
       		display: none !important;	 	
        }
    /* end */
    }
    in reply to: Showing image title in lightbox #997641

    you can take the caption f.e. or the title for this to show in editing ismaels code a bit:

    still brainstorming :lol sorry
    i tested it and now it does not work as usual

    but on your page i see in your source code no title, no alt tags nor captions ! https://www.kistefosmobler.no/inspirasjon/

    But why don’t you put these input fields for it – which are made for that:

    • This reply was modified 7 years, 2 months ago by Guenni007.
    in reply to: Submenus are not visible in small screens #997636

    give to the submenus ( or megamenu) a min-height and an overflow:auto
    something like:

    #top #header  ul:first-child >li > ul ,
    #top #header .avia_mega_div  {
        overflow: auto !important;
        max-height: calc(100vh - 50px);
    }
    in reply to: Using Enfold on a multisite #997578

    this here : https://naturleben-rheinland.de/ – is an Enfold Multisite installation.
    The “motherpage” is Enfold and both subsites are Enfold pages. But i do start it from the beginning to obtain that mutlisite. If it is easy to switch from an existing page i don’t know

    in reply to: Center three columns in color section #995916

    so what do you expect should a code do if the whole width is full with container. ?

    so they are centered – but you don’t see a difference because there’s no distance left to spread. !

    make for all 3 columns : 1/4 th of them – then you will see the result

    in reply to: Center three columns in color section #995910

    if works on my site too:
    so what for is the calltoaction class? maybe it is in conflict with those settings

    and by the way: these aren’t 1/3 columns ? ;)

    so he must have a reason to implement a header.php in the child.
    I use it f.e. to insert some extra div after wrap-all id like: <div class='mega-bg'></div>
    to use it as a global overlay if f.e. mega-menu is active.
    so if you like – you can post here your “old” header.php – but please use the code tag above
    and we may see what has been additional input

    in reply to: Onepager: change h2 title color on focus when scrolling #995894

    perfect!
    I don’t know where your h2-green class is ( maybe on the heading alb element) – then you have to select it via : ( .h2-green h2 )

    i got a bit different way if he likes to reverse the change on scrolling up and down:

    add_action('wp_footer', 'scroll_up_down_change', 9999);
    function scroll_up_down_change() {
    ?>
    <script>
        (function($) {
    		var element_to_animate = $('.h2-green h2');
            element_to_animate.waypoint(function(direction) {
               if (direction === 'down') {
    				$(this.element).css('color', 'red');
    				  }
    				}, {
    				  offset: '30%'
    				});		
    		element_to_animate.waypoint(function(direction) {
                 if (direction === 'up') {
    				$(this.element).css('color', 'green');
    				  }
    				}, {
    				  offset: '30%'
    				});
    })(jQuery);
    </script>
    <?php
    }

    you can see it here on some h3 headings: https://webers-testseite.de/datenschutzerklaerung/

    in reply to: Onepager: change h2 title color on focus when scrolling #995858

    maybe we can use the already implemented waypoints script.
    I think he likes to change the color of a h2 when it comes to a specific distance f.e. to top.
    We had those “animations” triggered in this way when it comes to viewport. And i guess this is made by waypoints.
    So perhaps we don’t need any additional script to handle it and use avia_waypoints function

    The better has always been the enemy of the good.

    By default, there is no header.php in the child theme.
    By the way did you have installed a child-theme and work with it?

    you can upload a copy of the original header.php (that one you have downloaded) to your child theme folder via ftp.
    But there must have been a reason that you have a child theme header.php. Of course you have to know these entries in order to have the desired changes in the new header.php as well.

    in reply to: One column with 2 background colors #995569

    well if these are separated widgets your can adress them separatly by their ID or widget-count or widget name etc. – but without a link it is hard to say what it is in your case.

    in reply to: Onepager: change h2 title color on focus when scrolling #995402

    but this will be a function that will depend on scroll and resize. Be carfully with it -because this mostly goes to bad performance.

    $(window).on(‘resize scroll’, function() {
    //Code here
    });

    you can see here a littel code-pen demo: https://codepen.io/BoyWithSilverWings/pen/MJgQqR

    you see that there is a function defined isInViewport

    • This reply was modified 7 years, 3 months ago by Guenni007.
    in reply to: Widget Area for after posts #995380

    hm isn’t the ava_after_content only for the loop – so if you have a blog style or look to a category list then the widget would be there.
    but on a single-post there is no hook ava_after_content

    Please Ismael – correct if i’m wrong

    btw. Rgrant74 – you have to create on appearance widgets the widget on Enfold Child Custom Widget Area – add widget area.
    Your code is only to define the place where it is inserted.

    Maybe you can use a different hook for that – but you have to style that of course for your needs:

    add_action( 'ava_before_footer', 'enfold_widget_before_footer_for_single_post' );
    function enfold_widget_before_footer_for_single_post() {
    	if(is_single()){
    	  dynamic_sidebar( 'after-post' );
    	}
    }

    and if you only wants it for single posts (not for portfolios):

    add_action( 'ava_before_footer', 'enfold_widget_before_footer_for_single_post' );
    function enfold_widget_before_footer_for_single_post() {
    	if(is_singular(post)){
    	  dynamic_sidebar( 'after-post' );
    	}
    }

    to have the same dimensions as your content – look to your settings and add it for that widget-area to your quick css:
    f.e.:

    .single #main .widget {
        max-width: 1310px;
        margin: 0 auto;
        padding: 0 50px;
    }

    you can use a filter for it – or use a header-widget but
    without seeing your site and logo it is hard to give exact settings for you.

    in reply to: How to set different colors to button on Easy Slyder #995324

    you can choose on caption “attach two buttons”
    the second button has the class: avia-slideshow-button-2
    so if you like to preserve opacity and font-size you can do that:

    .avia-slideshow-button-2 {
        background-color: rgba(250,0,0,0.5) !important;
    }

    on choosing the button-color red f.e. in caption tab – the font-size changes a bit and the opacity is gone

    Sorry but this is more or less for the developers :

    the more I think about the topic I come to the conclusion that Kriesi also confuses the nomenclature here.
    Fullscreen Slider has the class: avia_sc_slider_fullscreen
    the fullwidth Slider has the class: avia_sc_slider_full.
    Although it writes in the code ( dont display if a fullscreen slider ) clear fullscreen slider in functions.php above, the code only checks against avia_sc_slider_full

    and i definitly think that this is something which should be seen by Günter – because i believe it should be implemented too in the next update !
    It makes sense to also hamper sidenavigation on fullscreen sliders on default

    _________________
    Something to the developers
    Edit: to my opinion on that code: avia_post_nav
    the code is not totaly correct with the brackets too in the if clause

    		//dont display if a fullscreen slider is available since they overlap 
    		if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) || 
    			class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;

    as far as i understood the code the post-nav should also be displayed if only one slide is present – only if there are more than one slide the post-nav should be hampered.
    But it does not work even with original code on full-width sliders.

    this seems to be the right bracket story including fullscreen-slider check – but it does not work for count too:

    //dont display if a fullscreen slider is available since they overlap 
    if(
    	( class_exists('avia_sc_layerslider') 	&& !empty(avia_sc_layerslider::$slide_count) ) || 
    	( class_exists('avia_sc_slider_full') 		&& !empty(avia_sc_slider_full::$slide_count) ) || 
    	( class_exists('avia_sc_slider_fullscreen') && !empty(avia_sc_slider_fullscreen::$slide_count) ) 
    
    	) $settings['is_fullwidth'] = true;

    So my dear Dev Günter with the same first name – here you have to look over it.
    or does a single (full-width or full-screen) slide has a count too?

    • This reply was modified 7 years, 3 months ago by Guenni007.

    I could have sworn that this also applies to full-screen slider.
    To avoid overlapping here, that would also make sense. – but i think we can do it via the filter: avia_post_nav_settings too.

    you can see on enfold-functions.php:

    if(!function_exists('avia_post_nav'))
    {
    	function avia_post_nav($same_category = false, $taxonomy = 'category')
    	{
    		global $wp_version;
    	        $settings = array();
    	        $settings['same_category'] = $same_category;
    	        $settings['excluded_terms'] = '';
    			$settings['wpversion'] = $wp_version;
            
    		//dont display if a fullscreen slider is available since they overlap 
    		if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) || 
    			class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;

    this should be the normal behavior too: //dont display if a fullscreen slider is available since they overlap

    in reply to: w3c validator #995012

    By the way – i guess that role attribut are only warnings – so ignore them – because on wai aria (Accessible Rich Internet Applications) usage is good standard. And for my opinion it is more important to have these roles in a html document than to fullfill w3c validity.

Viewing 30 posts - 7,921 through 7,950 (of 11,742 total)