Forum Replies Created

Viewing 30 posts - 2,491 through 2,520 (of 11,513 total)
  • Author
    Posts
  • think of – that

     jQuery(window).load(function(){
    

    since jQuery 3.x is now:

    jQuery(window).on('load', function(){
    

    and : if you use the title to show info on mfp-bottom in the lightbox – to change to a different source ( description etc. )

    in reply to: local integration of google fonts | plugins #1376982

    from one Bond to another ;)
    if you host your fonts on your own servers, then there is no need for a double opt-in – that is the trick!

    it is no checklist – because there are some recommendation to think of.
    In the meantime, a number of improvements have been implemented so that variable fonts can now also be uploaded via the Font Manager.

    https://kriesi.at/support/topic/host-web-font-yourself-some-info/#post-1364066

    may i give you a hint on images and enfold formats. – regardless of your question above?
    The compression level of the recalculated image formats is 100% – that is a problem for the performance.
    See at your start page the slider – the original image is 287kb ( Worship-5.jpg ) the recalculated image ( Worship-5-1500×630.jpg ) is about : 569kb
    my tip: reduce the compression level on recalculated images:

    add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1);
    add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1);
    function avf_set_quality_mod($quality) { $quality = 65; return $quality;}

    here to 65%
    sadly – this influences only the upload – existing images are not influenced on that.
    For that – there are some good plugins to recalculate the thumbnails.

    For Example: https://de.wordpress.org/plugins/resmushit-image-optimizer/ or from shortpixel: https://de.wordpress.org/plugins/regenerate-thumbnails-advanced/

    my recommendation now is : reSmush.it

    on starting with the plugin – you can choose to have backups of all images – but checking the box ( reight side – to not preserve backups ) you can delete them afterwards.
    The plugin will observe the upload of images and optimize them on upload.

    i do have compression level 55 on most of my websites – and see if your image on 1500x630px has a significant difference ( espacially for a background-image ) – this image got 56kb !!

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

    in reply to: Tag meta element not working for blog page #1376974

    but are you posts edited with advanced layout builder or with default wordpress editor ( or with block editor ) ?

    in reply to: Strange Problems with local hosted font #1376970

    where did you find trillium-web ?

    Edit : guess you mean Titillium Web

    do you need all font-styles of that font ? – i will prepare the zip for you – but as i mentioned here: https://kriesi.at/support/topic/host-web-font-yourself-some-info/#post-1364066
    even the italic fonts can be generated with not extra font-style. Think of the performance.

    If you realy do need all: here is the zip for uploading: edit: Link removed
    there are only woff2 and ttf in it. the newer format is woff2 and all you need – but for fallback solution the ttf’s are inside the zip too.

    • This reply was modified 2 years, 6 months ago by Guenni007.
    in reply to: Fix Layer slider text on tablet #1376969

    @navindesigns : why do you hamper the caption to show between 768 and 989 ?

    @media only screen and (min-width:768px) and (max-width:989px) {
     .slideshow_caption {
      display:none
     }
    }

    Hi Ismael – that’s a strange notation of the code – are the line breaks coming from the board app? I know you know they are unnecessary – but where do they come from?

    • This reply was modified 2 years, 6 months ago by Guenni007.
    in reply to: Gallery always shows first Image as large image #1376966

    If you can provide the link to your website, that would be helpful to provide more detailed advice.
    And it would be nice to be able to disable merging or caching of files for this purpose.

    in reply to: Link zu Bild #1376942

    at least it should probably really be put on top before the animation effects.
    because if you don’t use the toggles, you scroll “forever” to get to the setting.

    Works perfectly – thanks – and just for the others :
    That filter is implemented in : gallery, icon-circles, icon, image_hotspots, numbers, progressbar, testimonials and timeline.

    you changed it in 5.3.1 ? or

    and yes i do know that “no center logo” lines – but scaling of 0.1 – is not enough – the inner circle is seen before the animation starts.

    in reply to: PHP 8 Error #1376555

    wp-includes is part of WordPress – have you tested to update the php8.x by deactivating all plugins?

    and what do you like to hamper? only the breaking of C&S Seating?
    then you enter :

    that plugin is for having a non entity alternative for those special characters. Mainly it is build to have those special characters which indicates the beginning or the closing of tags > or < etc. and not to break the layout.

    on my edited plugin : https://pastebin.com/jttc230x
    you see that i added some useful supplement entries to the array – and i do not like to enter three ### before and after each replacement.

    with that you will enter then:

    the advantage is that you can see on the backend that a special character is used:

    without the plugin first setting with the html entity it will work too on the backend but:
    editing that heading again ( just open again and save ) the html entity is lost ( in translation ) but the plugin will work after editing.

    See: https://enfold.webers-webdesign.de/headings/
    but editing again – the second line will act like the third one !

    in reply to: font will not be shown right #1376527

    have you activated this font for your installation on :
    (it is at the end of the drop down list )

    in reply to: Filename changes #1376517

    are these jpgs dimensions bigger than 2560px ?
    if so – there will be a rescaled image to that maximum dimension – and the original won’t be shown in media library.
    But these rescaled images got a different nomenklatura f.e.: 8g_Sp_9-7-rescaled.jpg

    So it sounds to me like you are using an image optimising tool – that will do the same ( recalculate too big images ) but renamed the new image in a different way.

    by the way: there is a way to get rid of that limitation by :
    add_filter( 'big_image_size_threshold', '__return_false' );

    but i recommend to not load to big images to the media library – because the backups then become more and more bloated.

    OR: are these files product images and you are concerning to WooCommerce ?
    then have a look to :

    in reply to: Website crashing when I activate Enfold Version 5.2.1. #1376510

    after updating there might be something not working as expected , due to changings in jQuery 3.x
    so check your child-theme functions.php to see if there is any code that is no longer supported. For example:

    $(window).load(function( ){
    // is now:
    $(window).on('load', function( ){
    // and the same with click
    .click(function( ){
    // is now used as:
    .on('click', function( ){
    in reply to: How to change post heading color on nouseover? #1376506

    With a single post? A visitor would then expect an action, wouldn’t he? If you don’t want to publish your page, then link to a demo page like I did above. Then we can determine the selectors easier.

    in reply to: Theme-Crash bei Installation #1376459

    Ganz ehrlich verstehe ich ohnehin nicht, warum nicht ausschließlich das installierbare zip angeboten wird.
    Denn die Dokumentation ist ja online verfügbar, und wahrscheinlich auch aktueller : https://kriesi.at/documentation/enfold/ – die aktuelle Version und das Change Log auch : https://kriesi.at/documentation/enfold/changelog/ und den Nutzen der psd files habe ich nie begriffen.

    ____________

    Honestly I don’t understand anyway why not only the installable zip is offered.
    Because the documentation is available online, and probably more up to date : https://kriesi.at/documentation/enfold/ – the current version and the change log too : https://kriesi.at/documentation/enfold/changelog/ and I never understood the benefit of the psd files.

    in reply to: Disable Enfold Lightbox on one specific page #1376457

    Are these images, which should be opened with the other plugin, in a common container ? e.g. a color-section?
    if this is true you can set a custom class to hamper the lightbox script of enfold for only that container : set for that parent container the class: noLightbox – be carefull – it is casesensitive !

    Or for the whole page use in child-theme functions.php:

    function avia_default_lightbox_scripts($use_standard_lightbox){
    	if(is_page(ID, "pagename")){
    		$use_standard_lightbox = "disabled";
    	}
    	return $use_standard_lightbox;
    }
    add_filter('avf_use_standard_lightbox', 'avia_default_lightbox_scripts', 10, 1);

    use page ID ( without quotes ) or the name of the page ( with quotes ) for the if clause.

    in reply to: Using a custom field as excerpt #1376455

    attention: this is only the jQuery function – if you like to use it – you had to build a php snippet of it.
    but if the filter snippets of Nikko works – these will be a better way to do it. – Because it’s best to hook into the generation of those excerpts than to change them afterwards.

    in reply to: Change the indent level for automatic menus #1376454

    try:

    #top .sidebar_left.sidebar_align_left .widget_nav_menu ul:first-child > .current_page_item {
    	padding-left: 0 
    }
    in reply to: How to change post heading color on nouseover? #1376453

    well it would be best to see a link to your page where to change.
    But i think you mean those post headings in lists or grid-view like here: Link
    etc. – then you can try in your quick css:

    #top .slide-entry-title a:hover {
      color: red;
    }

    I would recommend using : https://github.com/KriesiMedia/enfold-library/tree/master/integration%20plugins/Enfold/Special%20Character%20Translation

    and add your desired special characters ( nbhyp : non breaking hyphen – see: link )

    The advantage of this little helper tool is that you can also clearly see in the backend where you used the special characters, and these are also preserved when editing again. You could try to insert the entity as described ( html code ) in the link, but then it could be that the above described will occur.

    Here ( link ) you can see a version of the plugin I edited, – I tend to be lazy about writing, so I only put a # before and after each. On the right you see the special characters – and on the left what you use to set these characters.

    EDIT: oh sorry – now i see that you like to have a non breaking space ( this is nbsp : non breaking space: Link ) same procedure as above

    in reply to: Using a custom field as excerpt #1376371

    maybe a function like this is helpful – if you got your excerpt
    ( i do not see your site – so no examination of the DOM for me is possible – you had to adapt the selectors yourself )
    f.e. if you have the grid layout for blog …

    (function($){
    // trim excerpt by words
        function trimByWord(sentence,wordcount = 50) {
            var result = sentence;
            var resultArray = result.split(" ");
            if(resultArray.length > wordcount){
            resultArray = resultArray.slice(0, wordcount);
            result = resultArray.join(" ") + " … Read more";
            }
            return result;
        }
        $(document).ready(function(){
            $('.avia-content-slider .slide-entry').each(function() {
                 $('.slide-entry-excerpt.entry-content').text(function(index, currentText) {
                    return trimByWord(currentText);
                 });
            });
        });
        
    })(jQuery);

    and here: " … Read more" you can choose your addendum

    Percentage Offset
    A percentage offset refers to a percentage of the window’s height. An offet of ‘50%’ will trigger when the top of the element is 50% of the way from the top of the window, or simply put, hits the middle of the window.

    what is the default offset if i do not influence the setting? – it seems to be a less percentage setting

    in reply to: Website crashing when I activate Enfold Version 5.2.1. #1376245

    please replace with the newer snippet:

    but if you haven’t that code inside – you do not need to do that.

    Now: i think the code had to be set without the dot before the added class!
    ( av-animated-when-visible-40 ) no dot
    and in that list ( // @since 5.3 – new offsets added to support filter ‘avf_alb_element_animation’ )
    why is the 90 and 95 missing – but even if it is present in that list – 95 does not work.

    in reply to: Waypoints removed? #1376045

    maybe it is because it is imported now on a different way: webpack.config_js.js line 42
    due to that usage of minified js files instead of the merged one.

    in reply to: Website crashing when I activate Enfold Version 5.2.1. #1376034

    by the way – the child will be not affected on default updating the theme. The child is only to have custom settings for the parent.

    On standard updates there will be no need to update the child; for standard updates it is not necessary to update the child, unless you have uploaded additional child files as mentioned above, and these have changed significantly in the parent theme. Then it might be necessary to update these child files to the new state, and implement the changes (which were the reason for their existence) again.

    if you got a working child – leave it activated and follow: https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107

    in reply to: Website crashing when I activate Enfold Version 5.2.1. #1376033

    see here a save way to have allways a fall-back version:
    https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107

    __________________

    have you any additional child-theme files ( besides the usual: style.css; functions.php; screenshot.png ) – f.e. header.php , footer.php; shortcodes in shortcodes folder ?
    __________________

    have you disabled support of google fonts in your child-theme functions.php by:

    function enfold_customization_switch_fonts() {
        global $avia;
        $avia->style->print_extra_output = false;
    }
    add_action( 'init', 'enfold_customization_switch_fonts' );

    please replace with the newer snippet:

    function my_output_google_webfonts_script( $activate ){
      return false;
    }
    add_filter( 'avf_output_google_webfonts_script', 'my_output_google_webfonts_script', 10, 1 );
Viewing 30 posts - 2,491 through 2,520 (of 11,513 total)