Forum Replies Created

Viewing 30 posts - 4,861 through 4,890 (of 11,510 total)
  • Author
    Posts
  • in reply to: extra space (after section?) between elements #1234150

    you see on your frontend that line?


    this is a separator – you can easily overlook this, because it is only a thin grey line in the layout.


    hover on your advanced layout a gray line then you will see that this is an extra element.

    If this separator is not placed in the color-section but between two elements ( like two color-sections) there will be an extra container for it:
    after_section_x
    and as a normal container it will have that padding-top/padding-bottom of 50px.
    To avoid this extra container for the separator you can put it in the color-section.

    in reply to: Masonry Gallery should open new browser window #1234142

    on the second page you have allready activated the merging of css and javascript files: So i think it is only a caching reason for that.
    Go to dashboard – enfold – performance : and on the bottom of that page there is: “Delete old CSS and JS files?”
    mark that – and save all changes.

    ______

    Dashboard – Enfold – Leistung : “Alte CSS- und JS-Dateien löschen?”
    Das Feld markieren und alle Änderungen speichern.

    in reply to: Left Main Menu: Search below logo #1234118

    first: because of the search-results list – it might be better to have the vertical-align on top!

    #top #av-burger-menu-ul {
        vertical-align: top;
        padding: 125px 0 !important;
    }

    second:
    but what we can do on the search input field to have no href on that menu-item ( to have the opportunity to activate text in that input field by mouse activation) – see description above – we do not have the possibility to do that on hamburger search menu item
    there is:

    so if the href attribut remains you can not activate text like above to get rid of “er” in weber f.e.

    this to child-theme functions.php :

    function remove_href_from_hamburger_search_input(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$('#header').on('click', '.av-main-nav-wrap', function() {
    		$('#av-burger-menu-ul .searchfield > a:first-of-type').removeAttr("href");
    	});	
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_href_from_hamburger_search_input');

    Resultpage for your test: https://webers-testseite.de/cynthia/

    in reply to: Left Main Menu: Search below logo #1234108

    try this – and to have searchform results font in a color:
    (on my testpage there is a dark background on fullwidth burger overlay)

    #av-burger-menu-ul #searchform > div {
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    
    #av-burger-menu-ul #searchform .ajax_search_response * {
    	color: #FFF
    }
    in reply to: Video controls don't show up on full width slider #1233998

    ah – ok – thanks for the info

    in reply to: ReCaptcha Error again #1233981

    see above Private Data

    in reply to: Small bar and " /> across the top of web site #1233697

    i see that you are using wp-rocket – maybe disable it and then update all caches (including the browser cache) and see if the problem persists

    in reply to: Small bar and " /> across the top of web site #1233673

    where does that entry come from?

    how is this inserted on that place – via child-theme functions.php
    <font style="vertical-align: inherit;></font>
    in between you have your “extra sign”

    PS: there must be more to correct : it is very unusual to have all these entries in the body tag and on top:
    style sheets , googlebot , opengraph entries etc. pp. that is something for the head area or – just before closing body tag.

    maybe this topic here is helpfull: https://kriesi.at/support/topic/assigning-menus-for-one-page-and-portfolio-pages/
    I don’t know it it still works on actual Enfold and WordPress – but you can try.

    in reply to: Version 4.7 full width easy slider bug #1233669

    Please update to Enfold 4.7.6.1
    there was a little bug in av-helper-slideshow.php on 4.7.6 : Link
    The fix is in the above Version of Enfold. –
    Or if you do not want to update replace in your parent theme av-helper-slideshow.php with this one: DL-Link
    The file is in : enfold – config-templatebuilder – avia-shotcodes

    and if it is the woocommerce you use the part where it is handled is:
    woocommerce – includes – gateways – paypal: “class-wc-gateway-paypal.php” about line 44:
    $this->order_button_text = __( 'Proceed to PayPal', 'woocommerce' );

    but try first the above! it is more specific on paypal – this below changes the order_button_text on all instances)

    so this could be ok too : –

    function my_order_button_text() {
        return __( 'Payerthgy', 'woocommerce' ); 
    }
    add_filter( 'woocommerce_order_button_text', 'my_order_button_text' ); 

    The above code has been tested on many strings and should work; of course, the first string “Proceed to PayPal” may not be in your source code. It would be enough if the spaces were represented by characters, or e.g. there is Paypal instead of PayPal.
    Which plugin do you use for your payment systems.

    Try this:

    function my_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'Proceed to PayPal' :
    			$translated_text = __( 'Payerthgy', 'woocommerce' );
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'my_text_strings', 20, 3 );

    On woocommerce there are some filter for different buttons ( woocommerce_order_button_text or woocommerce_order_button_html)
    is it the checkout button ?

    Best would be
    if i can see the page it concerns.

    in reply to: Put Slider in header #1233500

    this is an Easy Slider of Enfold placed with hook on top of a page ( only surrounded by an extra div to better address it )
    https://webers-testseite.de/pureinstall/slider-on-top/

    add_action('ava_main_header', function() {
    if(is_page(1061)){
      echo '<div class="topslider">';
      echo do_shortcode("[your_shortcode]");
      echo '</div>';
    }
    });

    this is page specific – change to your needs. Pay attention that in your shortcodes the Quotation Marks are correct ( in this case single QM ))

    second – you have to find a solution for the menu and for your logo then – and for main top padding

    in reply to: MagnificPopUp is not a function #1233487

    by the way: do you have an older child-theme header.php ? The lightbox setting on that has changed – so if you got – actualize this with the newest one.
    ________
    On Enfold ( i do not know it this is default setting ) there is a setting to load jQuery in the footer – so that was the reason for my question.
    If you load that script in the head area.

    So – to understand it right. You go to your menus and on one or more items you set with rel = magnific

    first the selector is wrong – i did not see it first too on your code above. ('a[rel="magnific"]')

    then – what do you like to open? do the menu-items lead to a unique ID on that page – or do they have as target a website ?
    f.e. if you like to open a website with that link then type : ‘iframe’ , is to use.

    in reply to: Slider not working properly #1233470

    Yes that is that bug mentioned above – Update to 4.7.6.1 or download the file responsible for that and replace it in your theme:
    Link

    Try this:

    function my_text_strings( $translated_text, $text, $domain ){
    switch ( $translated_text ){
        case 'Proceed to PayPal':  $translated_text = __( 'Payerthgy', $domain );
        break;
      }
      return $translated_text;
    }
    add_filter('gettext', 'my_text_strings', 20, 3);

    PS: the position of add_filter is not important – i notice it always this way in my child-theme functions.php because it provides a clearer conclusion to the above function

    PPS: if you have to translate more than one string – it always have to be case 1 …; break; case 2 , break;
    after each string translation there had to be a break.

    • This reply was modified 4 years, 11 months ago by Guenni007.
    in reply to: Slider not working properly #1233457

    have you a site or screenshot on that problem?

    but it isn’t that little bug : https://kriesi.at/support/topic/4-7-6-update-adding-quotations-under-slider/#post-1232550
    That is fixed on 4.7.6.1

    in reply to: Left Main Menu: Search below logo #1233456
    in reply to: Video controls don't show up on full width slider #1233441

    may i ask you what was the point to change – my description works on my end
    so what was the reason that the script has no effect on your page.
    Because not even this little addition Div was created for the buttons in the DOM. My assumption that jQuery was not loaded before this custom script – was that confirmed? – and why ? – and how did you manage that ?

    By the way – if you do it this way for that signs- you will have a square in red – and an arrow to the right in green:

    .custom-mute {
       display: block;
       position: absolute;
       bottom: 9%;
       right: 5%;
       z-index: 50;
       width: 140px; 
       height: 140px; 
       background: red; 
    }
    .custom-mute:hover {
    	opacity: 0.5;
    }
    .custom-mute.icon-sound-on {
       width: 0;
       height: 0;
       border-left: 140px solid green;
       border-top: 70px solid transparent;
       border-bottom: 70px solid transparent;
       background: transparent !important
    }
    in reply to: Remove Lightbox in single posts correctly #1233438

    @barefeetstudios : did you solve your problem? I don’t see the picture being cropped!

    in reply to: Left Main Menu: Search below logo #1233387

    try this approach:
    https://kriesi.at/support/topic/search-icon-on-left-menu/#post-1185825

    if that menu item is on top of your menu list – it will be – yes on top
    If you like to have a little bit different look – give to that menu-item a custom class: f.e. searchfield.
    ( If you do not know how to have custom-class on menu-items see here: Link )

    and f.e. :

    .html_header_sidebar #header .av-main-nav > li.searchfield {
      margin: 0 15px;
      border-bottom: 2px solid #ddd
    }

    one thing to mention – after inserting the individual link – empty the url field for that menu item ( you can not add individual link if url input is not filled out) – otherwise you can fill in text but not activate it – f.e. to erase some text.

    And if you do not want to have on logo bottom a border and less distance to the searchfield:

    .html_header_sidebar .logo {
      border-bottom: none;
      padding: 30px 15px 0;
    }

    ( try always first without the !important setting)

    • This reply was modified 4 years, 11 months ago by Guenni007.

    ja Du hast recht – sorry dafür. Die habe ich übersehen, und im Standard Masonry auch fixed geht es jetzt.

    In meinem custom magnific script hatte ich titleSrc auf false gesetzt – was deiner Lösung den Gar ausmachte.
    Es ist aber so, dass die Kombination deiner beiden Austausch Dateien mit dem custom script so nicht dazu führt das alt am mfp-img zu haben.
    Ich für mich werde dann wohl beide lösungen anstreben müssen.

    Kann geschlossen werden –
    PS wird das im nächsten Update integriert?

    • This reply was modified 4 years, 11 months ago by Guenni007.

    Vielen Lieben Dank für dein Bemühen, aber leider klappt es so nicht.

    Wobei ich nicht sehe, warum es so nicht geht.

    In meinem custom magnific popup script benutze ich nun auch den fakt , dass am item selbst immer das alt attribut sitzt. Das hattest du ja schon geändert. Deshalb kann man auch hier link bei allen Masonries das Alt-Attribute im Markup als Text sehen. Aber am lightbox image selber ist das Alt-Attribut nicht zu sehen.
    Damit ich ausschließen konnte, dass es an meinem Custom Script (Seitenspezifisch) liegt habe ich hier eine Seite wo das standard Enfold Verhalten ist: Link
    mit den Veränderungen oben von mir im jquery.magnific-popup.js war es sofort da.

    in reply to: Translate text in Google Captcha #1233199

    if you use f.e. WPML – this will be the case – the frontside language decides the output of those settings.

    These plugins then set exactly the frontend language. The Lang files (Enfold / Lang ) are primarily responsible for such translations. As in this case, there are some filters that allow you to redefine these without editing the Lang files.

    • This reply was modified 4 years, 11 months ago by Guenni007.

    no – I thought I had found a solution for this, but it was not the right approach

    Edit : the approach was right – but trying to transfer the code to the minified version was bad:
    i added an else if to the code:

    var el = template.find('.mfp-img');
    if(el.length) {
    	var img = document.createElement('img');
    	img.className = 'mfp-img';
    	if(item.el && item.el.find('img').length) {
    		img.alt = item.el.find('img').attr('alt');
    	}
    	else if(item.el && item.el.find('.av-masonry-image-container').length) {
    		img.alt = item.el.find('.av-masonry-image-container').attr('alt');
    	}
    	item.img = $(img).on('load.mfploader', onLoadComplete).on('error.mfploader', onLoadError);
    	img.src = item.src;

    that works ( i used a different minifier on that ): https://webers-testseite.de/pureinstall/masonry-gallery/

    By the way: what kind of minifier do you use for enfold

    Hallo Günter – danke für deine Antwort und Mühe – ich muss mich jetzt da einarbeiten, was sich verändert hat.
    (Edit: also jetzt ist das alt attribut auch an dem anchor ( da wo lightbox-added klasse sitzt) )

    Was ich allerdings meinte war,
    Du hast ja jetzt den Wunsch realisiert bei fixed size Masonry das alt-Attribut an das div gemacht welches das Bild als Hintergrundbild hat ( div.av-masonry-image-container). Was sicherlich ungewöhnlich ist, aber viele wollten das ja so ( beim flexiblen Masonry haben wir ja Bilder und das sind die alt-Attribute gesetzt):

    beim Öffnen dann der lightbox wird das aber nicht an das Bild mfp-img übergeben. Dort wäre es aber auch sinnvoll oder?

    das müsste meiner Meinung nach in dem Script: jquery.magnific-popup.js stattfinden – die stelle wo das mfp-img sein alt erhält, ist ab 1304. Da wird aber nur das img für das alt herangezogen.
    img.alt = item.el.find('img').attr('alt');

    in reply to: MagnificPopUp is not a function #1233158

    and where does your jQuery load : in the footer?
    Try to load your script above as

    add_action('wp_footer', 'enfold_customization_add_magnific_handler');

    and what should the popup script do?
    maybe a midclick : true can do the trick:

    add_action( 'wp_footer', 'enfold_customization_add_magnific_handler' );
    function enfold_customization_add_magnific_handler() {
      ?>
      <script type = "text/javascript">
      jQuery(document).ready(function() {
        jQuery('a[rel="magnific"]').magnificPopup({
          type: 'inline',
          midClick: true,
          preloader: false,
        });
      });
      </script>
    <?php
    }
    in reply to: Individual ID for buttons in button row #1232985

    give to your button-row element a unique ID
    put this to child-theme functions.php

    function id_to_button_row_buttons(){
    ?>
    <script>
    (function($) {
    	var ButtonRowID = $('.avia-buttonrow-wrap').attr('id');
    	$('#'+ButtonRowID+' .avia-button').each(function(i) {
    	    $(this).attr('id', ButtonRowID+'-button'+(i+1));
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action( 'wp_footer', 'id_to_button_row_buttons');

    it will make the ID’s to your buttons as #ID-button1, #ID-button2, #ID-button3 etc the ID is the id you put on the button-row

    see here: https://webers-testseite.de/buttonrow/

    in reply to: Hexagon Shape in Iconbox #1232922

    but maybe a different method could be a good alternative.
    Browser support is well ( only IE11 and Opera Mini did not support clip-path )

    this – ( and some posititioning css ) – will work too

    .iconbox_icon.heading-color {
    -webkit-clip-path: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
            clip-path: polygon(50% 0, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
    } 

    ______
    mathematically you have to describe a hexagon into the square, and then calculate the coordinate points.

    you can see here some calculations – ( buf first – that hexagone is different – and second not well calculated ;) )
    https://bennettfeely.com/clippy/

    this is for hexagone different orientation:

    .iconbox_icon.heading-color {
    -webkit-clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
            clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
    }
    in reply to: Translate text in Google Captcha #1232884

    First, you can change the language of the website as you like – in this case English – and that makes sense because it is in English in the frontend.
    Second: If you want a different dashboard language, go to your user account and switch to Dutch – from this moment on, all dashboard translations are in Dutch when you are logged in ( other users may prefer different language setting ).

    _______

    besides that and i believe the above is the easiest way to solve the problem – i think the filter : avf_google_recaptcha_badge_content may help here:

    add_filter('avf_google_recaptcha_badge_content','avf_google_recaptcha_badge_content_mod');
    function avf_google_recaptcha_badge_content_mod($badge){
    	$badge =	'<div class="av-google-badge-message hidden">';
    	$badge .=	__( 'This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" target="_blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" taget="_blank">Terms of Service</a> apply.', 'avia_framework' );
    	$badge .=	'</div>';
    return $badge;
    }

    you can change then the Text and f.e. the links to the language specific privacy page of google – or the link target options – or you like to link to your privacy page with the content of google recaptcha info f.e: to https://your-domain/privacy/#google-recaptcha-info

    • This reply was modified 4 years, 11 months ago by Guenni007.
Viewing 30 posts - 4,861 through 4,890 (of 11,510 total)