Forum Replies Created

Viewing 30 posts - 1,861 through 1,890 (of 11,890 total)
  • Author
    Posts
  • If you use the same function name more than once (ava_custom_script_group_lightbox), an error is also displayed – but with a different message. Function names must be unique.

    btw. i would have finished the variable setting with a semicolon – but as said above – no error on using it without.
    var accordion = $('.accordion-lightbox-group') ;

    in reply to: Hide Advanced Layerslider on Desktop #1435232

    and your layerslider got the id 8? and nomenklatura is there a bit different #layer_slider_X
    on default the first on a page will have : #layer_slider_1
    the next #layer_slider_2

    so you can have:

    @media only screen and (min-width: 768px) {
      #layer_slider_1{
        display: none!important;
      }
    }
    
    @media only screen and (max-width: 767px) {
      #layer_slider_2{
        display: none!important;
      }
    }

    check your page with developer tools which ID those sliders have.

    _______

    or you can have both videos in one layerslider and choose there the visibility.
    you have on each layer on the right side the tabs of layersettings – and on content tab you can set the layervisibility for desktop, tablett, mobile “toggle device visibility”

    in reply to: social icon in header on mobile #1435231

    oh sorry – then I misunderstood your request. To me it sounds like you want to see the icons inside the mobile menu as well (hamburger menu). – The above way is a quick and easy way to have this for small social icon lists. I didn’t see that these are hidden below. of 479px.

    __________

    or try to preserve the social-bookmarks on the same place – because even on 280px screenwidth ( most mobile phones got 320px and more ) the logo does not overlap that area:

    @media only screen and (max-width: 989px) {
      .responsive.av-burger-overlay-active #top #header .main_menu .social_bookmarks a {
        color: #FFF;
      }
    /** if you had changed the phone-info input field - see at bottom of my message **/
      .phone-info .header-meta-mail {
        display: none;
      }
    }
    
    @media only screen and (max-width: 479px) {
      .responsive #top #wrap_all .main_menu .social_bookmarks {
        display: block !important;
      }
      .responsive #top #wrap_all .main_menu .avia-menu .av-burger-menu-main {
        border-color: #1b5289;
        padding-right: 15px;
        margin-right: 5px;
        border-right-width: 1px;
        border-right-style: solid;
        transition: border-color 0.2s ease-in-out;
      }
    }

    but i guess you have to change then a bit your phone-info input field. The standard behavior of enfold between 768px and 989px here in your setting is to show the burger icon and the social-bookmarks besides each other and to hide header_meta social bookmarks, so the “of mail” is obsolete on top then.
    maybe you can do this:
    <div><a href="tel: +31595729729">Bel 0595 729 729</a><a class="header-meta-mail" href="https://noorderwindbewindvoering.nl/contact/#contactformulier"> of mail</a></div>
    – and with that class we can hide it on demand

    or in my opinion better – just to add the binding word to e-mail bookmark without link:
    <div><a href="tel: +31595729729">Bel 0595 729 729</a><span class="header-meta-mail"> of mail</span></div>

    i could not test it now if it works – but the code from : https://kriesi.at/support/topic/accordion-slider-stop-allowing-all-images-to-show-in-slider/#post-1435166 does not lead to a functions.php error on my end here – means – the syntax is o.k.

    yes – where is the leading:
    function ava_custom_script_group_lightbox()

    on : link

    You could set the grouping manually, using custom classes in combination with scripts in functions.php; in general, however, it is sufficient to keep the corresponding elements within a color section. And then set a new section for the next element.
    Unfortunately I can’t see your page to give better advice.

    in reply to: social icon in header on mobile #1435147

    put this to your quick css:

    @media only screen and (max-width: 989px) {
      .responsive.av-burger-overlay-active #top #header .main_menu .social_bookmarks a {
        color: #FFF;
      }
    }
    in reply to: Blog: Add header (transparent) to Archive page #1435146

    but: do not forget on avf_header_setting_filter_mod to add the class to header!
    (preserve the a space on the first class that is added)

    $header['header_class'] .= " av_header_transparency";

    and conditional for search is : is_search( )

    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);
    function avf_header_setting_filter_mod($header){
        if ( is_archive() || is_singular('post') || is_search() ) {
            $header['header_transparency'] = 'header_transparency';
            $header['header_class'] .= " av_header_transparency";
        }
        return $header;
    }
    in reply to: unpredictable font sizes… #1434930

    What happens if you declare that page (blue) as start page on : Enfold (Child) – Theme Options – Frontpage Settings ?

    in reply to: clear thin border to the right of each label on my menu #1434927

    No, not as the opposite, but in all corners. However, this property can also be intended for one corner each.

    in reply to: clear thin border to the right of each label on my menu #1434925

    but – in this case i had to see the page it belongs to – because on my testpage i do not see such a hem (un ourlet à droite).
    maybe you set only a border-radius for left side.

    border-radius: 50px 0px 0px 50px; it begins with top/left and goes clock-wise.
    and btw. why don’t you set for the background a transparency – then it will be ok for transparency headers too:

    #top #wrap_all #menu-item-2862 .avia-menu-text {
    	border-left: 5px solid;
    	border-radius: 50px 0px 0px 50px;
    	border-color: #D60B52;
    	background-color: transparent;
    	padding: 15px 0px 15px 15px;
    }
    in reply to: clear thin border to the right of each label on my menu #1434893

    have you seen this :
    (click to enlarge the image)

    in reply to: Masonry entries – add metadata #1434892

    you belong to such a page: https://kriesi.at/themes/enfold-2017/blog/blog-masonry/

    and you have allready set this:

    in reply to: Mime type error with Post CSS Files still a problem #1434888

    i do have this nearly on all my installations in the htaccess file:

    <IfModule mod_headers.c>
    Header set X-Frame-Options "sameorigin"
    Header set Referrer-Policy "strict-origin-when-cross-origin"
    Header set X-XSS-Protection "1; mode=block"
    Header set X-Content-Type-Options "nosniff"
    Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
    Header always set Content-Security-Policy "upgrade-insecure-requests"
    Header always set Permissions-Policy "geolocation=(), midi=(),sync-xhr=(),accelerometer=(), gyroscope=(), magnetometer=(), camera=(), fullscreen=(self)"
    </IfModule>

    and had never such problems – but maybe you are right – it could be matter of inline css files. I do allway set this to my child-theme functions.php:

    function custom_avf_post_css_create_file( $create ){
      return true;
    }
    add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );
    in reply to: unpredictable font sizes… #1434881

    … just a moment
    on your starting page you got those standard settings. For example h2 : 28px font-size
    on your “clone” you got a alb declared font-size:

    to give better advice – it might be nice if you switch of merging. Because then we can see what source css is responsible for that behavior.

    Are you shure that this isn’t a caching problem? Have you any caching tools installed.

    in reply to: Image caption and lightbox #1434863

    yes – please excuse me for not explicitly mentioning this.

    in reply to: Image caption and lightbox #1434817

    i changed the code on my example page – but i do not know how to hide mfp-bottom-bar if mfp-title is empty.

    in reply to: Image caption and lightbox #1434754

    Again my question : you like to have on lightbox only your caption – or do you like to have a combination of title + caption or alt + caption ?
    see: https://webers-testseite.de/images-with-caption/

    The trick is to have an own lightbox behavior on that links.
    In the script, I first tested preventing the original event with preventDefault. This sometimes worked – but sometimes not. I therefore set the noLightbox class for these links. This removes the class lightbox-added and I can then program a new behavior. Including a new markup (here, however, it is the standard markup).

    in reply to: How tell if is video format in functions.php #1434728

    Can you try:

    if( has_post_format( 'video' )) { 
       // do something
    }

    Don’t know if this will work – but no harm in trying

    in reply to: Image caption and lightbox #1434723

    do you like to see only the caption in the light box – or only caption if present – if not show title – or show both title and caption?

    in reply to: Failed to Decode Downloaded Font #1434479

    on your flaticon folder – is there one svg file?

    the font manager of enfold does not need a charmap. Can you try to upload that one svg file to fontello ( just drag&drop it to the custom icons field).
    Select the wanted icons and name that font ( because flaticon is not so unique ) and download the generated font from fontello.

    in reply to: Implementing Interactive SVG Graphics #1434440

    no – and on his target-page all works now as expeted – so i think it is solved.

    in reply to: gradient color in h2 #1434386

    i’m participant as you are – so you then have to wait till mods are here – good luck

    in reply to: gradient color in h2 #1434378

    for example on your page:
    entering my code to developer tools:

    by the way : inspecting your css – see here the error:
    the curly bracket should be after the positioning

    in reply to: Failed to Decode Downloaded Font #1434369

    Besides that – did you look inside your flaticon folder if a woff2 font is present?
    woff2 has been standard in modern browsers for some time, but it was only introduced later in fontello, for example, when the zip file was generated. So check first – whether it is present at all.

    in reply to: Closest Font to “Avenier Next” #1434348

    goto Enfold (Child) – Import/Export – Custom Font Manager and upload that zip ( there are ttf and woff2 fonts inside and only 100, 400, 700 weights)
    but i think that this is enough for all circumstances.
    If you need all font-weights – tell me.

    https://webers-testseite.de/Prompt.zip

    after uploading – the new font could be found on enfold (child) – general styling – fonts at the end of that drop down list inside “Uploaded Fonts”

    in reply to: gradient color in h2 #1434340

    try to be more specific in your selector. For example use the #top id. or a custom class f.e. like gradient
    (be carefull where the custom class is placed f.e. on avia headings it might be a parent class to the h-tag)

    #top h2 {
    	display: inline-block;   /*** this might avoid text-align: center ****/
    	background: linear-gradient(to left, rgb(255,0,0), rgb(121,121,244));
    	background-clip: text;
    	-webkit-background-clip: text;
    	-webkit-text-fill-color: transparent;
    }
    in reply to: Closest Font to “Avenier Next” #1434339
    in reply to: Implementing Interactive SVG Graphics #1434294

    the code is on that example page ( ps: on hovering the code there is a copy button on top right)

    and by the way – the css is inside a media query greater than 1600px – it has to be set globaly

    in reply to: Implementing Interactive SVG Graphics #1434260

    How would it be if the info field that appears on click disappears again after a certain time?
    see example page.

Viewing 30 posts - 1,861 through 1,890 (of 11,890 total)