Viewing 30 results - 1,441 through 1,470 (of 142,939 total)
  • Author
    Search Results
  • #1485493

    Hey laptophobo,

    Thank you for the inquiry.

    Try to add this filter in the functions.php file to remove the default attributes of the SVG icons:

    add_filter('avf_ignore_svg_aria_attributes', '__return_true');
    

    Let us know the result.

    Best regards,
    Ismael

    #1485491

    Hey Mike,

    That makes so much sence, i should have tried that out.
    I have no further questions on the topic.

    Thank you, you are the man Mike!

    Kind regards,

    #1485464

    First : i’m talking about a custom class : hide-on-smallscreens – not an ID
    and maybe put your two columns inside a color-section.

    with my solution you can then remove all other trials to hide the column.

    PS: you are still on Enfold 6.0.2 my testpage is on 7.1.1 – i only mention that because i can not reproduce a negative margin-top value on the img tag itself.

    • This reply was modified 10 months, 1 week ago by Guenni007.
    #1485459

    Hi,
    I have researched this and while there is a long technical explanation for why the WAVE test tool is flagging this, I found a solution in my research. Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function remove_link_from_search_icon_and_add_it_back_on_click() { ?>
      <script>
    document.addEventListener('DOMContentLoaded', function() {
        const searchLink = document.querySelector('#menu-item-search a');
        if (searchLink) {
            // Store the original href
            const originalHref = searchLink.getAttribute('href');
            // Remove the href on page load
            searchLink.removeAttribute('href');
            
            // Add click event to restore href
            searchLink.addEventListener('click', function() {
                if (!searchLink.getAttribute('href')) {
                    searchLink.setAttribute('href', originalHref);
                }
            });
        }
    });
    </script>
      <?php
    }
    add_action( 'wp_footer', 'remove_link_from_search_icon_and_add_it_back_on_click', 99 );

    If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    use wpcode php snippet and activate
    and ensure that it is activated, then add the above code and save.
    I tested this on the WAVE Web Accessibility Evaluation Tool and it removed the error.

    Best regards,
    Mike

    #1485455

    Why do you have that text as double content?

    Lets try if a css only solution will do the job:

    Do not create that extra text section. This means: your 1/3 column on the left – the 2/3 column with your text on the right. As probably before, move the line column upwards (-200px) using the setting via Advanced – Position relative in the Row Settings – Row Screen Options setting and let the columns wrap at 989px. Give the column with the image its own meaningful class, e.g.: hide-on-smallscreens.

    Now insert it into the Quick CSS:

    @media only screen and (max-width: 989px) {
     #top .flex_column.hide-on-smallscreens {
        display: none !important;
      }
      #top .flex_column.hide-on-smallscreens + .flex_column {
        width: 100%;
      }  
    }
    

    maybe it is better to shift the image via position relative.

    #1485447

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1485438

    I do want to hide the overlapping – clear background golfer on mobile. It is great on desktop, love the look, but on mobile, it is too small to cover at all. I have built and customize many sites on Enfold, the show/hide works almost all the time. Does this help you understand what I am trying to do?

    #1485437

    I did make a reproduction page top and made it exactly like the homepage – from scratch, not making templates out of the elements, using same settings and set up. It was the same result. I also made other changes experimenting with the image, z index and hiding… same result. Switched the columns where the image was, same result.

    https://img.savvyify.com/image/IMG-4759.y8rhx

    I am at a loss to what to try next.
    Please help.
    Did I give credentials? I will add them just in case below.

    #1485434

    Topic: Padding in textboxes

    in forum Enfold
    Schmidtgrafisk
    Participant

    Hey Enfold

    I’v got 4 columns with 0% space between them.
    In top of the columns I got images with no space and that looks great, under the images I got text boxes, I’d like to add left and right padding to the textboxes to make space between the different text’s

    Please have a look at the colorsection at the bottom of the frontpage.

    Thanks ;)
    Alan

    #1485420

    PS: i changed the script! That even a normal Enfold Content Slider could be present too.
    PPS: I didn’t want to install endless scrolling. I think it would be necessary to have the entry-slide in a separate entry-slide-wrap. That’s where the trick lies, that I collect all entry-slides and move them into the first entry-slide-wrap. Then delete the empty wrappers. I therefore decided to change the direction of the slider. My content slider solution stops at mouseenter – and starts again at mouseleave

    #1485414

    After couple of hours of investigation i found it … i wanted to hide the top header on mobile and user the css for this

    @media only screen and (max-width: 767px){
    #header_meta {display:none;}
    }

    ..but how to hide the top header instead?

    This works now:
    #top .av_header_transparency #header_meta { display:none;}

    …we can close here … thx

    • This reply was modified 10 months, 2 weeks ago by xeovision.
    • This reply was modified 10 months, 2 weeks ago by xeovision.
    #1485383

    Hey SurigliaStudio,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function blog_title_above_image() { ?>
      <script>
    window.addEventListener('DOMContentLoaded', function() {
    (function($){
      $('.slide-entry').each(function() {
      $(this).find('.entry-content-header').insertBefore( $(this).find('a.slide-image'));
      $(this).find('.av-vertical-delimiter').css('display','none');
      });
    })(jQuery);
    });
      </script>
      <?php
    }
    add_action( 'wp_footer', 'blog_title_above_image', 99 );

    If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    use wpcode php snippet and activate
    and ensure that it is activated, then add the above code and save.
    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    Please see the screenshot in the Private Content area of the expected results.

    Best regards,
    Mike

    #1485375

    Hi-
    I’m having a hard time figuring out how to send you a link that doesn’t require a password. Instead I added a horizontal gallery to my own website using the same settings on my client’s website. You can see the vertical photos are cut off when displayed on a mobile view, yet when viewed on a desktop there is no cropping.

    For now, I’ve disabled the view of the horizontal gallery on my clients’ website when viewed on a mobile device. However she is asking if there’s anyway to display the horizontal gallery without any photos being cut off when viewed on a mobile phone.

    Thanks!

    #1485352
    DianaLoola73
    Participant

    Dear Enfold Support Team,

    I’m working on making my website more accessible:
    https://www.schlosswirtschaft-schwaige.de
    I’m using the built-in search icon in the main menu (top right), enabled via the Enfold settings.
    However, accessibility tools (like WAVE) report two problems:
    – The search icon has no accessible label (aria-label or similar).
    – It’s also flagged as a “suspicious link”.
    Could you please tell me the best way to solve this so it meets accessibility standards (WCAG)?
    Thank you very much for your help!

    Best regards, Diana

    Hey rjalthar,

    Thank you for the inquiry.

    It seems to be an issue with the image overlay. Could you confirm the current version of the theme? Make sure the theme is updated to version 7.1, then try to temporarily toggle or disable the settings under Enfold > Performance > File Compression.

    To fix the issue temporarily, you can add the following css code to disable the image overlay:

    #top .image-overlay.overlay-type-image {
        display: none !important;
    }

    Best regards,
    Ismael

    Hey Diana,

    Thank you for the inquiry.

    Try to add this css code to make the .avia_hidden_link_text accessible but still not visible in the slider links.

    #top .avia_hidden_link_text {
        display: block;
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
        white-space: nowrap;
    }

    Another option is to add aria-label to the slider links by editing the slider template directly or with javascript. Example:

    document.addEventListener('DOMContentLoaded', function() {
      document.querySelectorAll('a.next-slide').forEach(function(link) {
        link.setAttribute('aria-label', 'Weiter');
      });
    });
    

    Best regards,
    Ismael

    #1485309

    Hey bonsaimedia,

    Thank you for the inquiry.

    Try targeting the content wrapper of the second color section instead.

    #av_section_2 .entry-content-wrapper {
    	margin-top: -600px;
    }

    If you need to apply this to specific color sections, try to assign a Advanced > Developer Settings > Custom CSS Class to them, then adjust the css rule accordingly.

    Firefox screenshot:

    View post on imgur.com

    Best regards,
    Ismael

    #1485303
    jedediahzilberberg
    Participant

    Recently on my site, after updating to Enfold 7.1 (WP 6.8.1), I am seeing p tags getting added automatically. This should not happen. How do I stop this from happening? Here are 2 examples of this happening:

    <p class=”ai-optimize-89″></p>

    <p class=”ai-optimize-96″>
    <style type=”text/css” data-created_by=”avia_inline_auto” id=”style-css-av-2w1fh1-60a2143162635ac4b509f8d4973bd200″>
    .avia-section.av-2w1fh1-60a2143162635ac4b509f8d4973bd200{
    background-repeat:no-repeat;
    background-image:var(–wpr-bg-d2d137c8-5f7d-4d64-9d8d-23b56da50b14);
    background-position:0% 0%;
    background-attachment:scroll;
    }
    </style>
    </p>

    Hi Mike,
    Yes I want to load logos, I was at that time just test things out. Now that I have loaded the logos (one regular and one transparent) two things are happening.

    1. I cannot get the logo size for the transparent logo to show as it does in the demo (using the suggested dimensions 340 x 156) and the logo is quite a bit smaller.
    2. The “K” logo for Kriesi still appears when the user moves down the page. That logo is not even in the media library is there code get rid of that logo?
    The images/files have been replaced with my logos with the same results, how does get Enfold to stop pointing to that “K” logo?

    Regards,
    David

    #1485260

    Hi,

    Thank you for the info.

    We are not certain why the search SVG icon is not displaying, but we managed to work around the issue by adding this code in the Quick CSS field:

    #top .menu-item-search-dropdown > a.avia-svg-icon svg:first-child, #top .menu-item-search-dropdown > a.avia-svg-icon img[is-svg-img="true"] {
        z-index: 1;
    }

    We also added this script to make sure that when the SVG icon is clicked, it displays the AJAX search field.

    add_action( 'wp_footer', 'av_custom_script', 100 );
    function av_custom_script() {
        ?>
        <script>
        // trigger ajax search field
        document.addEventListener("DOMContentLoaded", () => {
            const svg = document.querySelector("#menu-item-search svg");
    
            if (svg) {
                svg.addEventListener("click", (e) => {
                    e.preventDefault();
                    e.stopPropagation();
    
                    const parentLink = svg.closest("a");
                    const parentLi = svg.closest("li");
    
                    if (parentLink) {
                        parentLink.click();
                    } else if (parentLi) {
                        parentLi.click();
                    }
                });
            }
        });
        </script>
        <?php
    }
    

    Best regards,
    Ismael

    #1485256

    Hey GWS,

    Thank you for the inquiry.

    Try to include this css code.

    #scroll-top-link.avia-svg-icon svg:first-child, #scroll-top-link.avia-svg-icon:hover svg:first-child {
        stroke: #ffffff;
        fill: #ffffff;
    }

    Result:

    View post on imgur.com

    Best regards,
    Ismael

    #1485246
    GWS
    Participant

    Hi,
    The custom colors in the back to top #scroll-top-link CSS are no longer displaying the arrow color. Instead it looks like a black box with nothing in it and then on hover a red box with nothing in it. The expectation is a white or black arrow within the box. The CSS we are using is listed below.

    Comet cache has been cleared and then deactivated. Under Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression, the appropriate options has been selected and Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files has been enabled. It didn’t make a difference.

    Advice is appreciated as to how to correct this. Website URL in private content. Thanks.

    #scroll-top-link {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    }
    #scroll-top-link:hover {
    background-color: #e3002a !important;
    border: 1px solid #e3002a!important;
    color: #000000 !important;
    }

    #1485231

    Hi,

    Thank you for the update.

    We cannot find the snippet “Child Pages Top Level Shortcode” in the list, only the “Shortcode: Child Pages List” which we enabled and added to the “verein” page. This seems to be working as expected.

    View post on imgur.com

    Best regards,
    Ismael

    Hi,

    1.) You can adjust the width of the widgets inside the header to reduce the gaps between them and create space on the right side.

    Example:

    .responsive #top #header #header_main .inner-container .widget:nth-child(3) {
        order: 2;
        flex-basis: 10%;
    }

    Try to do the same for the other widgets, then apply a right margin to the last one.

    .responsive #top #header #header_main .inner-container .widget:nth-child(5) {
        margin-right: calc(50% - 570px) !important;
    }

    The value of 570px is based on the maximum container width of 1340px.

    2.) Try removing the padding from the menu container and set its width.

    .responsive #top #header #header_main .inner-container .main_menu .avia-menu.av-main-nav-wrap {
        padding: 0 50px;
        width: 1340px;
    }

    Best regards,
    Ismael

    Thanks! Yes, I think I can edit that code to do what I want and by examining the code in the live page I hope I can learn which classes to use to do this kind of thing.

    I originally made relatively simple websites before CMS software became “a thing.” When I saw things moving toward WP I stopped being a web designer (maybe 10-12 years ago). But in the past few years I’ve started making some sites as a volunteer for organizations I’m involved with. In this case it’s a small business I’m helping.

    So I’d like to learn the skills for the few things I’d like to use (like screening behind text) and learn which classes to use to apply that, but I have no interest in becoming a high level web designer!

    In this case I can see it’s a combination of the post-entry class, the element (?) class, and the textblock class where this text is contained. I would never have been able to figure that out by trial and error.

    So thank you!

    Hi Ismael,

    I have added the following css according to your hint:

    @media only screen and (min-width: 768px) {

    /* Add your Desktop Styles here */
    #top #header #header_main .container.av-logo-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    }

    .responsive #top #header #header_main .inner-container .logo {
    margin-left: 70px;
    }

    .responsive #top #header #header_main .inner-container .main_menu .avia-menu.av-main-nav-wrap {
    padding: 0 50px;
    }

    .responsive #top #header #header_main .inner-container .widget:nth-child(5) {
    margin-right: 50px;
    }
    }

    /*
    Desktop Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

    @media only screen and (min-width: 768px) {

    /* Add your Desktop Styles here */
    .responsive #top #header #header_main .inner-container .main_menu {
    order: 5;
    flex-basis: 100%;
    align-items: center !important;
    align-self: center !important;
    justify-content: center !important;
    height: inherit !important;
    margin-bottom: 0px;
    }

    .responsive #top #header #header_main .inner-container .main_menu .avia-menu {
    max-width: 1340px;
    }

    .responsive #top #header #header_main .inner-container .logo {
    margin-left: calc(50% – 570px);
    }

    .responsive #top #header #header_main .inner-container .widget:nth-child(5) {
    margin-right: calc(50% – 640px);
    }
    }

    In general it works but 2 things are not yet as targeted:
    – The header area (logo + widgets) on the right side are taking the full width of the screen (while on left they nicely start within the container)
    – The menu items are centralized while the 1st item should start simply left within the container of 1380px.

    I’ll paste the URL in the private content.

    Thanks and regards,
    S

    #1485217

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .av_minimal_header .avia-menu-fx {
        display: block;
        top: 155%;
        width: calc(100% - 26px);
        left: 13px;
    }

    Screen Shot 2025 06 08 at 6.44.04 AM

    Best regards,
    Mike

    #1485211

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1485208

    maybe you had to synchronize it with the border-top-width color and width. #top .av-main-nav > li > ul
    and mega-div – because if there are sub-level dropdown menues – they will have a border too.

    #1485207

    on default there are allready these lines : https://kriesi.at/themes/enfold/portfolio/

    maybe you set it to display: none ? search for selector .avia-menu-fx

    you then can influence by – f.e.:

    #top .header_color .avia-menu-fx {
      height: 4px
    }
    
    #top .header_color.av_header_transparency .menu-item a:hover .avia-menu-fx {
      background: red
    }
    
    #top .header_color:not(.av_header_transparency) .avia-menu-fx {
      background: green
    }
Viewing 30 results - 1,441 through 1,470 (of 142,939 total)