Forum Replies Created

Viewing 30 posts - 211 through 240 (of 11,822 total)
  • Author
    Posts
  • in reply to: Adding Layerslider to Footer Widget Column 3 #1488602

    first : i think the layerslider shortcodes will only work in different places – if you got the standalone layerslider registered.
    but even if you got one – i wouldn’t do that on performance reasons.

    But you can insert f.e. the shortcode for easy slider. You know how to style this easy slider on a page and get the enfold shortcode for that?

    Next idea is : use the enfold option to show a page as footer. Then you can style that page with all the enfold elements – and with sliders too.

    in reply to: Show fullscreen image for 5 seconds #1488600

    f.e. – on my test page i do only have set it for front-page and impressum:

    add_action('ava_after_body_opening_tag', function() {
        if (is_page(array(330,1128))){ 
            echo '<div id="fullscreen-overlay"></div>';
        }
    });
    
    function timed_overlay_fullscreen_image(){
    if (is_page(array(330,1128))){ 
    ?>
    <script>
      document.addEventListener('DOMContentLoaded', function() {
        setTimeout(function() {
            var overlay = document.getElementById('fullscreen-overlay');
            if (overlay) {
                overlay.classList.add('hidden');
            }
        }, 5000); // 5000 milliseconds = 5 seconds
      });
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'timed_overlay_fullscreen_image');

    btw: if you like you can have page-title or different text included to that hook
    replace f.e. to :
    echo '<div id="fullscreen-overlay"><h1>'.get_the_title().'</h1></div>';

    see example page from above with get_the_title (and only 3 seconds)

    #fullscreen-overlay {
        position: fixed;
        display: flex;
        justify-content: center; 
        align-items: center; 
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000; /* Example: black background */
        background-image: url(/wp-content/uploads/2016/07/corporate-buildings-m.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 9999;
        opacity: 1;
       transition: opacity 1s ease-in-out, visibility 0s linear 1s;
    }
    
    #fullscreen-overlay.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none; 
    }
    
    #fullscreen-overlay h1 {
      font-size: 4em;
      color: #FFF;
      margin: 0;
      padding: 20px;
      text-shadow: 2px 3px 5px #000;
    }
    in reply to: Show fullscreen image for 5 seconds #1488599

    try inside your child-theme functions.php:

    // Inject the HTML overlay into the body
    add_action('ava_after_body_opening_tag', function() {
        echo '<div id="fullscreen-overlay"></div>';
    });
    
    function timed_overlay_fullscreen_image(){
    ?>
    <script>
      document.addEventListener('DOMContentLoaded', function() {
        setTimeout(function() {
            var overlay = document.getElementById('fullscreen-overlay');
            if (overlay) {
                overlay.classList.add('hidden');
            }
        }, 5000); // 5000 milliseconds = 5 seconds
      });
    </script>
    <?php
    }
    add_action('wp_footer', 'timed_overlay_fullscreen_image');

    and in quick css:

    #fullscreen-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000; 
        background-image: url(/wp-content/uploads/2016/07/corporate-buildings-m.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 9999;
        opacity: 1;
       transition: opacity 1s ease-in-out, visibility 0s linear 1s;
    }
    
    #fullscreen-overlay.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none; /* Disable interaction when hidden */
    }

    see: https://basis.webers-testseite.de/

    if you just want to have that on your front page – than we had to adjust those snippets.

    in reply to: Show fullscreen image for 5 seconds #1488598

    what kind of image is it – like in your example – or could it be set to cover (but then it is maybe cropped) or should it be set to background-size : contain – with background-color around ?

    Admittedly, this is a very specific replacement for the usual \e869 icon. But that is probably what is meant by a CSS (not CMS) solution. For a simpler replacement, \e80e does not look quite as complicated.

    https://webers-testseite.de/popup-gallery/

    but i think now these icons are svg ones – so the simple method to replace the font-icon by just doing:

    #top .image-overlay .image-overlay-inside::before {
      content: "\E80E" !important;
      font-family: entypo-fontello;
      font-size: 42px;
      font-weight: 400;
    }
    in reply to: No Logo in Header and a title instead #1488546

    you can use f.e. the filter: avf_logo_final_output
    using the settings on bloginfo and the page-title

    function use_text_logo_only($logo){
    $link = apply_filters( 'avf_logo_link', home_url( '/' ) );
    $logo_tag = "h1";
    $logo_heading = "Your Text for Logo";
    $alt = get_bloginfo( 'name' );    
    $title = get_bloginfo( 'name' );
    $page_title = get_the_title();
    
    if(is_front_page()){
     $logo = '<a class="logo text-logo" href="'.$link.'" alt="'.$alt.'" title="'.$title.'"><'.$logo_tag.'>'  .$logo_heading.'</'.$logo_tag.'></a>';
    }
    else{
      $logo = '<a class="logo text-logo" href="'.$link.'" alt="'.$alt.'" title="'.$page_title.'"><'.$logo_tag.'>'  .$logo_heading.'<span class="page-title"> - '.$page_title.'</span></'.$logo_tag.'></a>';
    }
    return $logo;
    }
    add_filter('avf_logo_final_output','use_text_logo_only');

    you see that here are some conditionals
    here the front-page shows only the bloginfo – all other pages both blog-info and page-title

    fit it to your needs .

    Some css will finish the setting then – but it will be best to see the page it belongs to.

    f.e.

    #top .logo.text-logo  {
      height: auto;
      display: block;
      margin: 0 !important;
      position: absolute !important;
      top: 50%;
      transform: translateY(-50%);
    }
    
    #top .logo.text-logo h1  {
      margin: 0 !important;
      font-size: 42px;
    }

    see here example: https://basis.webers-testseite.de/

    there had to be some adjustments for responsive styling – because i will change it after you have seen the page – i do not want to do that.

    in reply to: Custom SVG Divider #1488542

    you know the absolute url of your svgs – what if you do open it in your browser – can you see them?

    e.g.
    https://your-domain.com/wp-content/uploads/avia_custom_shapes/waves-in-motion.svg

    By the way, I now always upload these SVG files through the media library. In list view, I determine the ID of the attachment and add it to the array. As far as I know, neither the key nor the name needs to be specified then in the snippet.
    SVG files in WordPress and Enfold are not converted to other sizes when uploaded to the media library. There are no disadvantages in this regard.

    function custom_avf_custom_svg_shapes( array $custom_shapes ) {
      $custom_shapes = array(
        'waves-in-motion'       => array(
                  'title'       => __( 'Waves in motion', 'avia_framework' ),
                  'has_flip'    => true,
                  'has_width'   => false,
                  'attachment'  => 1562,
                  ),
        'waves-in-motion-2' => array(
                  'title'       => __( 'Waves in motion 2', 'avia_framework' ),
                  'has_flip'    => true,
                  'has_width'   => false,
                  'attachment'  => 1565,
                  ),
        );
        return $custom_shapes;
    }
    add_filter( 'avf_custom_svg_shapes', 'custom_avf_custom_svg_shapes', 10, 1 );
    in reply to: Cannot access kriesi.at please unblock our IP addresses #1488541

    It also affected me for about five days.

    in reply to: Social media icon sizes and page placement #1488395

    here on that page you can achieve this by:
    (the old way – because using font-icons)

    #top .main_menu {
      right: 145px;    /* === A correction value for the now broader social_bookmarks === */
      padding-right: 10px;
    }
    
    #header_main .social_bookmarks {
      margin: 0;
      height: 40px;
      top: 50%;
      transform: translateY(-50%);
    }
    
    #top .social_bookmarks li {
      width: 36px;
    }
    
    #top .social_bookmarks li a {
      width: 40px;
      line-height: 40px;
      min-height: 40px;
    }
    
    #top .social_bookmarks li a:before {
      font-size: 24px
    }
    

    Perhaps it needs to be adapted for your website. As a participant, I cannot see any private content, so I’m afraid I can’t offer any better advice.

    NEXT: now the bookmarks are svg icons – so the css had to be different.
    But i do not find an example page to do so. I had to look on one of my installatons to have that different css.

    #top .avia-menu.av_menu_icon_beside {
      border-right: none;
      padding-right: 10px;
      margin-right: 10px;
    }
    
    #top nav .social_bookmarks {
      position: relative;
      transform: translateY(-50%);
      margin: 0 !important;
      height: 40px !important;
    }
    
    #top .social_bookmarks li {
      width: 40px;
      margin-left: 3px
    }
    
    #top .social_bookmarks li a {
      width: 40px !important;
      line-height: 40px;
      border-radius: 10px !important;
      min-height: 40px;
    }
    
    #top .social_bookmarks li.avia-svg-icon img[is-svg-img="true"], 
    #top .social_bookmarks li.avia-svg-icon svg:first-child {
      height: 1.5em;
      width: auto;
      margin-top: 5px;
    }
    in reply to: Fixed header #1488394

    if you have started by using a demo installation. F.e. https://kriesi.at/themes/enfold-one-page-portfolio/
    This homepage behaves as you described.

    This option of header you can choose to have on the page editor. Have a look to the layout and find: “Header visibility and transparency”
    That dropdown :

    Make your selection there.

    how did you insert those full_sliders ? because they are twice on your site as your told us above.
    some are out of wrap_all ? so your footer is there – but over these copied sliders!

    see your footer here: https://eustasis.com/#footer

    in reply to: Replacing the cookies icon with another icon #1488376

    or without uploading – just with base 64 data uri:

    #av-cookie-consent-badge:before {
      display: block;
      position: relative;
      content: "";
      width: 100%;
      height: 100%;
      top: 10px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OC0xNy41LTE3LjVzNy44LTE3LjUgMTcuNS0xNy41IDE3LjUgNy44IDE3LjUgMTcuNS03LjkgMTcuNS0xNy41IDE3LjV6bTU3LjktNzAuM2MtOS43IDAtMTcuNS03LjgtMTcuNS0xNy41czcuOC0xNy41IDE3LjUtMTcuNSAxNy41IDcuOCAxNy41IDE3LjUtNy44IDE3LjUtMTcuNSAxNy41em0zMy45IDcyLjNjLTkuNyAwLTE3LjUtNy44LTE3LjUtMTcuNXM3LjgtMTcuNSAxNy41LTE3LjUgMTcuNSA3LjggMTcuNSAxNy41LTcuOCAxNy41LTE3LjUgMTcuNXoiLz4KPC9zdmc+);
      background-size: 30px;
      background-repeat: no-repeat;
    }

    by the way – here is a huge amount of usefull path – with the option to get the base 64 data uri:
    https://www.svgviewer.dev/svg-to-data-uri

    Enter f.e. cookie on search input field.

    in reply to: Replacing the cookies icon with another icon #1488374

    upload that svg to your media library: Cookie SVG

    and put this to your quick css:

    #av-cookie-consent-badge:before {
      display: block;
      position: relative;
      content: "";
      width: 100%;
      height: 100%;
      top: 0;
      left:0;
      background-image: url("/wp-content/uploads/cookie.svg");
      background-size: contain;
      background-repeat: no-repeat;
    }
    

    adjust the url with your path

    in reply to: Change the space between table lines on mobile. #1488362

    As a participant i could not see private content.

    in reply to: Change the space between table lines on mobile. #1488349

    i did not check your selectors if they are correct but in your media query

    @media only screen and (max-width: 767px) {
      .avia-data-table.avia_pricing_minimal td, 
      .avia-data-table.avia_pricing_minimal th {
      padding: 0px;
      }
    } /* === here is one missing curly bracket === */
    

    do not forget the closing bracket ( two opening brackets – only one closing )

    ___________

    Next : if you got a pricing-table – there are no table layouts (body, th, td etc) these are created as lists!
    so if you got a pricing table – then the selectors are not o.k.

    PS: i didn’t know that even minimal data tables – got that class: avia_pricing_minimal
    so with that one missing closing bracket your codes seems to working.

    in reply to: Custom SVG Divider #1488348

    why do you think that there is something wrong?
    is on your dropdown list no custom svg ?

    you have mixed two elements here on your page – the one is the tab-section
    and the images belong to these av-section-tab-title

    the other element is inside your content of the tab-section element. (Tabs) – and indeed they only have the option to show icons!
    but – if you got svg images – you could place these files by choosing wordpress media library as source for your icons.

    next hint: no one hampers you to insert left to the tab title :
    <img class="alignleft" src="/wp-content/uploads/globe-color.png" alt="" width="40" height="40" />

    you can horizontally center these images with the tab-titles by:

    .tabcontainer .tab_titles .tab {
      display: flex;
      align-items: center;
    }

    there will be warnings – but you can ignore them – it works!

    in reply to: Clicking flags in mobile menu doens’t work #1488302

    you know how to have a child-theme replacement script?

    in reply to: Clicking flags in mobile menu doens’t work #1488301

    maybe it is a working way to have an explicite mobile menu – because the other solution is to have a child-theme avia-snippet-hamburger-menu.js file.

    ____________________________________________

    you have to look for this part inside:

    
    if( cur_menu.length )
    {
      if( cur_menu.get(0).hash == '#' || 'undefined' == typeof cur_menu.attr('href') || cur_menu.attr('href') == '#' )
      {
        // eventhandler conflict 'click' by megamenu (returns false) - ignore all handlers
        if( subitems.length > 0 || megacolumns.length > 0 )
        {
          clone_events = false;
        }
      }
    }

    and replace it by:

    // AVOID CONFLICT: Keep events for the GTranslate menu item
    if( ! current.hasClass('menu-item-gtranslate') )
    {
      if( cur_menu.length )
      {
        if( cur_menu.get(0).hash == '#' || 'undefined' == typeof cur_menu.attr('href') || cur_menu.attr('href') == '#' )
        {
          // eventhandler conflict 'click' by megamenu (returns false) - ignore all handlers
          if( subitems.length > 0 || megacolumns.length > 0 )
          {
            clone_events = false;
          }
        }
      }
    }

    you have found the solution on the element itself? – because i see images on your tabs.

    in reply to: increase size of logo and burger icon on mobile view #1488285

    All seems to work now!
    but please: https://kriesi.at/support/topic/use-code-tag-for-posting-snippets-e-g-implementing-google-tag-script/

    to check your code it would be easier if you use the code tag here on the board.

    in reply to: Sticky Mobile Header #1488284

    is this a transparent header on desktop view?
    then you had to adjust on fixed non-transparent header the padding-top of #main

    It would be helpful to determine whether the issue is specific to Enfold or if it is a more widespread problem. I suggest temporarily activating one of the standard WordPress themes and checking whether these replacement characters are still displayed in the editor.

    in reply to: increase size of logo and burger icon on mobile view #1488232

    but for your trials to have sticky header on mobile – my advice is to erases the code and replace it with ( It is difficult to identify the issue with the existing code. Therefore, I would prefer to start over.) :

    @media only screen and (max-width: 1023px) {
        #header {
            position: fixed !important;
            height: 120px !important;
            max-height: 120px !important;
        }
    
        #top #header.av_header_transparency #header_meta {
            background-color: transparent;
        }
    
        #header_main {
            border-bottom: none;
        }
    
        #header:not(.av_header_transparency) #header_main {
            box-shadow: 0 5px 5px rgba(182,182,182,0.75);
        }
    
        .responsive #top .av-logo-container ,
        .responsive #top .logo a,
        .responsive #top .logo img,
        .responsive #top .logo svg {
            height: 120px !important;
            max-height: 120px !important;
            line-height: 120px !important;
        }
    
        .responsive #top .av-main-nav .menu-item-avia-special a {
            height: 120px !important;
            line-height: 120px !important;
        }  
    
        .responsive.html_mobile_menu_tablet #top #wrap_all .av_header_transparency {
            background-color: transparent !important;
        }
    
        #top .header_bg {
            background-color: transparent !important;
        }
    
        #top #header:not(.av_header_transparency) .header_bg {
            background-color: #FFF !important;
        }
    
        .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo img.alternate, 
        .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo .subtext.avia-svg-logo-sub {
        display: block !important;
        }
    
        .responsive.html_mobile_menu_tablet #top .av_header_transparency.av_alternate_logo_active .logo a > img, 
        .responsive.html_mobile_menu_tablet #top .av_header_transparency.av_alternate_logo_active .logo a > svg {
        opacity: 0;
        }
    
        /*** das hier individuell anpassen je nach dem  ***/
        #top #header.av_header_transparency #header_meta .phone-info * {
            color: #FFF !important;
        }
    
        .html_mobile_menu_tablet .header_color  #header.av_header_transparency div .av-hamburger-inner, 
        .html_mobile_menu_tablet .header_color  #header.av_header_transparency div .av-hamburger-inner::before, 
        .html_mobile_menu_tablet .header_color  #header.av_header_transparency div .av-hamburger-inner::after {
            background-color: #FFF;
        }
        .html_mobile_menu_tablet .header_color  #header.av_header_transparency .menu-item-search a:before {
            color: #FFF;
        }
        .responsive.html_header_top.html_mobile_menu_tablet  #top #main {
            padding-top: 120px !important;
        }
        .responsive.html_header_top.html_header_transparency.html_mobile_menu_tablet  #top #main {
            padding-top: 0 !important;
        }
    }

    and next: synchronise the switch point of your burger menu with those settings for your header.
    means

    @media only screen and (max-width:1023px) {
      #avia-menu .menu-item {
        display:none
      }
      .av-burger-menu-main.menu-item-avia-special {
        display:block
      }
    }

    for your content inside the first section there should be more distance to header on smaller screens! …
    in addition :

    @media only screen and (max-width:767px) {
      .responsive.html_header_top.html_header_transparency.html_mobile_menu_tablet  #top #main #av_section_1 .content {
        padding-top: 150px
      }
    }
    in reply to: increase size of logo and burger icon on mobile view #1488231

    on #main you set the padding-top to zero for all headers – so add that rule in your media query setting

    @media only screen and (max-width:1024px) {
      .responsive .logo img,
      .responsive .logo svg {
        max-height:120px
      }
      .responsive #top #wrap_all .main_menu {
        height:120px
      }
      .responsive #top #header_main>.container .main_menu .av-main-nav>li>a,
      .responsive #top #wrap_all .av-logo-container {
        height:120px;
        line-height:120px
      }
      .responsive.html_header_transparency #top #main {
        padding-top: 0 !important
      }
      .responsive:not(.html_header_transparency) #top #main {
        padding-top: 120px !important
      }
    }

    and what if you switch temporarly to a standard theme. Do the wp-admin buttons show the same problem?

    do you have only standard entries in your htaccess file – or are there additional custom rules inside?

    in reply to: Classic Edit vs Advanced Layout Editor #1488149

    It’s a shame not to use the Advanced Layout Builder (ALB) with an Enfold installation. The ALB is what makes Enfold attractive. I always use the ALB with the Classic Editor (Theme Options > Select Your Editor). However, I know some users here who use the block editor and still use Enfold’s layout elements. Giving up the ALB means giving up all its advantages.

    yes – and it is under Tools->Site Health->Info->Database

    Such an error, in which text is displayed in square blocks with question marks (so-called “tofu characters” or “replacement characters”), almost always indicates a problem with the character encoding or the fonts used.

    Can you take a screenshot of what it looks like?

    in reply to: Center content #1488050

    And you have choosen that setting on : General Layout – Content Alignment : “Center Content”

    it is just below that option where you have choosen the left sidebar header

Viewing 30 posts - 211 through 240 (of 11,822 total)