Forum Replies Created

Viewing 30 posts - 9,301 through 9,330 (of 11,529 total)
  • Author
    Posts
  • in reply to: Optimizing pictures on the homepage (losing speed). #857448

    so if you don’t want to make your gtmetrix public – you have to wait til mods are here.

    by the way php7 is a resource monster :lol. sometimes – if you can test to switch to 5.6 try.

    in reply to: Optimizing pictures on the homepage (losing speed). #857408

    and by the way : i like those one-page websites too – but on page-speed reasons ( and gtmetrix test-results) they have great disadvantages i think. Alot of content to load on starting page. Today a good time to load the first site has to be under 3sec.

    a page with over 90% on gtmetrix and over 80% YSlow (the cdn and cookie free domains value is for the most a bad value)
    is a good site.
    reducing the request on that page is a good advice.
    so minifying and combine js and css files is a good thing (use caching tools and minifying tools)

    ___________

    another point: do all wordpress sites need realy comments or emoji ?
    there are two good plugins disable emoji and disable comments

    ___________

    go and have a deeper look to the waterfall results.

    in reply to: Optimizing pictures on the homepage (losing speed). #857404

    these optimizations only help if your images are not responsive.
    f.e. the featured-image – allthough you put in the non scaled image – takes the ( on media tab defined) 80x80px.
    this is a scaled image – but much smaller than the original ones.

    But this is not the point gtmetrix critisise.
    If on smaller screens the content rearanges the images shown on your screen are scaled to that amount you gave to them.
    f.e. in a 1/4 container the image could be on maximum at a 1000px wide screen 250px on your mobile this is scaled down..
    etc. pp

    Only on those f.e. floating text elements where an image is placed with a defined height and width to float in that text it makes sense to recalculate it to that dimensions ( or to take a nearby image-size of enfolds predefined sizes)

    I don’t want to give offence to you – but the most reason for image speed is that the uploaded source images are wrong optimized.

    Click on the images to enlarge: and by clicking again on the lightbox image it changes to next slide

    The first one has 389 KB and the second one 156KB
    both have the same dimensions !

    And these are realy hard test-images.
    On other images with real fotos – it might be more extreme to this test.

    On Photoshop f.e. there is an extra export modul for web images. There you can set up a higher compression level and progressiv scan option etc. pp.

    in reply to: Can I download an older version of Enfold? #857394

    hm?
    please tell me why your friend does not give a copy to you?

    However, I talked to the friend who recommended Enfold to me as he’s produced a really nice website with it and I asked him what version he was using. He told me he was using version 3.2.

    in reply to: iOS Parallex #857145

    ok forgotton the .responsive class to set for the first container with the backgroundimages.

    Empty your browser cache and have a look

    don’t be to cheap to your customer – it is a lot of work to do – so go an get more for you

    by the way: i have added a timer function that the scroll event don’t fires steadily.
    but i will have a look if it is not best to implement the throttle function to enfold

    in reply to: Jumping to anchors from other pages does't work well #857036

    the link is in the thread: https://kriesi.at/support/topic/jumping-to-anchors-from-other-pages-doest-work-well/#post-855641

    https://pastebin.com/dl/nW7DFTfS

    and btw the plugin has an offset – there you can globally change the amount of offset to the anchor.( + und – is possible)
    and btw the plugin has a delay too! you can go to new page top wait a bit (in milliseconds input field) an then scroll down.

    in reply to: iOS Parallex #856962

    first of all – i looked to it via ipad and iphone via guess safari mobile version – and i can see background. So please goto Settings / Safari / and erase the cache.

    costs : What is worth it to you – if you think it is for less than it is ok for me too.
    but if you want to reward the work – you fix the price.

    i believe that the version comes nearest to apple did: https://webers-testseite.de/apple-blur/

    by the way the flickering comes not from my code.
    Go and have a color-section alb element with background image set to parallax.
    You will have that flicker too. Those mobile browserversions – with touch screens always are not able to handle it good!

    in reply to: Mobile behavior to masonry overlay #856848

    so something has changed in new enfold. In former versions a class hover was added – as described in the old thread. Now nothing happend in this way.
    Anyway – can be closed

    in reply to: Mobile behavior to masonry overlay #856838

    oh wow – i can not realy copy/paste things – the code above is nonsense!
    first of all the !wp_is_mobile() with exclamation mark (head-shake) :lol

    i did it this way for now. I’m looking to adjust this
    https://kriesi.at/support/topic/some-extra-classes-for-hover-states-on-enfold/#post-764012 for my site

    function wp_ipad_mod() {
    if(wp_is_mobile()){
    	echo '<style type="text/css">
    	#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content { opacity: 0!important; }
    	#top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {font-size: 1em !important;}
    	</style>';
    }
    }
    add_action('wp_head', 'wp_ipad_mod');
    in reply to: Mobile behavior to masonry overlay #856821

    it does not need a screenshot – description of the problem is, that all of those masonry elements show the state as if it is hovered.
    means all of them with semitransparent dark overlay and the description shown in white.
    PS : all ipad / Iphone websimulators do not show the effect – only the real device is showing it.

    i dont want the the behavior works on ipad – i’m totaly satisfied with the nonhoverd state on ipad/iphone.

    by the way i tried to do this:

    function add_touch_fix(){
    ?>
    <script>document.addEventListener("touchstart", function(){}, true);</script>
    <?php
    }
    add_action('wp_footer', 'add_touch_fix');

    but has no effect too

    in reply to: How to override Enfold admin options in Child Theme? #856422

    thanks alot i will test it .
    and yes it is only a “cosmetic” question – but f.e. the apple touch icon input field looks definitly better after the favicon

    Edit: thanks both works perfect – Ismael your code is a bit shorter but Günters Code it is easier to work with – because i do not have to count the $avia_elements on the way to count (your 69 is correct ) – but i come to the position after logo with 69 – anyway.

    Edit: and is usefull for even older enfold versions – i tested your code on an older version and it fails because the count of favicon was a different one

    Thanks both for your highly professional answers !

    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: Jumping to anchors from other pages does't work well #856246

    first of all – you managed the anchor a bit complicated – lack of heaving an alb element with ID option when heaving a sidebar.
    My hr.php got this option and you don’t need to have such a complicated construct.
    the advantage of a hr.php is that you can easily adjust the positioning too.
    Maybe you can give it a chance.


    @mike
    – this plugin is the first i met that this behavior can manage. It opens the page first ( you can input the delay time in the plugin) and than scrolls down to the anchor. !
    This is cool because it does not look like an abrupt loading – it is more smooth.

    Btw i do not know why there is on avia.js avia_header_size function this line:
    if(shrinking && !isMobile) line 1551. – because this is often a reason why the anchor on mobile is under the header.

    i nearly allways tilted the !isMobile option:

    in reply to: Special Header for a similar website #856243

    by the way – it is a very pitty that burger-menu does not have all the options off the main-menu (classes set in menu options)
    allthough i set up the clone option of title menu

    in reply to: Special Header for a similar website #856240

    it is not as simple as it seems to be – i’m missing this header option too. Logo inbetween the middle of the menu.
    and there is a bit more todo than simple css – especially if you like to have a shrinking header.

    https://webers-testseite.de/weber/

    in reply to: How to override Enfold admin options in Child Theme? #856074

    for new elements – do i have the opportunity to have influence on what position the tab is placed ?
    This code f.e. is placed at the end of that tab – but i like to have it under fav-icon input field

    add_filter('avf_option_page_data_init', 'custom_option_apple_icon', 10, 1);
    function custom_option_apple_icon($avia_elements){
    	$new_elements[] =	array(
    					"slug"	=> "avia",
    					"name" 	=> __("Apple Icon", 'avia_framework'),
    					"desc" 	=> __("Upload an Apple Icon to use", 'avia_framework'),
    					"id" 	=> "avia_appleicon",
    					"type" 	=> "upload",
    					"label"	=> __("Use Image as Apple Icon", 'avia_framework'));
    
    	$avia_elements = array_merge( $avia_elements, $new_elements );
      return $avia_elements;
    }
    in reply to: How to override Enfold admin options in Child Theme? #856067

    thanks Günter – this goes to my treasure chest :LOL
    on that customization.php memory file – i got a lot of commented code concerning to enfold f.e.

    /**  quick css im Backend auf breit setzen ************************/
    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}
    </style>';
    }
    add_action('admin_head', 'admin_head_mod');
    /**********************/

    etc. pp :yoo

    in reply to: iOS Parallex #856054

    delete the browser cache – on ipad/iphone this is a very obstinately thing – i can see the background on ipad and Safari 11/Sierra

    click to enlarge:

    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: iOS Parallex #856023

    this is like apple does: but a bit more simpler:

    https://webers-testseite.de/apple-blur

    if you see the source code – it is the same transition as apple does – and on scroll there is a class added called active.
    On that class the opacity is ruled with a transition effect.

    Parallax is if scroll position of background-image and foreground is not the same. The effect causes an impression of virtual room.

    in reply to: iOS Parallex #856014

    This is no parallax on apple site. They have to background-images above each other. One is blured the other is sharp.
    on Scroll the addClass to the sharp one and change on that way the opacity ! (from 0.9999 to 0.0001) thats all – no parallax effect at all.

    in reply to: Please help for a cool header design? #855999

    by the way this shrik_fix.php is the part where the shrink amount is calculated.
    On default – enfold got a shrink amount of 2 ( it goes to the half starting header hight)

    If you got allready now the solution – you can change that too!
    i see on your testpage that header size is set to 75px – what if you want to end at 25px
    see on pastebin shrink_fix.js the lines 62 and 74 – these two lines are responsible for that shrinking behavior !
    on line 74 it is easy to change because this divisor is the relation of starting header height to ending header height : 75/25 = 3 so replace in
    line 74 : <strong>newH = el_height/3;</strong>
    the line 62 is a bit more tricky here it is the realtion of scroll-amount to starting header height – you have to scroll from 75px to 25px = 50px scroll distance – now 75px/50px = 1.5 – and here we have !!!
    replace line 62 : <strong> if(st < el_height/1.5)</strong>

    Now you see that half size destination header height is a special case because scroll-distance to reach the endpoint of shrinking is exactly the endpoint height of the header f.e. from 200px starting to 100px ending you must scroll 100px !
    alot of people fail here because the do not change both factors or they change it to the same value

    • This reply was modified 7 years, 9 months ago by Guenni007.
    in reply to: iOS Parallex #855993

    sharing on demand – i will wait with the solution description – last few weeks i recognized that a lot of participants have their requests – but no interest of looking what happend in it.

    in reply to: iOS Parallex #855886

    by the way – if you know a way how to select a background-image we can do that with parallax –

    Edit : Oh i see that on parallax case the background-image goes to a new container!! then it is easier to do:
    But parallax is always a bit buggy. on safarie it is not a smooth scroll
    best is chrome and firefox

    https://webers-testseite.de/parallax-on-scroll/

    • This reply was modified 7 years, 10 months ago by Guenni007.
    in reply to: iOS Parallex #855883

    yes – like the sierra site too ! see source code . i tried to reproduce this.

    in reply to: iOS Parallex #855826

    my solution here: https://webers-testseite.de/blur-on-scroll/

    • This reply was modified 7 years, 10 months ago by Guenni007.
    in reply to: iOS Parallex #855808

    apple does it the easy way :lol. they have two images and the sharp one above increases its opacity by scrolling !

    in reply to: Jumping to anchors from other pages does't work well #855722

    i found now a plugin which do the thing ! but it will be nice if it was an integrated behavior of enfold !

    Plugin Recommendation: ps2id/

    Example Page: look here https://webers-testseite.de/datenschutzerklaerung/ and press the button on the bottom

    Edit: and it works with bwp minify as well without excluding those scripts

    • This reply was modified 7 years, 10 months ago by Guenni007.
    in reply to: Jumping to anchors from other pages does't work well #855641

    this is a big problem to where i’m looking a long time.
    It is the smoth scroll to different page anchor.
    It has to load first – then scroll smoothly to the anchor.
    I didn’t found a solution for that.

    By the way for those anchor links to id’s i created an edited hr.php – and in case of whitespace there is an input field for custom ID:
    hr with ID input field :    the code is on pastebin: hr.php and put it into a subfolder of child-theme folder called “shorcodes”
    To load it put this into functions.php of child-theme:

    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths){
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }

    click to enlarge

    btw: i would target it as: http://www.contelle.de/trainings/#alltrainings
    and you don’t need an anchor for each language you intended to install.
    let the same ID name and just rename the label in the menu

    “link” and “angezeigter Name” they are per default the same but do not need to.

    • This reply was modified 7 years, 10 months ago by Guenni007.
    in reply to: do_shortcode in php file #855633

    here on pastbin: https://pastebin.com/3XXds8ed

    is a widget_in.php
    if you upload it to plugin directory “divs-only” folder than it is a overall divs-only solution and it is much easier to place those things.

    Means the generated code is without table design !

    in reply to: do_shortcode in php file #855629

    yes – and i think you can use [login-with-ajax] as well dashes not : [login_with_ajax] !

    the template tag is with underscore : login_with_ajax( )

    in reply to: How to override Enfold admin options in Child Theme? #855618

    haha – this is a question of mine so please inform günter – maybe he give us advice.
    Thanks Basilis

Viewing 30 posts - 9,301 through 9,330 (of 11,529 total)