Forum Replies Created

Viewing 30 posts - 3,001 through 3,030 (of 11,525 total)
  • Author
    Posts
  • in reply to: Main Menu_ Line indicates the wrong side #1357364

    scheint wohl leider nicht selten, obwohl ich noch nie betroffen war – schau mal hier wird sowas auch angesprochen: https://kriesi.at/support/topic/wrong-menu-item-is-highlighted/

    _______________
    btw:
    das ist jetzt nicht zu dem Problem, aber ich schaue gerade dein DOM an und die CSS
    ein Kommentar innerhalb einer CSS wird durch /* Kommentar */ – wie bei “montserrat-regular – latin” gesetzt.
    Du hast da teilweise bei den Schriften : das # indiziert das eine ID css gesetzt bekommt. Keine Ahnung ob es einfluss auf die Folgenden css haben kann. Denn du hast ja recht wenig dort

     #keine Kategorien anzeigen
    
     #schriftart montserrat
    /* montserrat-regular - latin */
    …
    
     #schrift_oleo
    /* oleo-script-regular - latin */
    …
    
    in reply to: Main Menu_ Line indicates the wrong side #1357362

    Ich meine Hier an Board was mit dem #top gelesen zu haben – ich suche mal / oder Du – da scheint ein kleiner Bug mit dabei zu sein.
    Edit : das kann es nicht sein : link
    es betraf etwas anderes – und es scheint ganz normal das Nach Klick das aktive Menu das /#top angehängt bekommt.

    in reply to: Main Menu_ Line indicates the wrong side #1357359

    Diese top level menu items, hast du die als manuellen Link eingefügt oder Standard als Drag&Drop über Seiten?
    Wenn du die als Custom-Link eingesetzt hast, was hast du bei URL eingegeben?
    Ich frage, weil bei St. Josef Hort verlinkst du auf #top.
    nimm das #top mal raus.

    in reply to: Main Menu_ Line indicates the wrong side #1357356

    Edit : falscher Ansatz – ich schaue es mir nochmal tiefer an.
    Diese Drei sind als Unterseiten der Frontpage definiert – richtig?

    in reply to: Reduce logo area size #1357272

    The problem is not to give more space to the menu items – but what is on smaller screens to do? F.e. on ipad / ipad-mini other devices – where the hamburger is not active.

    so if you set f.e. in your quick css:

    #top .av-main-nav > li > a {
      padding: 0 25px;
    }

    then try to pull your browser window smaller to see if the menu will overlap your logo before the hamburger is active.

    in reply to: Picture Tag with plugin imagify #1357271

    well – you might want to pay attention to this when creating your demo pages. If you equip the newest demo e.g. directly with webp images.

    in reply to: Picture Tag with plugin imagify #1357264

    yes Mike – I have already understood that; only what advantage is gained by such an approach? Is the use of the picture tag only needed to offer a fallback solution; or is the picture tag used to offer other image formats in the responsive case?
    So if it is used for these reasons, I think there is no argument for its use with the good distribution of webp support and the use of the srcset option.
    If you need the plugin to have a nice automatic conversion of images to webp format images – ok. – but automatically replacing the img tag with picture tag? For what?

    Often plugins make useful special additions to the basic installation – but not always.
    How many images are needed for a standard WordPress installation? 30-40? If it is not a photographer site or a shop system are already a lot. To convert this number as webp is relatively fast to do. Meanwhile even Photoshop offers the webp format as a possibility – you can make a droplet on your desktop to convert images to webp.

    PS : maybe if we start to use now the avif-format – a picture tag will be a good solution til this will be standard

    __________
    >Offtopic:
    Why do I like to ask about the reasoning behind the use of certain plugins?
    f.e.: I have enough customers here who absolutely want to have extensive statistics tools installed. Google Analytics seems to have a magical attraction for users. My inquiries as to who should take over their evaluation and who is also able to draw correct conclusions from it are usually met with ignorance. In 90% of the cases where I installed Google Analytics for customers, the interest in evaluating it independently quickly evaporated, and Google alone drew the benefit from it. Some of the collected data is simply not relevant for website operators.

    in reply to: Picture Tag with plugin imagify #1357233

    My answer concerning to your other question but also to webp format:
    https://kriesi.at/support/topic/add-lightbox-manually/#post-1355589

    Just use webp – the “can i use page” shows that only the IE11 with less than 0,5% gloabal usage does not support webp.
    In my opinion the usage of a fallback solution is now obsolete. Enfold supports webp usage in all alb elements – no need for a picture construct.

    See slider on : https://enfold.webers-webdesign.de/tooltips/

    in reply to: Image not showing on mobile #1357220

    in the non-responsive case (grid cells are next to each other) the height is determined by the cell with the most content.
    In the responsive case (the grid cells get the 100% width and are arranged on top of each other) the heights are then determined individually by each existing content.
    No content – no height; or if the default paddings of 30px are present a height of 60px.
    You can prevent this by placing a whitespace separator in that cell with the background-image.
    ____________________________

    btw.
    if you like to have a different order when cells are in responsive layout – you can set on grid-row alb options to have either reverse-order or to have individual order setting.

    the further to the right a cell is, the further up it is in the responsive case. – or you can choose here individual setup. Then you can determine the order in each cell. higher values are on top – lower at the bottom

    This is of course very handy if you want to have an alternating sequence of background images and content cells ( image – text – image – text …)

    in reply to: WordPress / Enfold and Content Security Headers #1357181

    This is part of htaccess file in root folder of your wordpress installation. That file has no file-extension and is an invisible file ( with a dot in front : .htaccess ) – but you can force most of the ftp clients to show those files ( f.e. filezilla under Server Menu ).

    Maybe Google does not like the interest-cohort() option – read about that setting and Google FLoC

    in reply to: Line break for tab section titles #1357173

    or just use the little plugin Günter has written : https://github.com/KriesiMedia/enfold-library/tree/master/integration%20plugins/Enfold/Special%20Character%20Translation

    other entries can be inserted into the array, of course.
    f.e.:

    see and download mine from: https://pastebin.com/jttc230x
    And in contrast to Günter’s notation, I always put only one # before and after the character.
    After activation of the plugin – you can use these substitutions – f.e. for a linebreak then #br#

    The last code snippet explicitly excludes the Tribe Events, the last but one excludes the tribe events (but also other Custom Post Types (CPTs)) by not naming them in the arrays.

    _____
    :)
    All may come to the party except Guenni007 ( number of guests any number)
    Jill and Jack are allowed to come to the party. ( yes Guenni007 is not allowed to come – but neither are the rest – number of guests : 2 )

    in reply to: Include JavaScript in the head #1357110

    i know some filters ( no scripts ) as child-theme functions.php snippet to use – but they only do highlight the search word in the search-results page.

    // highlight search word in results
    function highlight_results($text) {
        if (is_search() && !is_admin()) {
            $sr = get_query_var('s');
            $keys = explode(' ', $sr);
            $keys = array_filter($keys);
            $text = preg_replace('/('.implode('|', $keys) .')/iu', '<span class="search-highlight">\0</span>', $text);
        }
        return $text;
    }
    add_filter('the_excerpt', 'highlight_results');
    add_filter('the_title', 'highlight_results');

    But I would recommend this plugin:
    It highlights the search term not only on the search results page, but also on the related links.
    https://en-gb.wordpress.org/plugins/highlight-search-terms/

    maybe this is better – because even pages with tribe-events ( pages with tribe lists ) are not in the search:
    (i hope so – i can not test it – lack of using Events Calendar)

    function exclude_tribe_events() {
        global $wp_post_types;
        if ( post_type_exists( 'tribe_events' ) ) {
            $wp_post_types['tribe_events']->exclude_from_search = true;
        }
    }
    add_action( 'init', 'exclude_tribe_events', 99 );
    in reply to: Multiply image #1356968

    So if you go and set for the direct child of the background-image container : the mix-blend-mode – it will work in firefox.
    But then the whole container is influenced. And a min-height hampers the blend-mode toobecause of display :table

    i would like to set the min height of the container not by the alb – but with css – to get rid of display: table
    see my testpage on the bottom: https://enfold.webers-webdesign.de/special-backgrounds/#av_section_3

    and css for that:

    
    #top #main #av_section_3.mix-blend-mode  {
      background-size: cover;
      background-position: right center;
    }
    
    #top #main #av_section_3.mix-blend-mode .container {
      mix-blend-mode: multiply;
      display: block !important;
      min-height: 45vw;
    }
    
    #top #main #av_section_3.mix-blend-mode .container .content {
      float: left !important;
    }
    


    my comment on that:
    this is not a practical way to do it. It is unfortunately the whole container that would have to be set to this blend mode – so we should find another way.

    in reply to: Multiply image #1356949

    Unfortunately, I do not see the private content sector, so I have to guess what it’s about. It makes here far too many, a secret about their pages. You can only learn from the problems of others.

    now i go and try to find a solution

    Edit:

    The mix-blend-mode property defines the blending of the element’s content with its direct parent background

    If you look to a advanced layerslider solution – you see that the background-image container – is a sibling of the direkt image parent container.
    both must have mix-blend-mode : multiply
    the image itself got mix-blend-mode : normal

    in reply to: Can't edit functions.php #1356945

    ha _ :lol: i have a Déjà-vu :
    https://kriesi.at/support/topic/image-flip-box/#post-1342764 and https://webers-testseite.de/icongrid-with-frontimage/

    can not see if all is o.k. because when not using code tag here on board – a lot of signs are transfered to something else – but if you copy&paste it from here: Link – all will be o.k.

    by the way : fontawesome is now on 6.11 and hosted on
    https://www.jsdelivr.com/

    in reply to: Background Images #1356933

    just not sure why you are making it so hard for yourself.
    Why grid-row and why create that with background images.
    6 1/3 columns and then images in there that get a caption. The caption is then styled.
    Maybe also set the 6 columns as flex-box:

    __________________

    ich bin mir nur nicht sicher, warum Du es dir so schwer machst.
    Warum Grid-row und warum das mit Hintergrundbildern erstellen.
    6 1/3 columns und dann Bilder hinein, die ein Caption bekommen. Das Caption wird dann gestyled.
    Eventuell auch noch die 6 Columns als flex-box setzen:
    https://enfold.webers-webdesign.de/images/

    PS: wenn du das gesehen hast, werde ich deine Bilder durch Platzhalter-Bilder ersetzen.
    PPS: das Flexen geht allerdings nur wenn die flex-items nicht von anderen Elementen gestört werden. Heißt: es dürfen nur diese 6 Columns da drin sein in der Color-Section. Überschriften etc. müssen in einem anderen Container untergebracht werden.

    in reply to: Equal products height in Woocommerce Shop Page #1356928

    is there a way to see the page it belongs to?
    I’m participant as you are – but sometimes we do also have good ideas ;)

    in reply to: Can't edit functions.php #1356927

    But this is not an error message that you can not write, but that the inserted was faulty. Therefore check the snippet for errors.
    Are all quotation marks correct? not curved quotation marks but straight ones! – do all opening brackets also have closing equivalents? etc. pp.

    in reply to: Remove current post from blog grid #1356925

    try this in your child-theme functions.php:

    function ava_exclude_current_post($query) {
      if (is_singular('post') || is_singular('portfolio') ) {  
        $exclude = avia_get_the_ID();
        $query->set( 'post__not_in', array($exclude) );
      }
    }
    add_action('pre_get_posts', 'ava_exclude_current_post');

    or maybe shorter to use as condition above:

      if(is_single()){ 
    
    in reply to: Lightbox and background scroll #1356923

    Thank you for responding to the needs of fewer participants here as well. ;)

    in reply to: Pre-Load Logo only on to homepage #1356922

    ok – now i understand BUT
    even if you could load the script and styles only for home page:

    function front_page_preloader_script() {
        if( is_front_page() || is_home() ){
            wp_enqueue_script( 'avia-siteloader-js', get_template_directory_uri().'/js/avia-snippet-site-preloader.js', array('avia-default'), $vn, true, false);
            wp_enqueue_style( 'avia-siteloader', get_template_directory_uri().'/css/avia-snippet-site-preloader.css', array('avia-layout'), $vn, 'screen', false);
        }
    }
    add_action( 'wp_enqueue_scripts', 'front_page_preloader_script' );

    in functions-enfold.php there is still that line 20:

    $class = avia_get_option( 'preloader_transitions' ) != 'disabled' ? 'av-transition-enabled' : '';
    

    because it is in a Pluggable Function ( avia_preload_screen ) we could change that in child-theme functions.php.
    and we had to change some entries in header.php
    but even if we could do that – the preloader will also be shown if you leave the home page …

    _________________________

    So my quick and dirty way is:
    Set in Enfold Options the Preloader and do this to quick css:

    #top:not(.home) .av-siteloader-wrap {
        display: none !important
    }

    where does that cash.js come from?

    what is cash?
    cash is a small library (8kb) for modern browsers that provides jQuery style syntax to wrap modern Vanilla JS features.
    It allows developers to use the jQuery syntax they already know, and utilizes modern browser features to minimize the codebase.
    100% feature parity with jQuery isn’t a goal, but cash comes helpfully close, covering most day to day use cases.
    If your project is a closed environment, or you only support the latest and greatest, this could be fairly helpful.

    what do you try to intend to have a benefit from that script?
    And – if you need it – why do you load it from a different source domain ( https://sf.ezoiccdn.com/tardisrocinante ) ? 8kb is something that could be easily self-hosted.
    If you try to load it extern – you can use:
    A working link to that cash.js might be: https://cdnjs.cloudflare.com/ajax/libs/cash/8.1.1/cash.min.js or (Email address hidden if logged out) /dist/cash.min.js”>https: (Email address hidden if logged out) /dist/cash.min.js
    Try to deactivate it if it comes from a plugin – or if it is loaded in your functions.php. Just to see if the error message still exists.

    in reply to: Multiply image #1356911

    yes – that is fast done with photoshop or affinity photo or if you do not use those tools often – try online on : https://www.photopea.com/
    this is my layout : https://enfold.webers-webdesign.de/special-backgrounds/
    color-section with custom-class: imageblend; Section divider – but you see on the image alb that even multiple backgrounds could be set; and a bit of css.

    but i would set this gradient overlay only for larger screen widths.

    in reply to: Multiply image #1356903

    Now i try to do this with enfold images … see example page

    in reply to: Multiply image #1356892

    see: https://caniuse.com/?search=mix-blend-mode

    so why don’t you use a pseudocontainer to do the job?

    #top .avia-section.imageblend {
      position: relative !important;
      overflow: hidden !important;
    }
    
    #top .avia-section.imageblend:after {
      position: absolute;
      content: " ";
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-image: linear-gradient(90deg, rgba(130,208,221,1) 40%, rgba(130,208,221,0) 60%);
      background-size: cover;
      background-repeat: no-repeat !important;
      background-position: top left;
      pointer-events: none;
    }

    on a parallax section – selector is a bit different:

    #top .avia-section.av-parallax-section.imageblend .av-section-color-overlay-wrap:after
    

    See: https://enfold.webers-webdesign.de/special-backgrounds/
    you can use the section divider here and bring it to front

    in reply to: Customize Tag/Archive page #1356855

    can you temporarily remove the child-theme tag.php – and put this to your child-theme functions.php:

    add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2); 
    function avia_change_tag_blog_layout($layout, $context){
    if($context == 'tag') $layout = 'blog-grid';
    return $layout;
    }
    
    add_filter('avf_post_slider_args', function($atts, $context){
      if($context == 'tag') {
        $atts['type']  = 'grid'; 
        $atts['columns']  = 1;
      }
      return $atts;
    }, 10, 2);

    and this to quick css

    #top.tag .entry-content-wrapper .post-title{
      margin-bottom: 40px
    }
    
    #top.tag .slide-entry-wrap {
      margin-bottom: 10px;
    }
    
    #top.tag .slide-image {
      display: none !important;
    }
    
    #top.tag .slide-content > :not(.entry-content-header) {
      display: none;
    }
    
    #top.tag .slide-entry-wrap .entry-content-header .slide-entry-title:before {
      content: "Article:";
      font-size: inherit;
      font-weight: inherit;
      color: #666;
      padding-right: 15px;
    }
    in reply to: Customize Tag/Archive page #1356833

    oh – is hard to inspect your site, one would probably have to know a translation service ;)

    it depends on the exact page what you had to customize. Is it an archive category page or a archive tag page?
    then: it is tag.php – but i guess that it is only here on board a typo ?

    i found here some hooks for tribe-events: https://docs.theeventscalendar.com/reference/classes/tribe-events-views-v2-hooks/
    but I did not investigate the matter more deeply due to lack of time. ( so try first the last snippet)
    maybe that filter is the one you need: add_filter( ‘tribe_suppress_query_filters’, ‘__return_true’ );

Viewing 30 posts - 3,001 through 3,030 (of 11,525 total)