Forum Replies Created

Viewing 30 posts - 1,351 through 1,380 (of 10,892 total)
  • Author
    Posts
  • in reply to: White space below all my slideshows on all pages #1412269

    Next you had to be more specific in your heading color setting. because f.e. your heading under the slider is white on white ( maybe that is what you mean by big whitespace: “NIEUWE PRODUCTEN”

    same by “Vragen?” : “De meeste voorkomende vragen”. –
    offerte aanvragen: heading on top of the form: “Offerte aanvragen”
    – white heading on white ground

    in reply to: White space below all my slideshows on all pages #1412267

    look at your quick css there is a rule:

    #top .no_margin.av_one_fourth {
     padding:2px;
    }

    you have set instead of a closing an opening curly bracket!

    Next : you have an opening media querry :

    @media screen and (max-width:450px) {
    

    but it does not close – go and have a look what rules must be surrounded by that media-query

    in reply to: Adding Dropdown WPML #1412266

    did you see on WPML – Languages ( Sprachen ) – Language Switch (Menü-Sprachumschalter) – you can edit ( a little pencil icon ) that setting (for main-menu) in a popup – to drop-down ( my example shows a socket menu )

    after that we had to find new css settings ;)

    in reply to: Fontello Icons Not Displaying When CDN is Active #1412265

    you like to load fontello icons locally – but not from cdn?
    where do you load your other fonts? from cdn?
    did you see the option field on Performance – “Custom Font loading source” – there is an option to load fonts from cdn

    but first you had to check the mark: “Show Advanced Options”

    in reply to: Add a link to a Subheading? #1412212

    Yes – thanks –

    That’s what I thought; I offered something like that here for many of the ALB elements; a lot of it was later adopted into the core in discussion with Günter (a little better coded than my skills allowed, of course) – as nice as it is to have it easy at the moment, it’s so time-consuming to check with every new update whether something has changed in the corresponding ALB and features have been added that make it necessary to implement the changes again.

    in reply to: Change search slug #1412209

    please go to that example page and search for : web
    ( that example page is an enfold page ( at 5.6.3 ) –
    https://webers-testseite.de/

    what is the permalink for search-results page ?
    it is: https://webers-testseite.de/suche/web

    in reply to: Change search slug #1412202

    i tested it on one of my pages – but it works that way. https://webers-testseite.de/
    Can we see the page?

    or do you mind the small info field of the browsers when hovering the magnifying glass?

    this hovering has nothing to do with the permalink – and is definitely not as SEO relevant as the permalink on top

    btw: it does not work directly f.e. with german : home_url( "/suche/" )

    but:

    function re_rewrite_rules() {
    	global $wp_rewrite;
    	$wp_rewrite->search_base = 'suche';
    	$wp_rewrite->flush_rules();
    }
    add_action('init', 're_rewrite_rules');
    
    function change_search_url() {
        if ( is_search() && ! empty( $_GET['s'] ) ) {
            wp_redirect( home_url( '/suche/' ) . urlencode( get_query_var( 's' ) ) );
            exit();
        }
    }
    add_action( 'template_redirect', 'change_search_url' );

    Is there a page we can see?
    It would be easier to advise you if we could see the page.

    __________________

    the overflows are important to set – as you do it.
    but on the image ( svg ) you had to calculate the max-height and height – and it is important to set the height in relative values.
    so have a look what is the starting height of your header: f.e. 100px
    but you like to have the logo at 150px. ( this should be the max-height) – 150px are 150% of the start height – that will be your height definition:
    If you set it as relative value it will follow the shrinking of your header.

    .logo img {
      height: 150%;
      max-height: 150px !important;
    }
    in reply to: Modify shortcodes #1412200

    priority (999) may not be necessary – only if you load your jQuery in the footer.

    everything is said on the answer here: https://kriesi.at/support/topic/modify-shortcodes/#post-1412054

    One thing to note is that the name of the function (ava_custom_script) is often used on the forum here – so I prefer to choose a meaningful name; one that immediately says what is being achieved.
    Also, the child theme functions.php will resent a repeated occurrence of the function name – and report an error. Function names must be unique.

    function remove_aria_hidden_attribute() { 
    ?>
    <script>
    	(function($){
    		$(document).ready(function() {
    			$('#top .av_font_icon a').removeAttr('aria-hidden');
    		});	
    	}(jQuery));
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_aria_hidden_attribute');
    in reply to: Accordion slider that is centrally updated #1412065

    That was what you meant?

    in reply to: Modify shortcodes #1412054

    Where do you load your jQuery ( see options page of enfold : Performance – “Load jQuery In Your Footer”
    if you do load it in the footer maybe a priority to that add_action solves the problem:

    replace that one line to

    add_action('wp_footer', 'ava_custom_script', 999);
    

    Edit: PS forget it – i see that the code above has an additional dot – remove that dot after av_font_icon :

    function ava_custom_script() { 
    ?>
    <script>
    	(function($){
    		$(document).ready(function() {
    			$('#top .av_font_icon a').removeAttr('aria-hidden');
    		});	
    	}(jQuery));
    </script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script');
    in reply to: Add a link to a Subheading? #1412050

    Step 3
    – create a file inside heading’s folder called heading.php and paste the code in private content.

    Is there any reason for not make it public? I like to learn from other coding skills ;)

    in reply to: Upgrade Crashes Site: PHP Fatal Error #1412042

    can you look inside that logoslider.php and post that line 778 to see what is the issue?
    Best would be to update to latest Enfold – with php 8 alot has changed – f.e. jQuery versions are now : 3.x and inside that new jQuery there are some deprecated functions.

    in reply to: Accordion slider that is centrally updated #1412033

    If I understand you correctly, you want to create this Accordion Slider once, and then embed it several times in different pages/posts. It should then change with the one created page on all others.

    Go and test if it fits your needs if you place that accordion slider on a single page and nothing else – name that page as you like.
    click to see that page with two variations:

    On the other pages/posts insert that page with alb : page content – choose your page with that accordion.

    PS: if you like to insert that accordion to pages/posts with sidebar your insertpage must have the accordion slider in a 1/1 column ( Variant : B ) but without fullwidth elements ( color-sections, grid-row)

    here in my case i named that page my-accordion:

    in reply to: lottie files in layerslider #1411981

    sometimes those lottie animations could be downloaded as alternative files f.e.: mp4
    these mp4 may not be very big so you could even embed them as html5 video files.
    Or as image animated Gifs

    in reply to: Burger menu to appear sooner #1411965

    can you try to set it as defintion between your enfold options breakpoint and the new one
    f.e. as:

    @media only screen and (min-width: 990px) and (max-width: 1300px) {
    …
    

    or do you have a setting for header left or right? – but even then – it has to work this way you have on top in your code.
    PS : i tested it on a Enfold 5.6.3 – it works with your code too.

    Is there a page we can inspect?

    in reply to: Get Rid of Unnecessary Whitespacing on Mobile View #1411416

    this is caused by those new parallax effects.

    My recommendation is : do not enter at the first setting a value:

    these will determine the whole media screen settings !!! so even for the responsive screens when columns etc. are switched to show beneath each other.
    But on those little screen it does not make any sense.

    Therefore, I usually leave the first element unedited and set the parallax effect and positioning settings only for the following two screen widths. (2nd and 3rd screen icon) – if you switch to responsive design at 990px – then only the values below the 2nd screen icon need to be set.

    Unfortunately, this was not done in the demo, which is why I also fell into this “trap”.

    in reply to: Forced redirect of my page #1411392

    maybe the setting which page is choosen for that 404 page preserves in the background – allthough the first setting is switched back to : “no custom 404….

    try …

    in reply to: Video gallery / lightbox #1411391

    are these self hosted videos or youtube/vimeo ones ?

    in reply to: Image quality lightbox #1411389

    u bent van harte welkom

    in reply to: Image quality lightbox #1411383

    ALB – sorry means only Advanced Layout Builder – so it is the native Enfold Gallery – but i see some tabs there

    in reply to: Problem mit transparenten Header #1411381

    ich persönlich bearbeite die svgs nach in einem guten Texteditor. Dort tausche ich dann durch “suchen und ersetzen” die klassen aus und setze wenn nötig noch Gruppen Identitäten.

    I personally edit the svgs in a good text editor. There I replace the classes by “search and replace” and set group ID’s if necessary.

    in reply to: Image quality lightbox #1411379

    are these Enfold galleries? What ALB did you use to insert these images?

    in reply to: Modify shortcodes #1411319

    do you have entered this snippet to your child-theme functions.php ?

    from docu: Link

    From within your child theme, you may want to add or edit an Advanced Layout Builder element. To do so, first add the following function to your child theme’s functions.php: …
    Now add a new folder in your child theme directory called shortcodes. If you copy an element from enfold>config-templatebuilder>avia-shortcodes to this folder it will replace the one in the parent and be used instead. You can also add new ones using the other shortcode elements as examples.

    function avia_include_shortcode_template($paths){
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }
    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);

    and just put the edited alb element directly to that subfolder : shortcodes

    in reply to: Image quality lightbox #1411109

    there are different snippets for child-theme functions.php to influence the lightbox image source file.

    for image galleries:

    function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta){
        $link = wp_get_attachment_image_src($attachment->ID, "full");
        return $link;
    }
    add_filter('avf_avia_builder_gallery_image_link', 'avia_change_gallery_thumbnail_link', 10, 4);

    for masonry image galleries:

    function avia_change_masonry_thumbnail_link($size){
      return "full";
    }
    add_filter('avf_avia_builder_masonry_lightbox_img_size', 'avia_change_masonry_thumbnail_link', 10, 1);

    or for single image lightbox size:

    function change_lightbox_size() {
        return "full";
    }
    add_filter('avf_avia_builder_helper_lightbox_size','change_lightbox_size', 10);
    in reply to: Problem mit transparenten Header #1411062

    This is a problem of adobe illustrator – they do alway set the same classes ( st0, st1 etc. )
    I do open these svgs in a good texteditor – and change those class names to something different – but be carefull – you had to think of not to change only in the styles but also in the path etc. the class=”st0″ etc.

    PS : if you go and Group inside Illustrator the parts of your logo – and name these Groups – these Names became ID’s in the svg code.

    you can have your own grapic-styles on : goto Window – Graphic Style ( Fenster – Grafikstile ) create a new one:
    then the classes are named that new style ( and not st1, st2 etc )

    Next tip: if you only want to change a fill color inside an inline svg – you do not need to upload a different logo. That is one of the big advantages of inline svg. you can select that group or class by quick css. So just use one logo – and on transparency change the fill color by css – or after scroll.

    f.e.:

    #header.av_header_transparency .st0 {
      fill: red !important;
    }
    in reply to: Set accordian to open 1 toggle at a time #1410965

    Open that accordion alb element : on first content tab there is “Behaviour” :

    in reply to: Magnific popup not working as expected in mobile #1410723

    That snippet should handle both – if you do not see it – refresh all cachings / merged files – and browser cache too.

    if that does not work – we had to give a custom-class to the anchor link itself: no-scroll
    but to be more selective a custom class on those parent container would be helpfull.

    But before testing: How did you initialize the modal opening of the hidden section?
    Edit : aha – i see …

    what kind of php version is installed? because if php 8.x. (comes with jQuery 3.x ) look to your inline popup script and replace those deprecated functions. – f.e:

    jQuery(window).load(function() {
    //replace with:
    jQuery(window).on('load', function(){
    

    under that line add :

    jQuery('.conditional_popup_link a, .popup_link a, .inline_popup, .avia-buttonrow-center.spaced-between a[href^="#"]').addClass('no-scroll');
    
    in reply to: How can I add WPML #1410555

    insgesamt also:

    .js_active.html_burger_menu #avia-menu > li.av-language-switch-item {
      display: block;
    }
    
    .responsive #top #wrap_all .av-logo-container a .language_flag img {
      width: 30px !important;
      top: 6px;
      position: relative;
      outline: 2px solid #B52828;
      height: 20px !important;
    }
    
    .av-burger-overlay-active .language_flag img {
      outline: 2px solid #FFF;
    }
    
    .responsive.av-burger-overlay-active #top #wrap_all .av-logo-container a .language_flag img {
     outline:2px solid #FFF
    }
    
    @media only screen and (max-width:767px) {
     .av-burger-overlay-active #top .header_color .av-hamburger-inner,
     .av-burger-overlay-active #top .header_color .av-hamburger-inner::before,
     .av-burger-overlay-active #top .header_color .av-hamburger-inner::after {
      background-color: #FFF
     }
    }
    in reply to: How can I add WPML #1410551

    auf screenweiten kleiner als 768 px ist der Hamburger Button in geöffnetem Zustand rot – daher nocht folgendes:

    @media only screen and (max-width:767px) {
     .av-burger-overlay-active #top .header_color .av-hamburger-inner,
     .av-burger-overlay-active #top .header_color .av-hamburger-inner::before,
     .av-burger-overlay-active #top .header_color .av-hamburger-inner::after {
      background-color: #FFF
     }
    }

    und den einen selctor müssen wir auch selectiver machen:

    .responsive.av-burger-overlay-active #top #wrap_all .av-logo-container a .language_flag img {
     outline:2px solid #FFF
    }
Viewing 30 posts - 1,351 through 1,380 (of 10,892 total)