Forum Replies Created

Viewing 30 posts - 571 through 600 (of 11,492 total)
  • Author
    Posts
  • in reply to: Changing Icon to Client logo icon #1472683

    the icon you like to insert – is it a colored icon or do you like to use the white globe icon with that green background?

    if you like to use it as monochrome icon – i would upload that monochrome globe as svg to fontello and create your custom icon font set.
    Then you can use it like all the other entypo-fontello icons.

    if you like to use that bicolor globe icon – you can set those icons to display none and insert via pseudo container your colored icon:

    #top #main ul.avia-icon-list.av-iconlist-small  li:before {
        content: "" !important;
        width: 40px;
        height: 40px;
        float: left;
        margin-left: -10px;
        margin-right: 10px;
        background-color: transparent;  /**** with background - replace  ***/
        background-image: url(/wp-content/uploads/globe-color.png);
        background-size: 30px 30px;
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 100%;
        top: -3px;
        position: relative;
    }
    
    #top .avia-icon-list-container .iconlist_icon {
      display: none 
    }

    But: to better select your small icon list – it would certainly be advisable to use a custom class.

    in reply to: How to turn header transperency off #1472611

    i guess your installation is based upon a demo. so open your frontpage in edit mode – on the right side there are boxes for Publish, Page Attributes, Layout etc.
    On Layout there is: “Header visibility and transparency”

    or if it is not that – you had to look for an existing css that rules the header transparency. However, you should have created this yourself, because as far as I know the demos work without additional quick css entries.

    The easiest way would be to see the page in question in order to be able to give better advice.

    with your nick it is easy to find your page – so maybe you give us the link to the page it concerns ;)

    in reply to: Renaming Theme folder using Child Theme #1472576

    what about that way (in addition) in the docu via: avf_dynamic_stylesheet_filename
    see: https://kriesi.at/documentation/enfold/personalize-theme/

    All of the Styling options you set in the theme’s Styling options are saved to a file in your uploads folder called enfold.css. If you have changed the theme name or something like that you may want to rename this file to better reflect your own branding. You can use the following function to do just that:

    
    function avia_change_filename($stylesheet){
       return 'custom_name';
    }
    add_filter('avf_dynamic_stylesheet_filename', 'avia_change_filename');
    in reply to: Conditional logic in contact form #1472545

    Contact Form 7 and Conditional Fields for Contact Form 7 are well documented – and still free

    in reply to: Animation starts when texts are visible in the browser #1472544

    mach doch mal einen Versuch auf der Villa Seite und nimm dort statt des 1500×1000 px bildes das Original.
    das original hat knapp 500kb das andere 1,2MB. – such mal hier im Forum nach dem Filter : avf_jpeg_quality
    da erfährst du warum die recalculierten großen Bilder meist viel mehr Filesize haben als die Originale.
    Wenn du nix findest melde ich mich Morgen nochmal.

    in reply to: Post Slider: make images clickable #1472543

    but isn’t this default behaviour?

    see: https://kriesi.at/themes/enfold-2017/elements/post-slider/

    in reply to: Animation starts when texts are visible in the browser #1472519

    naja – dein intersectionObserver Code war so nicht zu gebrauchen oder?
    ( ich glaube threshold war so falsch, ein Sonderzeichen war nicht ganz richtig etc. da habe ich dann lieber auf bekanntes zurückgegriffen – wobei : warum das mit dem “eintrag” funktioniert muss ich nochmal checken )

    PS: wenn du die Klasse übrigens während diese Seite durchgescrollt wurde behalten möchtest lösche die else condition.

    PPS: ich glaube das [].slice.call ist ein wenig Oldscool
    wenn du die Zeile austauschst gegen:

    var elements = Array.from(document.querySelectorAll(".scrollanimation"));
    

    ist es am Puls der Zeit ;)

    in reply to: Animation starts when texts are visible in the browser #1472516

    nur bei Merging sucht man sich unter 4700 Zeilen den Affen. – aber ich fand ja jetzt deinen Fehler nachdem das Merging ausgestellt war.

    in reply to: Animation starts when texts are visible in the browser #1472514

    aha – ich sehe den Fehler:

    schau mal wo du das css eingesetzt hast:

    @keyframes anim-lineDown

    da fehlt hinten eine schließende geschweifte Klammer
    dadurch ist das nachfolgende css ungültig:

    in reply to: Animation starts when texts are visible in the browser #1472512

    wo hast du dieses CSS eingefügt:

    .scrollanimation {
    	opacity:0;
    	transition: opacity 5s ease;
    }
    .scrollanimation.sichtbar {
    	opacity:1;
    }
    in reply to: Animation starts when texts are visible in the browser #1472510

    PS : Lies mal bitte den Absatz oben bei : Enfold – Performance dort steht unter anderem :

    HTTP/2 is optimized for using minified files and compression of files is no longer recommended: read more. Therefore since 5.7 by default minified files are selected.

    daher empfehle ich auch eher die Minified Files zu nutzen.

    in reply to: Animation starts when texts are visible in the browser #1472509

    nun ich kann im DOM sehen, das die Klasse “sichtbar” da ist wenn das Element im Viewport ist – und weg ist wenn nicht:

    allerdings hast du das File Merging aktiv. Das behält manchmal ein einmal gesetztes css im “Zwischenspeicher”
    Das wie oben beschreiben kann man allerdings bei Enfold – Performance ( in Deutsch steht da eventuell Leistung) erneuern lassen.

    in reply to: Animation starts when texts are visible in the browser #1472507

    ich sehe doch das es funktioniert – die Klasse sichtbar wird dynamisch eingefügt/entfernt.
    nur das css ist noch nicht vorhanden.

    Eventuell musst du das Merging von Enfold neu laden. ( unter Perfomance ganz unten – switch setzen und “Delete Old CSS And JS Files?” ausführen)

    in reply to: Animation starts when texts are visible in the browser #1472505

    vergiss nicht das css ins quick css zu setzen.

    .scrollanimation {
    	opacity:0;
      transform: translateX(-50%);
    	transition: opacity 5s ease, transform 2s ease;
    }
    .scrollanimation.sichtbar {
    	opacity:1;
      transform: translateX(0);
    }
    in reply to: Animation starts when texts are visible in the browser #1472503

    eventuell kannst du noch abwarten bis das DOM geladen ist :
    (das kann ich in den Developer Tools nicht testen)

    document.addEventListener("DOMContentLoaded", function() {
    	  var elements = [].slice.call(document.querySelectorAll(".scrollanimation"));
    		
    		if ("IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype){
    			let elementObserver = new IntersectionObserver(function(entries, observer) {
    				entries.forEach(function(entry) {
    					if (entry.isIntersecting) {
    						entry.target.classList.add("sichtbar");
    
    					}
    					else {
    						entry.target.classList.remove("sichtbar");
    					}  
    				});
    
    			}, {
    				root: null,
    				threshold: 0.1,
    				rootMargin: "-100px 0px -100px 0px",
    			});
    			
    			elements.forEach(function(element) {
    				elementObserver.observe(element);
    			});
    	  	}
    });
    in reply to: Animation starts when texts are visible in the browser #1472502

    oder damit man mal was sieht stattdessen:

    .scrollanimation {
    	opacity:0;
      transform: translateX(-50%);
    	transition: opacity 5s ease, transform 2s ease;
    }
    .scrollanimation.sichtbar {
    	opacity:1;
      transform: translateX(0);
    }
    in reply to: Animation starts when texts are visible in the browser #1472500

    nimm jetzt mal – ich beobachte jetzt nur noch das Element selbst – nicht mehr den Wrapper – da du die klasse mal im Textblock hast – mal als heading – dann wieder im Footer – egal so geht es:
    bei dem Plugin könnte es sein, dass man <script> mit dabei haben muss? das kann ich dir nicht beantworten deshalb mal so wie du es vorhin hattest:

    	  var elements = [].slice.call(document.querySelectorAll(".scrollanimation"));
    		
    		if ("IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype){
    			let elementObserver = new IntersectionObserver(function(entries, observer) {
    				entries.forEach(function(entry) {
    					if (entry.isIntersecting) {
    						entry.target.classList.add("sichtbar");
    
    					}
    					else {
    						entry.target.classList.remove("sichtbar");
    					}  
    				});
    
    			}, {
    				root: null,
    				threshold: 0.1,
    				rootMargin: "-100px 0px -100px 0px",
    			});
    			
    			elements.forEach(function(element) {
    				elementObserver.observe(element);
    			});
    	  	}

    und ins quick css dann:

    .scrollanimation {
    	opacity:0;
    	transition: opacity 5s ease;
    }
    .scrollanimation.sichtbar {
    	opacity:1;
    }

    PS: 5s scheint mir recht lang

    in reply to: Animation starts when texts are visible in the browser #1472498

    ich kann denke ich deutsch mit dir schreiben?

    entferne mal bitte dein script. da du auch andere Texte die nicht im Textblock sind beieinflussen willst muss es noch ein wenig anders gemacht werden.

    in reply to: Animation starts when texts are visible in the browser #1472496

    can you place instead :

    	const wrappers = document.querySelectorAll(".av_textblock_section");
    	const targets = document.querySelectorAll(".scrollanimation");
    	const animClass = ["sichtbar"];
    	
    	const observer = new IntersectionObserver((entries, observer) => {
    		entries.forEach(entry => {
    			const currentIndex = Array.from(wrappers).indexOf(entry.target)
    				if (entry.isIntersecting) {	
    					targets[currentIndex].classList.add(animClass);	
    				} 
    				else {
    					targets[currentIndex].classList.remove(animClass);
    				}
    		})
    	}, {
    		root: null,
    		threshold: 0.1,
    		rootMargin: "-120px 0px -100px 0px",
    	});
    
    	wrappers.forEach(wrapper => {
    		observer.observe(wrapper)
    	});	

    you can change later the rootMargin to your needs.
    PS: and sorry the selector on document.querySelectorAll should be with dot on classes

    in reply to: Animation starts when texts are visible in the browser #1472493

    dghdfgh

    • This reply was modified 7 months, 1 week ago by Guenni007.
    in reply to: Animation starts when texts are visible in the browser #1472490

    wo sind die Elemente, die die Klasse: scrollanimation haben

    das sind die Text elemente ?

    in reply to: Animation starts when texts are visible in the browser #1472489

    no – but your script had to be correct – see my hints above.

    in reply to: Animation starts when texts are visible in the browser #1472483

    As mentioned above – i’m participant as you are – so i can not see private content messages.

    in reply to: Animation starts when texts are visible in the browser #1472482

    by the way: not A One One

    document.querySelectorA11
    // guess you mean:
    document.querySelectorAll

    and where is your “eintrag” set?

    in reply to: Animation starts when texts are visible in the browser #1472480

    for example my snippet for those h2 headings goes to child-theme functions.php:

    function observe_headings_on_homepage() {
    ?>
    <script type="text/javascript">	
    	const wrappers = document.querySelectorAll(".av-special-heading");
    	const targets = document.querySelectorAll(".av-special-heading-tag");
    	const animClass = ["in-view"];
    	
    	const observer = new IntersectionObserver((entries, observer) => {
    		entries.forEach(entry => {
    			const currentIndex = Array.from(wrappers).indexOf(entry.target)
    				if (entry.isIntersecting) {	
    					targets[currentIndex].classList.add(animClass);	
    				} 
    				else {
    					targets[currentIndex].classList.remove(animClass);
    				}
    		})
    	}, {
    		root: null,
    		threshold: 0.1,
    		rootMargin: "-120px 0px -100px 0px",
    	});
    
    	wrappers.forEach(wrapper => {
    		observer.observe(wrapper)
    	});	
    
    </script>
    <?php
    }
    add_action( 'wp_footer', 'observe_headings_on_homepage' );
    in reply to: Animation starts when texts are visible in the browser #1472479

    may i see your page too? As participant i can not see private content area – so if it is possible to post here …

    see here for example an enfold page with implementing Intersection Observer ( scroll to “Dienstleistungen” ) –
    big advantage is that each time the objects comes into viewport – animation starts again.

    by the way all h2 headings are animated that way.

    https://webers-web.info/

    where did you “inject” your script? – via child-theme functions.php ?

    in reply to: Formatting svg dividers for mobile #1472356

    or – do you know that there are different ways to insert that divider. Maybe that is an alternative for you to have not so big dividers on mobile devices.

    see the same divider – one with “auto – defined by svg viewport” – and then set to max-height: 150px
    the other is set to 150px height.

    https://webers-testseite.de/svg-divider/

    have a look to smaller screens – on normal desktop screen width – both seems to be the same.

    in reply to: Modify mega menu to be full screen width #1472344

    for the full-width mega-div you can try now:

    #top #header .avia_mega_div {
      position: fixed;
      width: 96vw;
      left: 1.5vw !important;    /*=== because of the scrollbar  not 2vw ===*/
      top: 120px;
    }

    or maybe with background styling:

    #top #header .avia_mega_div {
      position: fixed;
      width: 96vw;
      left: 1.5vw !important;
      top: 120px;
      background-color: rgba(255,255,255,0.8);
      -webkit-backdrop-filter: blur(5px);
      backdrop-filter: blur(5px);
      border-radius: 0 0 15px 15px !important;
      border: 1px solid #FFF;
    }
    
    #top #header .avia_mega_div ul {
      background-color: transparent;
    }

    next release there will be for shrinking headers a variable value ( –enfold-header-height) which represents what it said – the dynamically header-height.
    for then we can use top: var(--enfold-header-height);

    for the rest i will look again to your example page.

    in reply to: Modify mega menu to be full screen width #1472319

    can you post the link to that example page?

    Is your header a shrinking one?

Viewing 30 posts - 571 through 600 (of 11,492 total)