Forum Replies Created

Viewing 30 posts - 1 through 30 (of 10,231 total)
  • Author
    Posts
  • have you tried the test the other way round?
    disable siteground optimizer and activate “use minified …”

    Clear all cachings before you deactivate siteground optimizer – i think that tool comes with a caching addon.

    merge all css an js means – combine all css and js in one file each. I guess that this is what a lot of optimization tools do too.
    Now Enfold offers the usage of minified Versions of their core files. That seems to be a better way. Especially for TTBF (time to first byte)

    Firstly – to get your content back: What do you see in the top right editor of the page – are there any revisions to this page?
    If so – click on the link : browse.
    If you now hover the timeline you will see the backup times. Then choose the one that restores your old content (the time just before the text was edited)

    in reply to: Equal Column Height Not Working #1442273

    you can do it that way too – with 5 iconboxes inside one 1/1 column.
    css code on that page:
    https://webers-testseite.de/iconboxes2/

    hm – if i use the code snippet from here
    this is the result all tags are closing the right way – but only with div.

    if i use f.e. the p-tag:

    or – the way you noted the snippet and that is the way i learned it too:

    but i guess it is only a problem here with the p-tag ( span is working )
    a remove of the filter wpautop does not bring success.
    – i can live with the div!

    in reply to: Content not displaying on front end #1442148

    go to the editor and open the first 1/3 column – you can find there on “Row Margins” : custom margins – and a negative value.
    the whole column line is now shiftet to top by that amount ( 60px). For the effect to make sense, they will have a higher z-index, overlapping your heading.

    If you like to preserve that behaviour – pull your Heading into a 1/1 container and shift this to top. And get rid of the settings on your first 1/3 column. To obtain this looking i guess there is a no “Space Between Columns” defined.

    Would be perfect if i can use it like that!

    of course – that’s why I uploaded it for you to download. – If you need more icons for replacement – let me know.
    btw: have a look at this: https://www.svgrepo.com/vectors/solar-panel/monocolor/

    in reply to: Equal Column Height Not Working #1442064

    the columns are the same height – but you do not see it. What you see is the icon-box background – and the height of them is different due to content amount.
    You can see here what the crux is: https://webers-testseite.de/equal-height/ – look to the bottom columns.

    maybe you decide to not use the iconbox – but: https://webers-testseite.de/iconboxes/

    in reply to: List not hyphenating #1441995

    hi @ismael : this is one of the interesting trends of the last time
    that pseudo element :has

    https://css-tricks.com/the-power-of-has-in-css/

    the first selector that belongs to a parent if a child is present. More and more browser will support it.
    and it’s finally time for that. You had to laboriously toggle classes on the parent element via script to get a selector that then takes effect.

    • This reply was modified 2 days, 8 hours ago by Guenni007.
    in reply to: Random (Background) image #1441983

    give a unique ID to your color-section – here in my case it was: randomized
    this is for only one page of mine so there is the is_page conditional.
    upload the images via ftp into a given folder ( here it is a folder on uploads-folder: random-images
    then put only the image-filenames into the array.

    function randomize_bg_image() {
    if(is_page(34024)){ 
    ?>
    <script type="text/javascript">
    (function($){
    	    var images = ['o2-7.jpg', 'o2-1.jpg', 'o2-2.jpg', 'o2-3.jpg', 'o2-4.jpg', 'o2-5.jpg', 'o2-6.jpg'];
    	    $('#randomized').css({
    	    	'background-image': 'url(/wp-content/uploads/random-images/' + images[Math.floor(Math.random() * images.length)] + ')'
    	    });
    })(jQuery);
    </script>
    <?php
    }
    }
    add_action( 'wp_footer', 'randomize_bg_image' );

    see: https://webers-testseite.de/bg-scheduling/

    PS: you can use all element options – f.e. background-color of the icon on iconbox-top – or animation styles – like pulse on hover.

    I would upload an unspectacular iconfont. Here I have inverted numbers. Link

    Then upload your coloured icons and make a note of the path for each icon.
    now replace an icon of this font with the noted links of your coloured icons

    this comes to your quick css:

    .av_font_icon {
        overflow: visible !important;
    }
    
    [data-av_iconfont="solar-icons"]  {
      content: " ";
      background-size: 100px;    
      background-position: center center;
      background-repeat: no-repeat;
      border: none !important;
      color: transparent !important;
    }
    
    [data-av_iconfont="solar-icons"][data-av_icon="\e800"]{background-image: url(/wp-content/uploads/globe.gif) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e801"]{background-image: url(/wp-content/uploads/broken-spheres.svg) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e802"]{background-image: url(/wp-content/uploads/bubbles.svg) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e803"]{background-image: url(/wp-content/uploads/chrome-balls.svg) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e804"]{background-image: url(/wp-content/uploads/film.svg) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e805"]{background-image: url(/wp-content/uploads/glas-dots.svg) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e806"]{background-image: url(/wp-content/uploads/glas-waben.svg) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e807"]{background-image: url(/wp-content/uploads/green-world.svg) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e808"]{background-image: url(/wp-content/uploads/home.svg) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e809"]{background-image: url(/wp-content/uploads/hui.svg) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e80a"]{background-image: url(/wp-content/uploads/lotus.svg) !important}
    [data-av_iconfont="solar-icons"][data-av_icon="\e80b"]{background-image: url(/wp-content/uploads/nachhaltig1.svg) !important}
    
    

    Now – if you place your circled number 1 – you can see even in preview – the replaced colored icon:
    And – yes even animated gifs can be inserted:

    see replaced first icon : https://webers-testseite.de/abc/

    PS: on that page with the snippets – you can see that i use the elements sizes for the icons – to generate the background-size :
    https://enfold.webers-webdesign.de/colorized-font-icons/

    if you like to use that too – remove from css code above the background-size line

    function transfer_fontsize_to_backgroundsize(){
    ?>
    <script>
    window.addEventListener("DOMContentLoaded", function () { 
    (function($) {     
    	$('.av-icon-char[data-av_iconfont="solar-icons"], .iconbox_icon[data-av_iconfont="solar-icons"]').each(function() {
    		var iconLineHeight = parseInt($(this).css('line-height'));
    		var iconPadding = parseInt($(this).css('padding'));
    		$(this).css('background-size', (iconLineHeight + 2*(iconPadding))+'px');
    	});
    })(jQuery);
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'transfer_fontsize_to_backgroundsize');

    by the way – same thing on

    .click(function() {
    

    it is now:

    .on('click', function() {
    

    and please think of since jQuery 3 the (window).load( is deprecated – it is now : (window).on('load',
    ( purely cosmetic – I personally prefer to write all jQuery as $ – and redeclare it by wrapping it in a jQuery function. )

    function av_move_search(){
    ?>
    <script type="text/javascript">
    (function($){
    	$(window).on('load', function(){
    		$('#menu-item-search').detach().appendTo('#header_meta .sub_menu ul');
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'av_move_search');

    by the way: your cloudflare security blocks your website (on all of my browser – even on those where i do not run µBlock or private window only.

    aha – the do_shortcode is the crux – i tried it with tags too and have only the $preview wrapped.
    Thanks – but there seems to be an auto close on div wrapping – there are empty divs after the preview insertion.
    btw. with p tags it does not work that way

    This is enough:

    add_filter("avf_portfolio_grid_excerpt", function ($excerpt, $entry) {
        $id = $entry->ID;
        $preview = get_post_meta($id, '_preview_text', true);
        if ($preview) {
            $excerpt = "<div class='av-custom-grid-excerpt-container'>" . do_shortcode($preview);
        }
        return $excerpt;
    }, 10, 2);
    in reply to: List not hyphenating #1441794

    hyphens: auto will break words with a dash : Link
    see on “can i use” the support for hyphens auto: https://caniuse.com/mdn-css_properties_hyphens_auto

    you can use ismaels css in combination with hyphens

    #main li {
       word-wrap: break-word;
       overflow-wrap: break-word;
       -webkit-hyphens: auto;
       -moz-hyphens: auto;
       hyphens: auto;
    }

    thats nice – because it is much easier to style this preview text than the excerpt field.
    is it possible to add in this case a custom class to f.e. the output div grid-entry-excerpt entry-content ?
    because f.e. ul’s do not have in that case that enormous line-height. And it is easier to select with a special class.

    in reply to: scroll left and right for portfoloio title #1441659

    No – I only “think” out loud.
    As I understand it, only the order in which they are looped is different – how to solve this?

    in reply to: Space between image and text #1441632

    in text elements – the inserted image floating left got a class: alignleft

    you can increase the default value from 10px by

    #top .avia_textblock img.alignleft {
      margin-right: 40px;
    }
    in reply to: main menu position with logo centered #1441631

    That was three years ago – but I think it works so far. Maybe I would do some things differently now.

    in reply to: List not hyphenating #1441629

    lists in text Element – or lists from advanced layout builder element ?
    Can you show an example page?

    Thanks – Mike – I forgot to mention that the coloured icons have to be uploaded to the media library

    PS – you can drag&drop the colored icons to fontello – in most cases they will generate a monocolor version of it.

    see here an example page – and code how i did that.
    In principle, I misuse a specially uploaded iconfont for this (e.g. 3d-icons) – and then replace the monocolour icons with the coloured ones using css.

    However, I have made a little more effort and uploaded monocolour icons of the coloured ones to fontello, so that I can see in the icon selection what kind of icon I want to use.

    https://enfold.webers-webdesign.de/colorized-font-icons/

    if you can download as svg – you can upload that to fontello.com
    Using it as an iconfont it has to be not multicolored. the svg path’s had to be compound path.

    Follow Mikes Link

    in reply to: scroll left and right for portfoloio title #1441596

    hm – on functions-enfold.php line 827 i found the orderby : post_date
    and the filter avf_post_nav_loop_args – but have no success with post_title

    And a little bit under Mike’s link there are the enfold fonticons used for their demos to download
    https://kriesi.at/documentation/enfold/icon/#download-fontello-or-flaticon-icons-included-in-enfold-demos

    in reply to: German translation in the backend #1441510

    In any case, it is questionable whether it is necessary to translate technical terms.
    If the descriptions are translated, I think it is quite sufficient to translate a backend.

    in reply to: Kunden-Empfehlungen Position Pfeile ganz unten #1441503

    ok – you have choosen a different testimonial layout:

    try:

    
    #top  .avia-testimonial-wrapper .avia-slideshow-arrows {
      display:  flex;
      position: relative !important;
      top: auto !important;
      bottom: 40px;
    }

    PS: du könntest diese svg auch zu fontello.com hochladen, und so dir ein eigenes fonticon set machen.
    die svg sollte man jedoch zuvor zu einem compound path vereinen ( Illustrator alles auswählen dann : Objekt – Zusammengesetzter Pfad – erstellen )

    lade dir das zip mal hoch unter : Enfold-Child – Import/Export – Iconfont Manger
    https://webers-testseite.de/manfred-ergott.zip
    Dann hast du den Satz als Iconfonts zur Verfügung.

    thanks – with

    function my_vars_outputs( $output ){
      $output .= "--my-variable-font-size-theme-h3: min(max(18px, calc(1.125rem + ((1vw - 3.2px) * 1.1864))), 32px); min-height: 0vw;\n";
      $output .= "--your-font-size-theme-h4: 20px;\n";
      return $output;
    }
    add_filter('avf_dynamic_css_additional_vars', 'my_vars_outputs');

    it works – but with avf_dynamic_css_after_vars i can not see a change.

    Edit:
    This illustration may help you to better understand how to use it.

    function my_vars_outputs( $output ){
    $output .= "
      #myID {
            font-size: 28px; 
      } 
      .myClass {
            font-size: 20px; 
      } 
    ";
      return $output;
    }
    add_filter('avf_dynamic_css_after_vars', 'my_vars_outputs');

    Edit: – ok now i see – but what benefit has that after_vars ?

    in reply to: Change dimensions of featured image in single blog post #1441455

    Try first only my solution without redefining the featured image source – this will only use a different image-size source for that featured image.
    And because masonry image-size is a non cropped size – use that.

    ________________________

    btw: on your copyright link in the footer you have made some mistakes.
    i would only insert that line:

    © Copyright - NSW Dowsers Society. All Rights Reserved. 
    

    and add to my child-theme functions.php:

    function new_backlink(){
    	$kriesi_at_backlink = " - <a href='https://xfactadesign.com' target='_blank'>Xfacta Design</a>";
    	return $kriesi_at_backlink;
    }
    add_filter('kriesi_backlink' , 'new_backlink');

    or maybe clearer in that way:

    function my_own_backlink($link){ 
      $no = "rel='nofollow'";
      $slogan = "Website Design by - ";
      $theme_string = "Xfacta Design"; 
      $backLink = "https://xfactadesign.com";
    
      $link = "{$slogan } <a {$no} href= {$backLink} target='_blank'>{$theme_string}</a>";
      return $link;
    }
    add_filter( 'kriesi_backlink', 'my_own_backlink', 10, 1);

    that snippet set the new value for the backlink. in this case you do not need to add the shortcode [nolink]

Viewing 30 posts - 1 through 30 (of 10,231 total)