Forum Replies Created

Viewing 30 posts - 31 through 60 (of 10,306 total)
  • Author
    Posts
  • in reply to: Only socket without footer on one single page #1446869

    have a look on that page – open editor – on the right side there are layout options – including a part for footer setting and footer behaviour.

    Unfortunately, exactly this option is missing – only display the socket and hide the footer page.
    There is probably no other option than to set the footer page to display none with the page ID.

    f.e.:

    #top.page-id-3 #footer-page {
      display: none;
    }

    yes – or you decide to influence the placeholder text and input text.

    #top .header_color input::placeholder,
    #top .header_color input[type="search"] {
      color: #fff !important;
    }

    or a combination:

    #top .header_color input::placeholder,
    #top .header_color input[type="search"] {
      color: #fff !important;
    }
    
    #top .header_color #s {
    	background: linear-gradient(-90deg,#7ea338,#3b4b1e);
    }
    in reply to: Top of Page link with icon #1446861

    a fast way might be to only replace the content:

    #scroll-top-link[data-av_icon]::before {
      content: url(/wp-content/uploads/myTest.svg);
    }

    But I only tested it with an svg file, so I had no problems getting the dimensions to fit.

    in reply to: Insertion of Vertical Pipe in Footer Widget #1446768

    you can have it in between the first and second column:

    #footer .flex_column.first  {
      border-right: 1px solid rgba(255,255,255,.3);
    }

    or more nearby the content of your first column:

    #footer .flex_column.first .widget {
      border-right: 1px solid rgba(255,255,255,.3);
      padding-right: 30px;
    }
    in reply to: slideDown speed on toggles #1446684

    Yes – thanks Ismael – and I started a feature request on Github for this setting.
    This is, after all, almost a custom child script now – so if there’s no way on having (at least) a filter for that I had to live with it.

    in reply to: Info: automatic sitemap for your page #1446488

    For the google search console i named the sitemap : my-sitemap.xml
    so i can create a page that does not interfere that (included) way.
    Because that google sitemap had to be in root directory and a domain/sitemap will then open that sitemap.xml

    in reply to: Icon grid flip – close #1446364

    this is very nice !

    on mobile we have this behaviour (close on click outside) already – because of Content Setting : “Mobile Close Behaviour”
    does your script interfere with it?
    On mobile even a click on a different Flip-Card closes the other ones. ( that is my prefered behavior) and closes all on clicking outside.

    in reply to: Highlight menu color #1446085

    on my iPad i do not see any blue pop ups.
    have you erased your device cacheing?

    maybe it has to do with the default strip_tags option on many excerpts ( post_excerpt )
    or that function avia_backend_truncate often used in enfold to filter strings.

    PS try <strong> instead of <b>
    strong , em and span are excluded tags from strip_tags

    in reply to: Highlight menu color #1445980

    can you make the link to your page public? releasecfs etc. i found a lot about you – but i do not see the “highlight” you are talking about.
    Presumption would be the background of: .html_stretched #wrap_all

    in reply to: Easy Slider Darken Image (Opacity) #1445850

    i would prefer this solution:

    #top.page-id-102 #av_section_1 .flex_column img {
      -webkit-filter: brightness(0.6) blur(3px);
      filter: brightness(0.6) blur(3px);
      transition: filter 1s ease;
    }
    
    #top.page-id-102 #av_section_1 .flex_column:hover img {
      -webkit-filter: brightness(0.8) blur(0px);
      filter: brightness(0.8) blur(0px);
      transition: filter 1s ease;
    } 
    in reply to: Hide WMPL Flags #1445838

    ok – thanks

    maybe you decide to style it a little:

    #lang_sel_list {
      display:  inline-block !important;
      background-color: rgba(255,255,255,0.3);
      -webkit-backdrop-filter: blur(3px);
      backdrop-filter: blur(3px);
      border-radius: 5px;
      padding: 5px ;
    }
    
    #lang_sel_list > ul {
      display:  flex !important;
    }
    
    #lang_sel_list .wpml-ls-item {
      position: relative;
      left: 0 !important;
    }
    
    #lang_sel_list .wpml-ls-link {
      text-decoration: none !important;
    }
    
    #lang_sel_list .wpml-ls-link:hover {
      background-color: rgba(0,0,0,0.3);
    }
    in reply to: Hide WMPL Flags #1445588

    ok – if there is no easy way. Just switch for a short moment to:
    General Layout : Top Header
    Go to “Header – Extra Elements and choose on Enfold WPML Language Flags (Global Setting) : hide …
    Switch back to your “Left Sidebar Header”
    Save the settings

    Now insert this to your child-theme functions.php:

    add_action('ava_main_header_sidebar', function() {
      echo do_shortcode("[wpml_language_selector_widget]");
    });

    And now style it via WPML – Languages – Custom language switchers

    DOM will look like this then:

    in reply to: Hide WMPL Flags #1445573

    on WPML – Languages – there is in the options : “Menu language switcher ” Add a new one.
    Then you see the options for that menu you choose

    if the switchers are not inside a menu – you can scroll down a bit and have : “Custom language switchers” mark it and customise it there.

    i do not have an enfold setting with header on the left and WPML – so i can not test it for you.
    if that position does not belong to these settings:

    try: https://kriesi.at/support/topic/wpml-language-switcher-8/#post-695476

    but: i think these filters and action hooks are deprecated now. on : class-avia-wpml.php lines 86 to 110 there are more options to influence. i think a mod should instruct you with these new “options”

    or read this for more info: https://wpml.org/documentation/theme-compatibility/enfold/#enfold-language-switcher

    What font do you like to upload?

    long time ago – and with some changes ( for example the possibility to upload variable fonts ) you can read here a more detailed instruction:
    https://kriesi.at/support/topic/host-web-font-yourself-some-info/#post-1364066
    And: a tip if it is realy neccessary to have a specific italic typeface.

    when you download the files from transfonter ( you can pick out from that zip the woff and ttf files into a folder with name you like to give.
    You do not need any other files inside your zip than the pure font-formats!
    F.e. name that folder for all the open-sans fonts “Open Sans” – see:

    zip this folder ! BUT be carefull on your Mac OS – because OS will have inside that folder hidden files ( this is typical for OSX folders ).
    Some of the OSX Compressor Tools like BetterZip have an option to zip for PC ( then these hidden system files will not be in this zip file)
    these are your “MACOSX (font-family: macosx) “. ( But you can erase these “Fonts” from Font Manager.

    This “4ab16c3952a6f71bb538afe303ac6379.woff2” happens because you have uploaded directly the downloaded zip file.

    if you rename the zip.file to f.e “Open Sans” then the Font Manager will show the folder name as Font Name (green) – and the filenames will end in the original implemented postscript font-family name.

    in reply to: Timeline Navigation #1445504

    can you please remove the css code from Ismael and insert instead :
    ( because of .avia-slideshow-carousel must stay overflow: hidden – the left arrow is not visible )

    @media only screen and (min-width: 990px) {
      .avia-timeline-container {
        padding: 0 40px;
      }
    
      .av-timeline-nav {
        padding-top: 0px;
        width: 100%;
        overflow: visible !important;
      }
    
      #top .avia-timeline-container.av-slideshow-ui .avia-slideshow-arrows.av-visible-next > a.next-slide {
        position: absolute;
        top: 0px;
      }
    
      #top .avia-timeline-container.av-slideshow-ui .avia-slideshow-arrows.av-visible-prev > a.prev-slide {
        position: absolute;
        top: 0px;
      }
    }

    maybe you like to include to that media-query a setting to have more space for the :

    .avia-timeline-horizontal.av-milestone-placement-top .av-milestone-content-wrap {
      padding: 30px 15px 10px 80px;
    }

    after that we can see if we need to fix some other settings.

    By the way: uploaded Fonts – are at the end of the drop-downlist under: “Uploaded Fonts”
    sorry to mention this – but some participants do not scroll down to the end of the list ;)

    I don’t believe that only Google Fonts can be uploaded.
    I have successfully uploaded several premium fonts from Adobe, Bitstream, Elsner & Flake etc. pp. after converting them to web font formats. In the meantime I only prefer woff2 (for older browsers I usually add the ttf files)

    try to upload otf files to tranfonter page: Link

    Big Advantage on Transfonter Page is the family support.

    if there are troubles in rendering the font – ( what OS X do you use on your device) you can include the other font formats too
    but with ttf you got a good old browser support.
    Browser Support

    in reply to: Space between color sections #1445404

    To better advise; is there a link to this page?
    If you don’t want to make the link public, you’ll have to wait until the mods are here to see your private message.

    in reply to: Change the color of the hover line #1445390
    #top #avia-menu .avia-menu-fx {
      background-color: #8c084c
    }
    in reply to: Easy Slider Darken Image (Opacity) #1445361

    this is one idea –

    #top.page-id-102 #av_section_1 .flex_column img {
      filter: brightness(0.5)
    }

    or with two filters and hover effect:

    #top.page-id-102 #av_section_1 .flex_column img {
      -webkit-filter: brightness(0.6) blur(3px);
      filter: brightness(0.6) blur(3px);
      transition: filter 1s ease;
    }
    
    #top.page-id-102 #av_section_1 .flex_column:hover img {
      -webkit-filter: brightness(0.8) blur(0.5px);
      filter: brightness(0.8) blur(0.5px);
      transition: filter 1s ease;
    } 
    

    but maybe you like a frosted glass effect behind your caption:

    
    /***** here only for those images inside column 4,5 and 6 *****/
    #top.page-id-102 #av_section_1 .flex_column:nth-of-type(n+4) .av-slideshow-caption {
      border-radius: 10px;
      background-color: rgba(0,0,0,0.3);
      width: calc(100% - 34px);
      margin: 0 auto !important;
      -webkit-backdrop-filter: blur(5px);
      backdrop-filter: blur(5px);
    }


    if
    you change your font color to black then switch to a white frosted glas ;)

    btw: it seems to be better if you switch to single rows on 990px for that color section.

    if the html lang attribute changes to the new language – the labels are not translated?
    does your lang plugin set a html lang attribute?

    _________
    anyway:
    give a unique ID to your countdown element f.e.: spanish

    then follow the exemple here: https://enfold.webers-webdesign.de/3-columns/

    for child-theme functions.php:

    function set_spanish_translations(){
    ?>
    <script>
    window.addEventListener("DOMContentLoaded", function () { 
    	(function($) {       
    		$('#spanish').attr('lang', 'es-ES');
    		$('#spanish .av-countdown-years .av-countdown-time-label').attr({'data-label': 'Año', 'data-label-multi': 'Años'});
    		$('#spanish .av-countdown-months .av-countdown-time-label').attr({'data-label': 'Mes','data-label-multi': 'Meses'});
    		$('#spanish .av-countdown-weeks .av-countdown-time-label').attr({'data-label': 'Semana','data-label-multi': 'Semanas'});
    		$('#spanish .av-countdown-days .av-countdown-time-label').attr({'data-label': 'Día','data-label-multi': 'Días'});
    		$('#spanish .av-countdown-hours .av-countdown-time-label').attr({'data-label': 'Hora','data-label-multi': 'Horas'});
    		$('#spanish .av-countdown-minutes .av-countdown-time-label').attr({'data-label': 'Minuto','data-label-multi': 'Minutos'});
    		$('#spanish .av-countdown-seconds .av-countdown-time-label').attr({'data-label': 'Segundo','data-label-multi': 'Segundos'});
    	}(jQuery)); 
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'set_spanish_translations');

    it differs between data-label and data-label-multi – for singular and plural form of the Units

    in reply to: Space between color sections #1445348

    Your code should actually work because of the important setting.
    Try first renewing the caching / merging of Enfold?

    _______

    on your selector there are only classes ! A class is not so high in specifity than an ID.
    not knowing your page – i can not say if your selctor is the right one – but try:

    @media only screen and (max-width: 767px)  {
      #top #main .avia-section .content {
        padding-top: 0;
        padding-bottom: 0;
      }
    }
    in reply to: contact form drop-down list background colour #1445204
    in reply to: Post Slider display video instead of featured image #1445191

    if you have sound on that video – There will be (for the lightbox video) a button ( if you set muted ) to activate sound – or if you set without muted – the vimeo video will play with sound!
    on the preview videos it will make no sence – if there are more than one Video. – Real cacophony

    in reply to: Section autoplay video (force with js) #1445189

    I fear that this would have to be decided by YouTube (Google) alone. Many of the previously valid parameters no longer have any influence on video events. YouTube is particularly keen to push through related videos. And this is probably the crux of the matter. They earn money with such links and don’t care about user-friendliness. I’ve long had a Vimeo account with a weekly 5GB upload to get around all this.

    in reply to: Section autoplay video (force with js) #1445134

    It runs with your video on iPhone – but the loop not. After the video the related Videos are shown.

    see https://webers-testseite.de/youtube-background/
    After you have inspect it – i will remove your video from my page

    PS: if i remove the playlist parameter ( see bottom color-section) the video stops playing on iPhone – but does not show those related videos allways :
    see screenshot from iPhone:

    in reply to: Section autoplay video (force with js) #1445093

    if it is that Relax Page – on my iPad it restarts (loop) the video. On my iPhone the relative Videos are shown.
    try to add as Parameter: &rel=0

    PS: i tried it with many other parameters. But your video always shows at the end the relatives.
    some videos do not – i don’t know why.

    on inserting your video id on Youtube there is an automatic add behind the VIDEO-ID. : ?si=_2iiQuHBWVJZQ8s6

    Did you upload that with an existiing playlist?

    in reply to: contact form drop-down list background colour #1445022

    you can only influence the select box ( as check boxes, radio buttons etc. ) by replacing the original html by a different html structure.

    put this to your child-theme functions.php:
    ( it is specific to your form – because the selector for that form element is given by the ID: #element_avia_6_1
    on other form elements it might be a different ID )

    function style_select_options(){
    ?>
    <script>
    window.addEventListener("DOMContentLoaded", function () { 
        (function($) {     
            $('.avia_ajax_form #element_avia_6_1').addClass('custom-select');
        })(jQuery);
    
        var x, i, j, l, ll, selElmnt, a, b, c;
        /* Look for any elements with the class "custom-select": */
        x = document.getElementsByClassName("custom-select");
        l = x.length;
        for (i = 0; i < l; i++) {
          selElmnt = x[i].getElementsByTagName("select")[0];
          ll = selElmnt.length;
          /* For each element, create a new DIV that will act as the selected item: */
          a = document.createElement("DIV");
          a.setAttribute("class", "select-selected");
          a.innerHTML = selElmnt.options[selElmnt.selectedIndex].innerHTML;
          x[i].appendChild(a);
          /* For each element, create a new DIV that will contain the option list: */
          b = document.createElement("DIV");
          b.setAttribute("class", "select-items select-hide");
          for (j = 1; j < ll; j++) {
            /* For each option in the original select element,
            create a new DIV that will act as an option item: */
            c = document.createElement("DIV");
            c.innerHTML = selElmnt.options[j].innerHTML;
            c.addEventListener("click", function(e) {
                /* When an item is clicked, update the original select box,
                and the selected item: */
                var y, i, k, s, h, sl, yl;
                s = this.parentNode.parentNode.getElementsByTagName("select")[0];
                sl = s.length;
                h = this.parentNode.previousSibling;
                for (i = 0; i < sl; i++) {
                  if (s.options[i].innerHTML == this.innerHTML) {
                    s.selectedIndex = i;
                    h.innerHTML = this.innerHTML;
                    y = this.parentNode.getElementsByClassName("same-as-selected");
                    yl = y.length;
                    for (k = 0; k < yl; k++) {
                      y[k].removeAttribute("class");
                    }
                    this.setAttribute("class", "same-as-selected");
                    break;
                  }
                }
                h.click();
            });
            b.appendChild(c);
          }
          x[i].appendChild(b);
          a.addEventListener("click", function(e) {
            /* When the select box is clicked, close any other select boxes,
            and open/close the current select box: */
            e.stopPropagation();
            closeAllSelect(this);
            this.nextSibling.classList.toggle("select-hide");
            this.classList.toggle("select-arrow-active");
          });
        }
    
        function closeAllSelect(elmnt) {
          /* A function that will close all select boxes in the document,
          except the current select box: */
          var x, y, i, xl, yl, arrNo = [];
          x = document.getElementsByClassName("select-items");
          y = document.getElementsByClassName("select-selected");
          xl = x.length;
          yl = y.length;
          for (i = 0; i < yl; i++) {
            if (elmnt == y[i]) {
              arrNo.push(i)
            } else {
              y[i].classList.remove("select-arrow-active");
            }
          }
          for (i = 0; i < xl; i++) {
            if (arrNo.indexOf(i)) {
              x[i].classList.add("select-hide");
            }
          }
        }
    
        /* If the user clicks anywhere outside the select box,
        then close all select boxes: */
        document.addEventListener("click", closeAllSelect); 
    
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'style_select_options');
    

    after that for quick.css:

    /*the container must be positioned relative:*/
    .custom-select {
      font-family: inherit;
      text-transform: uppercase;
    }
    
    .custom-select select {
      display: none !important;
    }
    
    #top .select-selected {
      background-color: var(--enfold-main-color-bg);
      border-color: var(--enfold-main-color-primary);
      border-width: 1px;
      height: 41px;
      font-size: 12px;
      color: var(--enfold-main-color-primary);
      opacity: 0.7
    }
    
    /*style the arrow inside the select element:*/
    .select-selected:after {
      position: absolute;
      content: "";
      top: 18px;
      right: 10px;
      width: 0;
      height: 0;
      border: 6px solid transparent;
      border-color: #666 transparent transparent transparent;
    }
    
    /*point the arrow upwards when the select box is open (active):*/
    .select-selected.select-arrow-active:after {
      border-color: transparent transparent #666 transparent;
      top: 12px;
    }
    
    /*style the items (options), including the selected item:*/
    .select-items div,
    .select-selected {
      color: #FFF;
      padding: 2px 15px 2px;
      border: 1px solid transparent;
      border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
      cursor: pointer;
      user-select: none;
    }
    
    /*style the items (options), including the selected item:*/
    .select-selected {
      padding: 5px 15px 2px;
    }
    
    /*style items (options):*/
    .select-items {
      position: absolute;
      background-color: #ddd;
      top: 100%;
      left: 0;
      right: 0;
      z-index: 99;
      font-size: 12px
    }
    
    /*hide the items when the select box is closed:*/
    .select-hide {
      display: none;
    }
    
    .select-items div:hover, .same-as-selected {
      background-color: #7d2a7e;
      color: #fff !important;
    }

    Looks then this way – but you can now style each option and pseudo states to your needs:

    • This reply was modified 3 weeks, 5 days ago by Guenni007.
Viewing 30 posts - 31 through 60 (of 10,306 total)