Forum Replies Created

Viewing 30 posts - 1,831 through 1,860 (of 11,892 total)
  • Author
    Posts
  • in reply to: Eingaben im Quick CSS Feld werden ignoriert #1436594

    first : i do not see your custom class in the dom: image_no_stretch

    second: maybe this is not the Element for you to use. It is the avia-fullscreen-slider
    it is just the feature that the full-screen slider has the full height.

    next: the fullscreen slider has no images as slides – the image is set as background-image to the li !
    ( so no img tag to select )

    maybe better to use instead the fullwidth easy slider !

    in reply to: logo-mobile-blurry #1436571

    but this is not a pure svg file – it has an embedded image file ( as data:image/png;base64 ) – the advantage of svg is the vectorbased curves.

    The embedded Image in your file is superflous. Here is a cleaned version of your logo:
    https://webers-testseite.de/gonowjets.svg

    you see on the xml code of that svg a group class : fillColor
    so you can now colorize that logo via quick css:

    .fillColor {
      fill: #FFF;
    }

    see in action on : https://webers-testseite.de/gonowjets-2/
    with:

    #top .logo svg {
      width: 300px;
    }

    ps: the svg does not shrink with the header because it fits with the given width even in the shrinked header.
    if you do not set the svg width – it will shrink but then it is very big of course.

    in reply to: CUSTOMIZE H3 NOT WORKING #1436566

    you can do that inline like your color setting:

    
    <h3>
       <a href="https://site.com/portfolio-item/east-point-lighthouse-n-j-photography-hot-spot/">
          <span style="color: #ffff00; text-transform: uppercase"><strong>EAST POINT LIGHTHOUSE</strong></span>
       </a>
    </h3>

    or globaly:

    #top .avia_textblock h3 strong {
      text-transform: uppercase !important;
    }

    if you do like to have it only on some h3 – you had to use a custom-class

    in reply to: LCP #1436562

    have you activated the TinyPNG with a valid API Key?
    On my test – it has reduced a webp from 870kb to 279kb ( Dimension: 4032 × 3024 )

    first – goto Enfold Options – Theme Options – Select Your Editor : “Use WP Classic Editor”

    you can add to child-theme functions.php:

    function trigger_alb_on_load(){
    ?>
    <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
          setTimeout(function() {
            $("#avia-builder-button").trigger('click');
          }, 300);
    })(jQuery);
    });
    </script>
    <?php
    }
    add_action('admin_head-post-new.php', 'trigger_alb_on_load');

    and if you like to change the editor even on widgets:

    add_filter( 'use_widgets_block_editor', '__return_false' );
    
    in reply to: logo-mobile-blurry #1436513

    Yes – but do replace both files – logo for transparency headers and the other one.

    in reply to: logo-mobile-blurry #1436504

    do you have that logo as svg file? Vectorbased Files are sharper even on small dimensions
    If not – what Font is the base for it? (the G and E and T and S will not be there on default – but it is much easier to make an svg of that – if we know the source font.

    in reply to: Open a Gallery (lightbox) from a button or hyperlink #1436447

    try this first instead:

    function link_to_gallery_first_item_in_lightbox() {
    ?>
    <script type="text/javascript">
    window.addEventListener("DOMContentLoaded", function () { 
    (function($) {
      $('.link_to_lightbox a').addClass('no-scroll');
        $(document).on('click', '.link_to_lightbox a', function(event) { 
            event.preventDefault();
            var linkTarget = $(this).attr('href');
            $(linkTarget).find("a.first_thumb").click();
        });
    })(jQuery);
    }); 
    </script>
    <?php
    } 
    add_action('wp_footer', 'link_to_gallery_first_item_in_lightbox');

    If you have installed a plugin like “Page scroll to id” – then we had to adjust it too.

    in reply to: Open a Gallery (lightbox) from a button or hyperlink #1436307

    the button is there too!

    It turns out to be very complex if you first want to open the gallery preview in the modal window, and then the items with the next click.

    Example Page :
    give to the button element a custom class f.e.: link_to_lightbox and link to an ID.
    ( or if you got many links inside to perform : give that class to a parent-elment (f.e. color-section) )

    place your galleries on your page (preferably behind your other content on the site.)
    Style them as lightbox galleries!
    those galleries must have now a unique ID (that corresponds with your link ID’s) and a custom class: mfp-hide

    put this to your child-theme functions.php:

    function link_to_gallery_first_item_in_lightbox() {
    ?>
    <script type="text/javascript">
    (function($) {
        $(document).on('click', '.link_to_lightbox a', function(event) { 
            event.preventDefault();
            var linkTarget = $(this).attr('href');
            $(linkTarget).find("a.first_thumb").click();
        });
    })(jQuery);
    </script>
    <?php
    } 
    add_action('wp_footer', 'link_to_gallery_first_item_in_lightbox');
    in reply to: Open a Gallery (lightbox) from a button or hyperlink #1436300

    and you like to show the gallery first in the lightbox – and then on next click the first gallery-item or does the button click start to show in lightbox the first item – then on click left/right the next images?

    see for example: https://webers-testseite.de/hidden-gallery/

    in reply to: Different Font for bold #1436277

    allthough there is no such font-style for sanchez – browser rendering could simulate a 700 Style.

    just set it in your quick css to do so for headings.
    see on google and developer tools change – on top 400 style – on bottom 700 via css

    in reply to: LCP #1436269

    but i do not find any webp on your installtion

    on alb settings – try to use the option to have no recalculted image – but to use “No Scaling (Original Width X original height)
    even on chrome – if you use the recalculated images it uses the jpgs instead. Do you use for webp any additonal image plugin etc. ?

    in reply to: Open Street map grey rectangles #1436010

    maybe it has to do with your non existing certificates. Your page is only in http mode to view. But maybe a security setting or plugin hampers to load unsecure sources. Or your Content Security Header settings.

    by the way: https://securityheaders.com/?q=http%3A%2F%2Finvebiwp.weblink.it%2Fcontatti%2F&followRedirects=on

    Where did you insert those CSPs ? And did you do it the correct way?

    in reply to: X social icon not showing in chrome #1436009

    on the demo https://kriesi.at/themes/enfold-2017/ I can also see the Twitter icon in Chrome. Without seeing your page – no chance to give advice.
    If there is a link on private content area – you had to wait for a mod. Sorry

    in reply to: LCP #1436008

    Wenn es deine Internetseite betrifft, die sich hinter deinem Nick verbirgt, dann sind es hautpsächlich deine Bilder, die deiner Beachtung würdig sein sollten.

    Mal davon abgesehen, das es gar keinen Sinn macht Bilder hochzuladen, die mehr als 2560px ( das ist eine Media-Library Grenze die WordPress selbst hat) groß sind. Dadurch tauchen Bilder auf, die dann WordPress auf diese Grenze herunter rechnet und mit dem addendum -scaled abspeichert.

    schau dir den Bericht auf Gtmetrix mal an: Link
    Es it garantiert nicht das Pseudo-Element was du oben anführst. ( Es sei denn es hat dort Hintergrundbilder oder ähnliches per css mit drin.)

    Es werden auch viele kleinere Bilder (in den Dimensionen nicht vom Dateivolumen) hochscaliert, was auch Zeit benötigt.

    Zur Info bezüglich der Art wie Enfold mit hochgeladenen Bildern neue Formate errechnet. : https://kriesi.at/support/topic/enfold-image-bigger-than-original/#post-1355204
    Dort findest du dann auch ein Snippet mit dem man den Kompressionslevel von Enfold beim Upload der Bilder reduzieren kann. Und wie man mit der Nutzung von temporär installierten Plugins die anderen Bildformate erneut recalculieren läßt.

    Meine Empfehlung : bevor du die Bilder hochlädst, berechne Sie neu in einem Grafikprogramm auf eine Größe, die auch später Verwendung finden könnte.
    Wenn man sich die “most common browser viewing sizes” ansieht, sollte man mit 1920px meist auskommen.

    hier mal ein Bildvergleich eines deiner Bilder – schau ob sich das wirklich lohnt, hochaufgelöste Bilder im Web zu nutzen ;)
    https://webers-testseite.de/bildvergleich/

    in reply to: Open Street map grey rectangles #1435966

    have you tried the troubleshoot hint on docu:
    https://kriesi.at/documentation/enfold/openstreetmaps-leaflet-maps/#troubleshoot
    using the plugin js or downloading the latest js from leaflet?

    in reply to: some styles suddenly not loading – Urgent #1435937

    Yes Mike – but i can not decide it because either your red arrow shows the superflous Bracket – or the blue arrow shows a too early set closing bracket.
    Which one is to remove now. My guess is that the former (blue) is more likely to be removed.

    Further down there is also nesting of media querries, and I’m not sure if that works.
    A bracket was opened, then new media query statements follow without closing the first one – after the insertions there is a closing bracket – but I don’t think that works. (maybe it works, because the parameters are the same).

    and is that always the case with your other sections? that the following section overlaps the previous one? Then you do not need this procedure. It’s a pity that the other participants always make such a secret of the pages they want to discuss. We would have reached our goal more quickly. Creating an external shadow (in relation to the svg) is easier. However, a box shadow is not useful here.

    i gave a custom class to the section with the bg video : shadowinside

    #top .avia-section.shadowinside .avia-divider-svg.avia-divider-svg-bottom svg {
      overflow: visible !important;
    }
    #top .avia-section.shadowinside .avia-divider-svg.avia-divider-svg-bottom path {
      filter: drop-shadow(0 3px 10px #000)
    }

    see example page on the bottom

    although not all svg-dividers are suitable for this. There must be a certain height for the filling space. For example, the shadow cast at the top of the section would not work well, e.g. the separator “split” – or “Book”
    i have a different fill color for that sperators that you can better see what i mean.

    so for this type of shadow casting it is good if the svg has a certain height of the not to fill space there to keep the shadow inside and is not cut off.
    see here the height x is too small for the shadow.

    an svg like this is better suited for this purpose:
    svg Link
    and comparison to the original tilt from enfold: https://i.postimg.cc/CLHtkX0t/svg-difference.jpg

    in reply to: Link Logo header #1435804

    After erasing the snippet – did you refresh enfold merging – or delete Cachings ( Browser Caching, maybe any other caching tools)

    in reply to: Link Logo header #1435766

    What if you erase that snippet. The normal behavior is exactly what you try to achive.
    What is the reason for that existing snippet in your functions.php?

    in reply to: some styles suddenly not loading – Urgent #1435765

    Bei dem Nick ausgesonnen, nehme ich mal an ich kann dir auch deutsch antworten:

    Diese Fehler kann sind durch die vielen Media Querries entstanden. Eine Klammer die aufgeht – muß auch wieder geschlossen werden.
    Da ich nicht weiß, was du mit deinen Regelen bewerkstelligen wolltest, kann ich auch nicht entscheiden ob der Fehler ein vorzeitiges Schließen der Klammer ist, oder eine überflüßig gesetzte Klammer ist.
    Im Beispiel oben ob diese Regel nur unterhalb von 767px gelten soll oder eben generell:

    .responsive #top.page-id-472 div .avia_responsive_table .avia-data-table td, 
    .responsive #top.page-id-472 div .avia_responsive_table .avia-data-table th {
    	padding: 0;
    }

    Davon ist abhängig ob die Klammer oben zu früh geschlossen wurde, oder ob die andere zu viel ist. etc.
    Da die Fehler mannigfaltig sind, empfehle ich alle zu entfernen. Die jenigen die leicht als korrekt zu erkennen sind wieder einzufügen. Also die nicht in media-querries gesetzt sind und auf/zu gehen.

    Und dann neu zu überdenken, was gemacht werden muss.

    PS: um solche Fehler in Zukunft zu vermeiden; immer die Regeln, die du neu hinzufügen willst ganz an das Ende der Quick css zu setzen – niemals so zwischen drin reinzuschmeißen. Das birgt in sich Fehler Quellen. Dann am Ende – sortieren und die Media-Querries zusammenführen.

    Ansonsten musst du eventuell auf die Hilfe eines Mods hoffen, der sich einloggt, und die verschiedenen Möglichkeiten durchspielt.

    __________

    With the nickname ausgesonnen, I assume I can also answer you in German:

    These errors can be caused by the many media queries. A bracket that opens – must also be closed again.
    Since I don’t know what you wanted to achieve with your rules, I can’t decide whether the error is a premature closing of the bracket or a bracket that was set superfluously.
    In the example above whether this rule should only apply below 767px or in general:

    .responsive #top.page-id-472 div .avia_responsive_table .avia-data-table td, 
    .responsive #top.page-id-472 div .avia_responsive_table .avia-data-table th {
    	padding: 0;
    }

    It depends on whether the bracket at the top was closed too early, or whether the other one is too much, etc.
    Since the errors are manifold, I recommend removing all of them. The ones that are easy to recognize as correct should be reinserted. So the ones that are not set in media-querries and open/close.

    And then rethink what needs to be done.

    PS: to avoid such mistakes in the future; always put the rules you want to add at the end of the quick css – never throw them in between. This is a source of errors. Then at the end – sort and merge the media queries.

    Otherwise, you may have to hope for the help of a mod who logs in and runs through the various options.

    in reply to: Link Logo header #1435701

    the problem seems to be that all pages do only reload. So there must be a setting in his installation that overrides the default behavior ( namely to redirect to the homepage ).

    in reply to: some styles suddenly not loading – Urgent #1435671

    this is hard to say – because i do not know where to close an opended media query on your code, because I don’t know whether these errors occurred because you inserted a new media query rule into an existing one or simply forgot to put a closing bracket.

    So i can’t tell you whether you should remove it where i wrote “closed too early?” (because then the bracket at “or an additional superfluous bracket” would be correct. Or just remove that bracket ( at “closed too early?”) . That depends on the intention of what you want to achieve. Both leads to a working code but do different things.

    in other words :
    i do not know if you like to have:

    @media only screen and (max-width: 767px) {
    	.responsive #top.page-id-472 .avia_responsive_table .avia-data-table tr:first-child th {
    		display: block;
    	}
    	.responsive #top.page-id-472 div .avia_responsive_table .avia-data-table td, 
    	.responsive #top.page-id-472 div .avia_responsive_table .avia-data-table th {
    		padding: 0;
    	}
    } 

    or that:

    @media only screen and (max-width: 767px) {
    	.responsive #top.page-id-472 .avia_responsive_table .avia-data-table tr:first-child th {
    		display: block;
    	}
    } 
    .responsive #top.page-id-472 div .avia_responsive_table .avia-data-table td, 
    .responsive #top.page-id-472 div .avia_responsive_table .avia-data-table th {
    	padding: 0;
    }

    etc.
    _______

    So, if I no longer knew exactly what belonged to which intention, I would first remove everything. Then reinsert the ones that are unproblematic (opening and closing brackets that are clear ) and then add the media queries step by step.

    in reply to: some styles suddenly not loading – Urgent #1435632

    btw. even if you are opening a media query – but have some other media querries inside that open and close correctly – a following closing bracket then have no effect.

    see here some code of your css ( those rules that are correct are erased here )

    @media only screen and (max-width: 767px) {
    	.responsive #top.page-id-472 .avia_responsive_table .avia-data-table tr:first-child th {
    		display: block;
    	}
    } 
    /**** closed too early ? ******/
    	.responsive #top.page-id-472 div .avia_responsive_table .avia-data-table td, 
    	.responsive #top.page-id-472 div .avia_responsive_table .avia-data-table th {
    		padding: 0;
    	}
    } /**** or an additional superfluous bracket  ******/
    
    @media only screen and (max-width: 767px) {
    	#top .avia-icongrid.av-flex-cells.av-break-989 .av-icon-cell-item {
    		flex: 1 1 100%;
    	}
    
    	.avia-icongrid-flipbox .av-icon-cell-item .avia-icongrid-front .avia-icongrid-inner, .avia-icongrid-flipbox .av-icon-cell-item .avia-icongrid-flipback .avia-icongrid-inner {
    		padding: 0 3em;
    	}
    
    	.all_colors h3 {
    		line-height: 1.3; /* Adjust the value to increase or decrease spacing */
    	}
    
    	.keinspace span {
    		display: block; /* Ensure the span is treated as a block element */
    		margin-top: 0px; /* Adjust margin-top to reduce space */
    		font-size: 0.7em; /* Adjust the font size smaller */
    		color: #6F6571; /* Change the text color to grey */
    	}
    
    	.avia-cookie-consent {
    		width: 100%;
    		position: fixed;
    		background-color: #009BDD;
    		z-index: 999;
    		color: rgba(255,255,255,0.9);
    		padding: 1.1em;
    		text-align: center;
    		opacity: 1;
    		visibility: visible;
    		transition: all 0.3s ease-in-out;
    		overflow: hidden;
    	}
    
    	.avia-cookie-consent-button,
    	.avia-cookie-info-btn,
    	.avia-cookie-hide-notification,
    	.avia-button {
    		background-color: white !important;
    		color: black !important;
    	}
    
    /**** missing closing curly bracket ******/
    
    /***** some media querries inside here - that are correctly opend and close so the following closing has no effect to that before *******/
    
    .av-burger-menu-main.menu-item-avia-special {
    		display: block;
    	}
    }  /**** additional superfluous bracket  ******/
    
    

    It is therefore best to avoid nesting media queries and possibly combine the same ones.
    There are a lot of single @media only screen and (max-width: 767px) {

    in reply to: some styles suddenly not loading – Urgent #1435629

    In most cases it happens with media-query instructions. A bracket that is forgotten to be closed or one that is set too much.

    here is one extra – or before the closing media query bracket is set to early?

    .responsive #top.page-id-472 div .avia_responsive_table .avia-data-table td, .responsive #top.page-id-472 div .avia_responsive_table .avia-data-table th {
    padding: 0;
    }
    }

    next here is an opening bracket – with no closing ( i do not know if all the rest should be inside the media query – or if you like to close directly after that)

    @media only screen and (max-width: 767px) {
    	#top .avia-icongrid.av-flex-cells.av-break-989 .av-icon-cell-item {
    		flex: 1 1 100%;
    	}
    .av-burger-menu-main.menu-item-avia-special {
    display: block;
    }
    }
    in reply to: Link Logo header #1435627

    I would like to go to the start page by clicking on the logo.

    this is standard behavior of Enfold setting ( WordPress on general). So if this is not the case there had to be something ( maybe allready in your functions.php) that hampers this action.

    So what is exactly on your code in the XXXX part. Or just get rid of that entry. And have a look what happens then.

    in reply to: Masonry: AND rule for category selection returns no results #1435624

    Actually, you have already described it in sufficient detail above. Just to be on the safe side, there are posts that belong to both categories.
    As you can see here on an example page, I chose the “and” in the logic, and in fact only those posts are listed that belong to both categories. So I cannot confirm this behavior.

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

    I will now test the masonry element you mentioned underneath. …

    You can see that the Masonry also shows the same posts as the blog post element. ( of course the sorting option no longer makes sense here )

    PS: btw. i want to test the magazine element too – but it does not have that logic option. Maybe a good idea to have it here too.

    In the meantime, I prefer to have my custom SVGs in a folder: /wp-content/uploads/dynamic_avia/avia_custom_shapes
    this is a default folder for custom svg dividers – but you have to create it yourself.
    Now we just register the custom svg files – add this to your functions.php of the child theme:

    function custom_avf_custom_svg_shapes( array $custom_shapes ) {
    $custom_shapes = array(
    	'tilt-with-shadow'	=> array(
    		'key'			=> 'tilt-with-shadow',
    		'title'			=> __( 'Tilt with Shadow', 'avia_framework' ),
    		'has_width'		=> true,
    		'has_flip'		=> true,
    		'filename'		=> 'tilt-with-shadow'
    		),
    	);
    return $custom_shapes;
    }
    add_filter( 'avf_custom_svg_shapes', 'custom_avf_custom_svg_shapes', 10, 1 );

    this svg you can find at:
    https://webers-testseite.de/wp-content/uploads/tilt-with-shadow.svg

    if you click to the svg now : you can see the black fill of the svg – that is the trick on svg-dividers all path ( polygones, circles etc. ) that has no fill color in the svg get the color you set on the alb.

    Result: https://webers-testseite.de/bg-video/

    This is more difficult than you think. Because a shadow cast on these svg dividers would be directed outwards. But that would mean casting a shadow upwards over the film. If I understand you correctly, however, the shadow should be directed downwards; but that means an inset shadow on the svg itself, and only on one edge.

    It is possible – albeit with some effort – by creating a custom SVG divider. To do this, you should familiarize yourself a little with how to integrate them into the general process.

    If you take a look at the example page with developer tools, you will see how it works.
    The svg has two identical polygons (red), but I fill one of them with a gradient (green arrow) that goes from black to white; however, the white only has 0% coverage at the end. This white must later be replaced by the color of the following section via the ID of the stop-color using quick css.

    in my example page i gave to the section a custom class to better select that svg:
    ( benefit is now that we can select from outside the inner gradient )

    .avia-section.shadow-special #nextBGColor {
      stop-color: #083a96 !important;
    }

    next : how to have custom svg dividers …

    you tried to do it with slanted border – but try with svg separator instead and check the mark “bring to front”

    https://webers-testseite.de/bg-video/

Viewing 30 posts - 1,831 through 1,860 (of 11,892 total)