Forum Replies Created

Viewing 30 posts - 4,411 through 4,440 (of 11,917 total)
  • Author
    Posts
  • in reply to: Picture in Lightbox displaye wrong color #1303096

    if you look to my testpage now :
    Uploaded Images ( left tranfered to sRGB before uploading) ( right – with ProPhotoRGB)
    all smaller calculated images are not “well colored”
    what I don’t quite understand is why the original Size on both images ( and in my lightbox these are displayed ) have correct colors – although it is a ProPhotoRGB.

    in reply to: Picture in Lightbox displaye wrong color #1303090

    hm – the original size of your image: https://www.bureaureinasmallenbroek.nl/wp-content/uploads/2021/05/Gasterse-Duinen-4-bomen.jpg
    it has a ProphotoRGB embedded – maybe that will cause the color shift on upload and recalculation to smaller images.

    • This reply was modified 4 years, 7 months ago by Guenni007.
    in reply to: Picture in Lightbox displaye wrong color #1303088

    Yes – and i see on your Webpage that you are a professional Photographer.
    If i work with my photos i do work as long as possible in AdobeRGB – because the color room is bigger than on sRGB. For webupload i do transfer those profiles to sRGB – not all Browsers have a color-management for adobeRGB ( Firefox , Edge) – Safari and Chrome not.
    See here one of your Photos – left with sRGB Profile embedded – right with adobeRGB:
    https://webers-testseite.de/reina/
    when you have seen it – i will remove those examples.

    in reply to: Picture in Lightbox displaye wrong color #1303076

    your color mode rgb is a sRGB profile or is it f.e. an adobeRGB.
    – I used to work for museums and the color correct reproduction was always an issue.
    Unfortunately, many of the images were also intended for printing, so I sometimes got a CMYK in the web upload.
    Maybe that’s what happened to you with that one image without you realizing it, you failed to convert it to sRGB.
    The standard RGB Profile is for Web – guess all browsers try to generate the image display according to this standard.
    If i rember it well – the adobeRGB interpreted as sRGB looks a bit more magenta – especially the blue colors.

    • This reply was modified 4 years, 7 months ago by Guenni007.
    in reply to: Possible Custom Social Icon Bug in 4.8.3 #1303008

    and you definitly have a fontello icon set ? – and that has the new icons for your new definitions.
    ( the standard enfold fontello set is: entypo-fontello )

    Did you place it in your functions.php on the right place? right before that
    line 844 :

    require_once( 'functions-enfold.php');
    

    Did you refresh all cachings – refresh the merging of Enfold on Performance Settings ?

    in reply to: Hide Sticky Header on Single Page #1303007

    you have still some rules concerning to padding-top of #main in your css set to !important

    you got this rule in your css:

    @media only screen and (min-width: 787px) {
    	#header_meta { display: none !important; }
    	.html_header_top.html_header_sticky #top #wrap_all #main {
    	    padding-top: 170px !important;
    	}
    }

    the rule of a blank page layout :

    #top.avia-blank #wrap_all #main {
        padding-top: 0 !important;
        margin: 0;
    }

    comparing the selectors – the first has one class more than the second – so it will win the game ;)
    is the first rule a custom rule in your quick css ?

    you can overwrite that rule by:

    .html_header_top #top.avia-blank #wrap_all #main {
        padding-top: 0 !important;
        margin: 0;
    }

    BUT
    The first rule is an enfold rule but not set to !important on default.
    is there any reason to set it this way?

    in reply to: Remove top "frame" in fixed frame layout #1303006

    But now you have decided to have the stretched Layout:
    _____
    Yes – you have to think about that, and it happens even with experienced users.
    So my recommendation: as long as you are still working on the site, trying out different stylings and css settings, turn off all caching you have influence on. So the merging of the css and js files in Enfold and also turn off caching plugins. The browser cache can be hard refreshed relatively quickly with key combinations depending on the browser.
    As soon as this phase is finished, you can take care of the performance.

    PS: Any image larger than 2560px will be scaled by wordpress during upload and saved as original with the name xyz-scaled.jpg.
    So in order not to inflate your upload unnecessarily, you should not upload images larger than 2560px.
    And you should choose a higher compression rate in your graphics program when saving.
    Unfortunately, the Enfold calculated image formats have no more compression, so it can happen that the original file has less filesize than the 1500px image from Enfold.

    There are only a few images ( monochrome gradients – like sunsets or skin tones )where it could really be noticeable.
    But you gain quite a bit in performance. It is of little use if your pictures look sharp and beautiful, but take 10s to load. Then the viewers of the pictures are already gone.

    There are some snippets to avoid that and define a compression rate for those recalculated Images on upload.
    This snippet in your child-theme functions.php set the compression rate to 55 ( instead of 100 : no compression )

    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 = 55; return $quality;}
    in reply to: Remove top "frame" in fixed frame layout #1302961

    give this a chance ( remove the other code ):

    html.html_av-framed-box {
      padding-top: 0 !important;
    }
    
    .av-frame.av-frame-top.av-frame-vert {
      height: 0 !important;
    }
    in reply to: Hide Sticky Header on Single Page #1302954

    remove all css rules trying to get rid of the headers of that page. The mentioned template will do the job and will think of the right padding for #main
    a page popup is done easily by the page link followed by ?iframe=true
    f.e.: see here a demo page : https://webers-testseite.de/my-website/
    on the right button i have inserted as link : https://webers-testseite.de/under-construction?iframe=true
    that is my “Maintenance Mode” Page
    Left is an external page of mine.

    in reply to: Date appearance in text box #1302934

    we can surround the weekday by some html with a class. Those extra letters had to be escaped.

    Replace the whole code with:

    function add_date_time_popup_content( $content ) {
    	if ( ! function_exists( 'pum_get_popup_id' ) ) return;
    	$popup_id = pum_get_popup_id();
    	return "<p class='date-published'>" . get_the_date( '\<\s\p\a\n \c\l\a\s\s\=\"\w\e\e\k\d\a\y\"\> l \<\/\s\p\a\n\> \d. d.m.Y' , $popup_id ) . "</p>" . $content  ;
    }
    add_filter( 'pum_popup_content', 'add_date_time_popup_content' );
    
    function show_date_of_popup(){
    ?>
    <script type="text/javascript">	
    (function($) {
    	$(document).ready(function(){ 	  
    		$('.pum-trigger').each(function() {
    			var pumPopup = $('.pum').css('display');
    			var trigger_name = $(this).attr('class').split(' ')[0];
    			var publishingDate = $(this).closest('#top').find('#'+trigger_name+' .date-published').html();
    			var date_published = $('<span class="puplished">'+publishingDate+'</span>');
    			$(this).append(date_published);	
    		});
    	});	
    })(jQuery);	       
    </script>
    <?php
    }
    add_action('wp_footer', 'show_date_of_popup', 9999);

    and put this to quick css:

    .puplished .weekday,
    .date-published .weekday {
    	text-transform: capitalize;
    }
    in reply to: Date appearance in text box #1302932

    But this does not belong to the code i gave to you.
    What do you see if you go to dashboard – general – Date Format : if you choose custom and put in : l \d. d.m.Y on preview:
    ________

    you see here that the normal format is for Weekday a capitalized result.
    btw: you don’t want all letters uppercase – just the first one?

    in reply to: Hide Sticky Header on Single Page #1302779

    EDIT: sorry didn’t see that you like to have that as popup – so read the next Answer
    ___________________
    But if your visitors want to navigate further on your page – how do you want to offer that?

    you can place a button for instance that will go back in browser history – just place a button and give a custum-class to it: goback
    this to child-theme functions.php:

    function go_back_button(){
    ?>
    <script type = "text/javascript">
    (function($){
      $('.goback').on('click', function(e){
          e.preventDefault();
          window.history.back();
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action( 'wp_footer', 'go_back_button' );
    in reply to: Hide Sticky Header on Single Page #1302777

    You do not think about the padding-top of #main caused by a header calculation height.
    But:

    The solution is actually very simple, by not selecting the default template, but “Blank – no header no footer”.

    You open the editor for this page and right at the meta boxes you see Template.

    in reply to: Date appearance in text box #1302627

    if you like to have some binding words in that date do it this way:
    The backslash will show the code that it does not stand for the day but to have text here

    'l \d. d.m.Y'
    
    in reply to: Date appearance in text box #1302619

    But think of – you want the publishing date of the popup to show – i can see now different manual dates on that:

    https://kriesi.at/support/topic/date-appearance-in-text-box/page/2/#post-1301398

    in reply to: Date appearance in text box #1302614

    first you told me it is too long!

    Replace the part of the function above:

    function add_date_time_popup_content( $content ) {
    	if ( ! function_exists( 'pum_get_popup_id' ) ) return;
    	$popup_id = pum_get_popup_id();
    	return "<p class='date-published'>" . get_the_date( 'l, d.m.Y' , $popup_id ) . "</p>" . $content  ;
    }
    add_filter( 'pum_popup_content', 'add_date_time_popup_content' );

    that part: ‘l, d.m.Y’ is responsible for it:
    see here foramting options: https://wordpress.org/support/article/formatting-date-and-time/

    • This reply was modified 4 years, 8 months ago by Guenni007.
    in reply to: Date appearance in text box #1302610

    ok – you got it now
    But – now you have to remove in your popups the shortcode :

    <span class="date-published">[post_published]</span>
    

    if you do not want to show the published date in the popups content – you can hide it there.
    or you can shift it to the bottom of the popup content.

    in reply to: Date appearance in text box #1302607

    this in the code above

    
    var trigger_name = $(this).attr('class').split(' ')[0]

    will search for the classes – split the class list on spaces and will take the first class ( it starts at 0 )

    this is what i got on the test:
    ( click to enlarge )

    i got the id at the second position !

    in reply to: Date appearance in text box #1302606

    on your triggers : you have the classes ( f.e.)
    popmake-21659 pum-trigger

    on my testinstallation i would have:
    pum-trigger popmake-21659

    we need that popmake-21659

    so just replace the whole code by:

    // this is now the code to insert the popup publishing date - 
    // all credits goes to a guy that helped me from wp-popupmaker : Mark Chaves !
    function add_date_time_popup_content( $content ) {
    	if ( ! function_exists( 'pum_get_popup_id' ) ) return;
    	$popup_id = pum_get_popup_id();
    	return "<p class='date-published'>" . get_the_date( 'd.m.Y' , $popup_id ) . "</p>" . $content  ;
    }
    add_filter( 'pum_popup_content', 'add_date_time_popup_content' );
    
    //-----------------
    // this is the known script
    function show_date_of_popup(){
    ?>
    <script type="text/javascript">	
    (function($) {
    	$(document).ready(function(){ 	  
    		$('.pum-trigger').each(function() {
    			var pumPopup = $('.pum').css('display');
    			var trigger_name = $(this).attr('class').split(' ')[0];
    			var publishingDate = $(this).closest('#top').find('#'+trigger_name+' .date-published').text();
    			var date_published = $('<span class="puplished">'+publishingDate+'</span>');
    			$(this).append(date_published);	
    		});
    	});	
    })(jQuery);	       
    </script>
    <?php
    }
    add_action('wp_footer', 'show_date_of_popup', 9999);
    in reply to: Date appearance in text box #1302604

    yes sorry – on my testinstallation i have first the pum-trigger class than the id
    so i corrected the second code to split on [0]
    ( var trigger_name = $(this).attr('class').split(' ')[0]; this is different to my installation – you had to take the first part of the class list )

    replace it

    in reply to: Pagination #1302591
    in reply to: Date appearance in text box #1302576

    here is the solution to it:

    remove the shortcode function so that you only have on child-theme functions.php:

    
    // this is now the code to insert the popup publishing date - 
    // all credits goes to a guy that helped me from wp-popupmaker : Mark Chaves !
    function add_date_time_popup_content( $content ) {
    	if ( ! function_exists( 'pum_get_popup_id' ) ) return;
    	$popup_id = pum_get_popup_id();
    	return "<p class='date-published'>" . get_the_date( 'd.m.Y' , $popup_id ) . "</p>" . $content  ;
    }
    add_filter( 'pum_popup_content', 'add_date_time_popup_content' );
    
    //-----------------
    // this is the known script
    function show_date_of_popup(){
    ?>
    <script type="text/javascript">	
    (function($) {
    	$(document).ready(function(){ 	  
    		$('.pum-trigger').each(function() {
    			var pumPopup = $('.pum').css('display');
    			var trigger_name = $(this).attr('class').split(' ')[0];
    			var publishingDate = $(this).closest('#top').find('#'+trigger_name+' .date-published').text();
    			var date_published = $('<span class="puplished">'+publishingDate+'</span>');
    			$(this).append(date_published);	
    		});
    	});	
    })(jQuery);	       
    </script>
    <?php
    }
    add_action('wp_footer', 'show_date_of_popup', 9999);
    in reply to: Possible to nest columns? #1302571

    here are some other overlapping samples:
    https://webers-testseite.de/overlapping/
    or https://webers-testseite.de/overlap-to-followed-section/

    you see here too – that you can even use the animation of enfold for those overlapping columns.

    in reply to: Possible to nest columns? #1302567

    here is a layout made for another participant : https://webers-testseite.de/steviger/

    The Reverse Order is only to have the second column ( with that navigation in it ) on top in responsive case.

    in reply to: Lightbox Position #1302561

    die einfachste Methode funktioniert auch : im Backend – deaktivieren
    das bootstrap scheint über dein Mobile.de zu kommen. Sollte es daran liegen, musst du wahrscheinlich dann die “Krücke” verwenden.
    Denn darauf wirst du ja nicht verzichten können.

    Eine andere Idee noch: wo lädst du das jQuery ; bei Enfold gibt es ja unter Leistung die Einstellung es im Footer zu laden, was zwar eventuell die Ladezeit einer Seite verringert, aber auch zu Problemen führen kann wenn die Reihenfolgen dann nicht eingehalten werden.
    Versuch doch mal das jQuery im Header zu laden.

    in reply to: Shrinking header animation speed #1302443

    it correlates with scroll speed – so no animation / transition speed here.
    Slower scrolling is the solution

    or if you like this – maybe it is a satisfiing solution for you:

    #top #header,
    #top .av-logo-container ,
    #top #header .av-main-nav > li > a,
    .logo a, 
    .logo a img {
      transition: all 3s ease !important;
    }
    in reply to: dot in a different colour than text #1302377

    you can find here some solutions on that. https://kriesi.at/support/topic/bulleted-list-dots-quick-css/
    I could of course give more precise advice with a link to the appropriate page.

    in reply to: Lightbox Position #1302362

    Different Approach
    Wenn wir die Pfeile innerhalb des content containers setzen laufen Sie ja mit der Verschiebung.
    Dazu müsstest du dies hier in die child-theme functions.php setzen:

    function popup_arrows_change() { 
    ?>
    <script type="text/javascript">
    (function($){
    $(window).on('load', function(){
        $('.av-masonry-entry.lightbox-added').magnificPopup({ 
    	    type: 'image',
    	    mainClass: 'avia-popup mfp-zoom-in mfp-image-loaded',
    	    closeOnContentClick: false,
    	    midClick: true,
    
    	    gallery: {
    	      enabled: true
    	    },
    
    	    callbacks: {
    	      buildControls: function() {
    	        // re-appends controls inside the main container
    	        this.arrowLeft.appendTo(this.contentContainer);
    	        this.arrowRight.appendTo(this.contentContainer);
    	      },
    	    },
    
      	}); 
    });
    })(jQuery);
    </script>
    <?php }
    add_action('wp_footer', 'popup_arrows_change');

    und das ins quick css:

    .mfp-arrow {
      margin: 0 -90px;
      margin-top: -55px;
    }
    
    .mfp-arrow:active {
        margin-top: -55px;
    }

    ABER: Wichtiger – richtiger wäre den Fehler zu finden.

    in reply to: Lightbox Position #1302355

    Eventuell musst du die Einstellungen noch auf !important setzen, wenn es nicht auch so funktioniert:
    Leider ist das nicht responsive – da absolute Werte. Das ist ja das geniale vorher , dass es die Teile auf die Hälfte der errechnenten Höhen setzt.
    Nur sind diese bei dir viel zu hoch – ein script oder ein Script eines Plugins wird das wohl veranlassen.
    Hast du probiert die Plugins so wie oben beschrieben auszutesten?

    .mfp-arrow {
        top: 350px;
        margin-top: 0;
    }
    
    .mfp-arrow:active {
        margin-top: 0;
    }
    in reply to: Menü Beschreibung/ Menu Description #1302227

    welche Header Variante hast du gewählt?
    bei normalen Header ( Logo im Kopfzeilenbereich – unter Enfold – Allgemeines Layout – “Logo und Hauptmenü” ) – sind die ausgeblendet:

    .avia-menu-subtext {
    	display:none;
    }

    wenn du die auf display : block setzt, werden sie angezeigt. – Die musst du dann nur noch stylen, denn viel platz ist ja nicht da.
    Ist aber bei z.B. einem shrinking header nicht trivial !

    Das ist eigentlich so wie Rikard oben schon anmerkte mit dem Link – nur bei “Sidebar links oder rechts” gedacht

Viewing 30 posts - 4,411 through 4,440 (of 11,917 total)