Forum Replies Created

Viewing 30 posts - 5,641 through 5,670 (of 11,846 total)
  • Author
    Posts
  • It sounds a bit like you did the move of the hopmepage by hand. With transfer of the settings and css settlements etc.
    I always migrate WordPress installations with Duplikator ( Link ) and never had to fear such problems.
    Maybe you decide to take this step.

    But first: tests you could still do –
    Check if the settings in the “Advanced Settings” are identical.
    If yes then try a backup of the settings data via Enfold – Import/Export : Export Theme Settings File and then the import in the new installation will bring a little more.

    in reply to: color of asterisck #1213470

    Aha – belongs to hubspot:

    .hs-form label .hs-form-required {
        color: #8E199D;
    }
    in reply to: color of asterisck #1213464

    if your page is like this here: https://kriesi.at/themes/enfold/pages/contact/
    you can include here the font-size too:

    .main_color .required {
        color: #8E199D;
        font-size: 20px;
    }

    if it is in a placeholder you had to style the placeholder text. – is there a page to see the issue?

    in reply to: background and safari 13+ #1213230

    Excuse me for saying that now so decisively, but from my side I don’t want to install ancient versions of browsers to optimize internet layouts. The IEs have always been bad browsers in my eyes, only Edge seems to be getting better. But even these versions have a worldwide distribution of about 4%.
    2.66% of all opened pages are loaded with IE11. – Safari 12 : 0,81%

    in reply to: Display proplem in enfold/word press #1213223

    ich persönlich blende die Infos immer aus, welcher Editor für die die Seiten/Beitragserstellung zuständig war.
    Lediglich Entwurf und wichtige Infos ( Datenschutzseite) lasse ich drin.

    Legt mal folgendes in Eurer Child-Theme functions.php an:

    /****  Die Poststates im Dashboard nicht anzeigen - wichtige schon *****/
    function remove_post_state( $post_states, $post ) {
      if("! has_blocks( $post->ID )") {
        unset($post_states['wp_editor']);
      }
      if("!= Avia_Builder()->get_alb_builder_status($post->ID)") {
        unset($post_states['avia_alb']);
      }
    return $post_states;
    }
    add_filter('display_post_states','remove_post_state',999,2);

    Das betrifft eben auch die Menus.
    _________
    Ansonsten sehe ich die Darstellungsprobleme nicht im Menu – lediglich das Laden der vollständingen Seite verhindert das zeitnahe Rendern der kompletten Seite – dadurch hatte ich auch zunächst Darstellungsprobleme eures Menüs.

    Geht mal auf Gtmetrix und forscht mal nach, warum ihr soviele Requests habt :
    https://gtmetrix.com/reports/www.institut-generationenberatung.de/Ng6GhVjP

    Dann versucht doch mal das Merging von Enfold. Das stelle ich auch immer erst zum Schluss an, weil die vereinten js und css files während des layouts oft wie ein Caching wirken und das hält auf. Wenn die Seite allerdings dann steht, kann man das Anstellen.

    ______________
    for non German participants here

    Personally, I always hide the information about which editor was responsible for the pages/contributions.
    Only draft and important information (data protection page) I leave inside.

    Please look at the code above.

    This also applies to the menus.
    _________

    Otherwise I don’t see the display problems in the menu – only the loading of the complete page prevents the timely rendering of the complete page – so I had display problems of your menu at first.

    Go to Gtmetrix and find out why you have so many requests:
    https://gtmetrix.com/reports/www.institut-generationenberatung.de/Ng6GhVjP

    Why don’t you try merging Enfold? I always do this at the end of the layout because the merged js and css files often act like a caching during the layout and that stops. But when the page is finished, you can start the merging.

    in reply to: Spacing Issues #1212873

    search icon: you have set the padding-right to 0

    .html_main_nav_header.html_logo_left #top .main_menu .menu > li:last-child > a , 
    .html_bottom_nav_header #top #menu-item-search > a {
        padding-right: 0;
    }

    on default it is 13px – so delete this setting

    you can add to your logo a little padding – and maybe for non-responsive case a little top positioning:

    .logo img {
        padding: 5px;
    }
    
    @media only screen and (min-width:768px) {
    	.logo img {
    	    top: 5px;
    	}
    }

    for centering the menu in relation to logo – maybe you better adjust logo position a bit.

    PS:
    Bumping but then no interest on a solution ? ;)

    in reply to: displaying svg image in socket problem. #1212865

    As mentioned above your favicon : http://www.downundermusic.com/wp-content/uploads/2019/01/favicon-16×16.png
    tries to load from http and could not be found under this url.

    in reply to: displaying svg image in socket problem. #1212854

    svg “images” are kept by WordPress in the media library with 0x0 px.
    so your image is there but had no dimension: add something like this to your quick css:

    #socket img {
        width: 300px;
    }

    and because you have ssl certs – use:
    https://www.downundermusic.com/wp-content/uploads/2020/05/downunder_white.svg
    same thing on favicon use https: then the yellow warning will not be shown on top:

    in reply to: How to print out site-title & site-description #1212842

    Keiner!

    Und wieso kannst du nicht einfach eine Antwort auf eine generelle Frage geben?

    weil sowas hier für 95% der Mitstreiter hier an Board nicht hilfreich ist: https://developer.wordpress.org/reference/functions/get_bloginfo/
    ______
    Wie du hier am Board Logo siehst, hat Kriesi eine Bildmarke und Text eingebunden.
    Das tat ich zB. auch auf einer meiner Seiten: https://guenterweber.com
    Man hat dann wie hier die Möglichkeit verschiedene Effekte noch auf diese anzuwenden ( siehe oben beim Shrinken )

    Das kann man z.B. auch mit dem Seitennamen und der Beschreibung machen – wobei etwas css noch dazugehört diese dann richtig zu positionieren.:
    das hier in die child-theme functions.php

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub)
    {
      $sub .= "<span class='logo-title'>";
      $sub .= get_bloginfo( 'name', 'display' );
      $sub .= "</span>";
      $sub .= "<span class='logo-title logo-subtitle'>";
      $sub .= get_bloginfo( 'description', 'display' );
      $sub .= "</span>";
      return $sub;
    }

    wenn du es aber oben im Top-Menu links haben wolltest muss eine andere Lösung her etc. pp beides wäre auch als oben links zu bezeichnen, wenn das Logo links positioniert hast.

    Daher mein Nachfragen. Mir war das zu allgemein um eine präzise Lösung anzubieten.

    in reply to: Blog Entry Feature Image Size on Mobile #1212841

    Sorry – I must have misunderstood your demand.
    That was not quite clear to me – maybe you should have just said that you wanted to stretch the picture on the right to have it in a block set. It sounded to me like you didn’t want to have the alignment. ( aligns to left and does not extend ): my fault

    in reply to: How to print out site-title & site-description #1212647

    what do you mean by upper left corner? Screen or besides the logo etc. pp.
    or best would be to see the site – and a description then where you like to have that information.

    haha – hier steht der Avatar für die Seite ;)

    hier wäre ja zumindest der Seitentitel doppelt genannt mit deinem Logo …

    in reply to: Blog Entry Feature Image Size on Mobile #1212641

    Try this in quick css :

    @media only screen and (max-width:767px) {
    	.big-preview.single-big {
    	  padding: 0 0 30px;
    	}
    
    	.big-preview a {
    	  overflow: visible !important;
    	}
    
    	.big-preview.single-big img {
    	  width: 101vw !important;
    	  min-width: 101vw !important;
    	  position: relative;
    	  left: -9% !important;
    	  margin-top: -50px;
    	}
    }

    please do not ask where the -9% left positioning comes from ( on theory 7.5% should be enough – because .container width on default is set to 85% ) – so I cowardly opted for a little more width. ;)

    in reply to: Burger Menu Issues #1212627

    your header-meta overlaps that area:
    you can set the header_meta to less z-index:

    #header_meta {
        z-index: 1 !important;
    }

    Edit : and it overlaps because of a header_meta rule sets min-height to 80px – default value is 30px
    so better get rid of that rule and let the z-index of header_meta to its default value 10

    #header_meta .container {
        min-height: 30px;
    }

    Was this advice enough to solve your problem or do you need support?
    In this case I would have to know more about your setting – the best thing would be to see the page it’s about.
    ( Think of : i’m participant as you are – so i do not see private content in your postings )

    what kind of header-settings do you have: logo left menu right or something else?
    what kind of content – an image as “second logo” ?

    so – the script responsible for shrinking behavior is: avia-snippet-sticky-header.js
    you can have a child-theme script instead of loading the parent one by:

    add_action( 'wp_enqueue_scripts', 'wp_change_sticky_header_script', 100 );
    function wp_change_sticky_header_script() {
       wp_deregister_script( 'avia-sticky-header' );
       wp_enqueue_script( 'avia-sticky-header-child', get_stylesheet_directory_uri().'/js/avia-snippet-sticky-header.js', array('avia-default'), $vn, true);
    }
    

    This script takes care of the shrink factor and other settings – for example the varialble line-height while shrinking.
    In the function avia_header_size there is the calculation of the effect – the trick will be to include the new element to be calculated f.e. in height and width.

    This is only a crutch; it would certainly be better if the corresponding image was inserted at a suitable place. For the markup it is not unimportant whether I create the post/portfolio including color-sections or other full-width elements or not.

    So you have to check in each individual case if it would be better to put the post-image into the appropriate container.

    in reply to: Curved section dividers #1212353

    some thoughts on it:
    https://kriesi.at/support/topic/diagonal-border-angle/#post-1138048

    for color-sections the best position to have real divider is as mentioned in the link above:

    <div class="avia-section  …
      <svg  (  inline for the top ) > …</svg>
         <div class="container">… </div>
       <svg  ( inline  for the bottom ) >… </svg>
    </div>

    the reason for using svg is easy : these can be influenced to react responsive – and if they use only vectors they are allways sharp, they are extremly small in file-size, and you can set fill-colors for the needed transition. They can be animated : see here on the footer: https://webers-testseite.de/pureinstall/fullwidth-slider/

    you can even use them on sliders – as you can see in the link above. But you have to choose a better place to insert them to markup.

    in reply to: Widget inside burger menu #1212287

    i was looking for a php hook – but found no place to inject a widget area.
    the main place where the hamburger is prepared is avia.js. – And to have a whole child-theme avia.js is no good alternative.

    maybe Günter knows a better way.

    in reply to: Transition speed in slider ALB. #1212267

    everything is as mentioned above – only onething i recognized on playing with the effect : the transitionSpeed is ok from slide3 to slide1 on sliding.
    But with the fading the slides the bug remains. This is now that I have set it to 8000ms and linear animation more than obvious.
    In all browsers!

    Make your browser window a bit narrower so that you can see both sliders at the same time. It is also clear that they do not run in the same rhythm.

    But that doesn’t bother me, the transition from end to start slide certainly does.

    https://webers-testseite.de/pureinstall/fullwidth-slider/

    in reply to: Grid Rows with alternating background colors by CSS #1212183

    aha – also nur die container gesamt .
    Deshalb hat es auch nicht mit nth-child geklappt. Wahrscheinlich hattest du noch andere Container dazwischen – die zählen bei child alle mit.
    nth-of-type ist selektiver.

    in reply to: Grid Rows with alternating background colors by CSS #1212168

    maybe – even if you could not create a simple example or post the page:

    This will give you a hint to the right way :

    #main .av-layout-grid-container:nth-of-type(odd) .flex_cell:nth-of-type(even) {
     background: #900 !important;    
    }
    #main .av-layout-grid-container:nth-of-type(odd) .flex_cell:nth-of-type(even) * {
     color: #fff !important;    
    }
    #main .av-layout-grid-container:nth-of-type(even) .flex_cell:nth-of-type(odd) {
     background: #900 !important;    
    }
    #main .av-layout-grid-container:nth-of-type(even) .flex_cell:nth-of-type(odd) * {
     color: #fff !important;    
    }

    https://webers-testseite.de/colorize-grids/

    On responsive breakpoint you had to style them with other rules :

    in reply to: Grid Rows with alternating background colors by CSS #1212158

    as participant i could not see your link – but tell me if all grid-rows have the same grid cell count?
    If grid-rows under each other do you like to change the sequence – to form a kind of checkerboard pattern?

    in reply to: Widget inside burger menu #1211871

    it seems that the each(function… is not necessary so try first :
    ( from my understanding this will be ok – but it works without too! )

    function move_header_widget_to_burger(){
    ?>
    <script>
    (function($){
    	$('#header_main .widget').css('display' , 'none');
    	$('#header').one('click', '.av-main-nav-wrap', function() {
    		var isMobile  = $('.av-burger-menu-main').css('display');
    		$('#top #av-burger-menu-ul').css({
    			'display' : 'block',
    			'height' : 'auto',
    			'vertical-align' : 'top',
    			'padding' : '140px 0 0',
    		});
    		var burger_widget = $('#header_main .widget').detach();
    		burger_widget.appendTo('.av-burger-overlay-inner').css({
    			'display' : 'block',
    			'position': 'relative',
    			'width': '94%',
    			'text-align': 'left',
    			'margin-left': '3%',
    			'border-top': '1px dashed #333',
    		});
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'move_header_widget_to_burger');
    in reply to: Error when editing with ALB #1211868

    did you choose on enfold options to load jQuery under Performance: “Load jQuery in your footer”
    After deselcting that option – refresh all cachings and merging etc. pp.

    I can’t quite understand your argument. However more than pointing out the possibility of solving the problem by Enfold methods I cannot do.

    in reply to: Widget inside burger menu #1211849

    well i used the hook: ava_main_header to create a header widget

    this to child-theme functions.php

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
      dynamic_sidebar( 'header' );
    }

    and afterwards i moved the containers in Markup.

    function move_header_widget_to_burger(){
    ?>
    <script>
    (function($){
    	$('#header_main .widget').css('display' , 'none');
    	$('#header').one('click', '.av-main-nav-wrap', function() {
    		var isMobile  = $('.av-burger-menu-main').css('display');
    		$('#top #av-burger-menu-ul').css({
    			'display' : 'block',
    			'height' : 'auto',
    			'vertical-align' : 'top',
    			'padding' : '140px 0 0',
    		});
    		var burger_widget = $('#header_main .widget').detach();
    		
    		burger_widget.each(function() {
    			$(this).appendTo('.av-burger-overlay-inner').css({
    				'display' : 'block',
    				'position': 'relative',
    				'width': '94%',
    				'text-align': 'left',
    				'margin-left': '3%',
    				'border-top': '1px dashed #333',
    			});
    		});
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'move_header_widget_to_burger');

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

    The enfold calculation of the new size formats will be done on upload.
    Those Optimising Plugins will edit these existing images. So for enfold there will be no difference if they find the same nomenklatur for them.

    I suppose that once you have run through such an optimizer the images will stay that way even after deactivating or deleting the plugin.
    Isn’t there a free contingent of them, which can be processed? I would test that first.

    _______________

    The snippet above will take effect immediately on upload. The images that are already there I have recalculated with Force Regenerate Thumbnails.
    The benefit of that plugin is that it deletes the old thumnails not needed ( f.e. if you change the theme – there will be other sizes and some sizes are not needed – or if you follow the link of Victoria that you exclude some sizes from being calculated. )

    See here https://kriesi.at/support/topic/disable-creation-of-multiple-file-resoltuions-on-media-upload/#post-1172543

    You can influence what sizes are calculated on upload.

    Sometimes you notice that some image sizes are not needed at all for an Enfold installation, and in some cases you can even work with other formats. Then you could save yourself the trouble of generating these file sizes.

    ___________

    Have a look at that plugin too – seems to be a very usefull one:
    https://de.wordpress.org/plugins/simple-image-sizes/

    • This reply was modified 5 years, 7 months ago by Guenni007.
    in reply to: Lightbox Change Event or Click Handler? #1211684

    Yes – but what is the thing you like to build?
    we can have solutions if we know what you like to do.

    different markup, Title styling, gallery-groups etc. pp.

    see here a better page with complex influence on popup high selectiv for that masonry – for description: https://webers-testseite.de/pureinstall/masonry-gallery/
    selector is a custom-class and masonry with lightbox : .av-masonry.lightbox-with-description a.av-masonry-entry.lightbox-added

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

    I’m trying everything I can to minimize page load times and lighten I/O. Images seem to be a big thing (as expected). If I, for example, upload a 2,048 x 2,048 original image, but then tell Enfold that it is a 640 x 640 image on the post, is it being resized (and served as a smaller file size)? Or am I just defining the “window” in which Enfold displays that big file?

    these images are resized and should be less file size. BUT:

    on functions-enfold.php:

    if( ! function_exists( 'av_return_100' ) )
    {
    	/**
    	* Sets the default image to 100% quality for more beautiful images when used in conjunction with img optimization plugins
    	*
    	* @since 4.3
    	* @added_by Kriesi
    	*/
    	function av_return_100(){ return 100; }
    	add_filter('jpeg_quality', 'av_return_100');
    	add_filter('wp_editor_set_quality', 'av_return_100');
    }

    Enfold takes the original image on upload, unpacks it and calculates new smaller sizes, but without compression level!
    That is f.e. like you save a jpg on photoshop without compressing on quality level 10 !

    This is meant very nicely, but leads to the fact that optimized jpgs uploaded in their original size sometimes have a smaller file size than the recalculated files which are smaller in dimension.

    This is not necessarily the case for a 640px image, but for the sizes : “featured”, “featured_large” and “extra_large” this is often the rule.

    This little snippet in child-theme functions.php :

      function av_return_100(){ return 65; }
      add_filter('jpeg_quality', 'av_return_100');
      add_filter('wp_editor_set_quality', 'av_return_100');

    65% seems to be a good compromise – but this depends of course on your pictures and your requirements for sharpness.

    This small snippet reduces the quality of the recalculated images during upload.
    but unfortunately it has no effect afterwards.
    Therefore you would have to recalculate the thumbnails. There are several plugins you can use for this.
    Regenerate thumbnails etc.

    in reply to: Align socket social bookmarks left on mobile devices #1211672

    yes – and if you like to have a little spacing between these add into that media querry from above:

    #socket .container > * {
        margin-bottom: 20px;
    }

    the selector > * indicates that only the first level childs are influenced.
    If you have a lot of social media links – so that there will be two or more lines – we had to find a different way.

Viewing 30 posts - 5,641 through 5,670 (of 11,846 total)