Forum Replies Created

Viewing 30 posts - 1 through 30 (of 517 total)
  • Author
    Posts
  • in reply to: accessibility review shows multiple main landmarks #1495202

    Ahh, apparently the issue is I’ve been viewing the page source, as opposed to checking in the inspector — the page source still shows the 2nd main, but the inspector shows the change to div. Lmk if I’m wrong about that — otherwise I think I’m set on this one and you can close the thread, thank you!

    in reply to: portfolio sort menu accessibility #1495147

    Thanks again, I worked with Claude to get this script I could drop in the child theme functions file, so I don’t have to copy any of the files to the child theme — lmk if you think it’s a problem. With the script and css below I got everything looking and working as it was, but now with “buttons”. After all that work, I’m wondering (and should’ve asked earlier): Do you even agree the sorting items as links were an accessibility issue? If it all looks good to you, feel free to close this thread.

    /* JavaScript to convert sorting links to buttons */
    add_action('wp_footer', 'child_masonry_links_to_buttons', 999);
    function child_masonry_links_to_buttons() {
        ?>
        <script>
        jQuery(document).ready(function($) {
            // Convert all masonry sort links to buttons
            $('.av-masonry-sort a[data-filter]').each(function() {
                var $link = $(this);
                var $button = $('<button type="button"></button>')
                    .attr('data-filter', $link.data('filter'))
                    .attr('class', $link.attr('class'))
                    .html($link.html());
                
                $link.replaceWith($button);
            });
            
            // Re-bind click events to buttons
            $('.av-masonry-sort').off('click', 'a').on('click', 'button', function() {
                var current = $(this),
                    linktext = current.html(),
                    selector = current.data('filter'),
                    masonry = current.parents('.av-masonry').eq(0),
                    container = masonry.find('.av-masonry-container').eq(0),
                    links = masonry.find('.av-masonry-sort button'),
                    activeCat = masonry.find('.av-current-sort-title');
    
                links.removeClass('active_sort');
                current.addClass('active_sort');
                container.attr('id', 'masonry_id_' + selector);
    
                if(activeCat.length) {
                    activeCat.html(linktext);
                }
    
                // Trigger isotope filtering
                var filters = selector ? {filter: '.'+selector} : {};
                filters['layoutMode'] = 'packery';
                filters['packery'] = {gutter:0};
                filters['percentPosition'] = true;
                filters['itemSelector'] = "a.isotope-item, div.isotope-item";
                filters['originLeft'] = $('body').hasClass('rtl') ? false : true;
    
                container.isotope(filters);
                
                setTimeout(function() { $(window).trigger('debouncedresize'); }, 500);
                return false;
            });
        });
        </script>
        <?php
    }
    /* sorting menu styling accessible buttons */
    .main_color .av-sort-by-term button {
        border: none;
        color: #fff;
        background: #0076a8;
        padding: 6px 15px 8px;
        text-transform: capitalize;
        font-size: 15px;
    	margin: 3px 3px 0 0;
      	font-family: 'sarabun',Helvetica,Arial,sans-serif;
    }
    .main_color .av-sort-by-term button:hover {
        background: #b6bd00;
    	transition: .25s;
    }
    .main_color .av-sort-by-term button.active_sort {
        color: #fff;
    	background: #b6bd00;
    }
    in reply to: portfolio sort menu accessibility #1494904

    Thanks, Ismael — do you have a recommendation re which method/strategy to use? I guess the child theme method is easier (not having to check/re-apply the customization every time the theme’s updated), but checking/re-applying the customization each time ensures other updates/improvements to the code in those files are incorporated — does that sound right / are those the key tradeoffs?

    in reply to: blank screen when editing buttons and other elements #1494903

    Well, now the client deleted the dev site, so, you’re off the hook on this one ;). Thanks, anyway. Feel free to close this thread.

    in reply to: blank screen when editing buttons and other elements #1494775

    Checking back again on this — please advise :)

    in reply to: portfolio sort menu accessibility #1494534

    Thanks again, Ismael — I found that on line 32 and another, similar line on 213, but changing those didn’t seem to work. Then I found on('click', 'a', methods.masonry_filter) on line 279 — I changed that a to button and that seemed to complete the fix. Now I just have to style the buttons. And again, I’ll have to reinstate these changes if these files are updated in future theme updates, right?

    in reply to: portfolio sort menu accessibility #1494455

    Thanks as always, Ismael — Claude gave me the following to change the code you referred to:

    $sort_loop .= 	"<span class='text-sep {$term->slug}_sort_sep {$show_item}'>/</span>";
    $sort_loop .= 	'<button type="button" data-filter="' . $term->slug . '_sort" class="'.$term->slug.'_sort_button ' . $show_item . '" >';
    $sort_loop .=		'<span class="inner_sort_button">';
    $sort_loop .=			'<span>' . esc_html( trim( $term->name ) ) . '</span>';
    $sort_loop .=			"<small class='avia-term-count'> " . $term_count[ $term->term_id ] . ' </small>';
    $sort_loop .=		'</span>';
    $sort_loop .= 	'</button>';
    				}
    				$allowed_terms = json_encode( $allowed_terms );
    $output .=	"<div class='av-sort-by-term {$hide} ' data-av-allowed-sort='{$allowed_terms}' >";
    $output .=		'<button type="button" data-filter="all_sort" class="all_sort_button active_sort">' . $first_item_html . '</button>';
    $output .=		$sort_loop;
    $output .=	'</div>';

    That seems to have changed the links to buttons, but it broke the sorting functionality (see https://abodedev.wpengine.com/communities/). Claude says “The issue is that the JavaScript handling the masonry sorting is still looking for tags. You need to find and update the JavaScript file that handles the masonry sorting functionality.” Does this all make sense to you and if so can you point me to the other file code I need to change? Thanks again so much!

    in reply to: enfold icon circles element accessibility #1494202

    OK, thanks again, Ismael! Feel free to close this thread.

    in reply to: enfold icon circles element accessibility #1494146

    Nice — thank you so much! This seemed to work for me: to just duplicate the event listener for mouseenter, change mouseenter to click, and comment out the event listener for mouseleave (see below). Do I have to minify the file and overwrite icon_circles.min.js? And do I have to re-implement this every time I update the theme, or is there a way to handle it through the child theme?

    				logos.on( 'mouseenter', function()
    				{
    					logos.removeClass('active');
    					logoText.removeClass('active');
    
    					var logo = $(this).addClass('active');
    					logo.next().addClass('active');
    					container.addClass('active-container');
    				});
                    
                    logos.on( 'click', function()
    				{
    					logos.removeClass('active');
    					logoText.removeClass('active');
    
    					var logo = $(this).addClass('active');
    					logo.next().addClass('active');
    					container.addClass('active-container');
    				});
    
    /*				container.on( 'mouseleave', function()
    				{
    					logos.removeClass('active');
    					logoText.removeClass('active');
    					container.removeClass('active-container');
    				});*/
    in reply to: accessibility review shows multiple main landmarks #1494137

    Ah, sorry — I see what you’re seeing when I use the inspector, but for some reason — no matter how much I clear the cache, use different browsers, private windows, etc. — if I view the page source I still see that 2nd “main” (https://snipboard.io/ZYdU26.jpg) — is it just that the page source somehow sticks in the cache in a way I don’t understand / know how to clear?

    in reply to: add description to video elements for accessibility #1494116

    Thanks again, Guenni! I’m not sure this is the right solution for us — I’m going to talk with the accessibility consultants about our options — but I appreciate your thoroughness, as always, and will keep this in my back pocket!

    in reply to: enfold icon circles element accessibility #1494115

    Got it — any other ideas for how to get this element to meet accessibility guidelines?

    in reply to: accessibility review shows multiple main landmarks #1494114

    Thanks so much, Ismael, but this doesn’t seem to be working for me as-is — I dropped it in at the top of the functions.php for the child theme (https://snipboard.io/G9XSTj.jpg), but I’m still seeing two “main” landmarks (one for the footer-page) on https://abodedev.wpengine.com/about/story/ for example. Any idea what I might be doing wrong?

    in reply to: enfold icon circles element accessibility #1494076

    Thanks so much, Ismael — that seems helpful to at least get them to show the focus / get them in the tab index — I guess it’d be pretty tricky to get the content to show on-click, eh?

    in reply to: add description to video elements for accessibility #1494023

    Thanks, Ismael, and thanks, Guenni — but Guenni, doesn’t that description only come available to the user if they click through to watch the video on YouTube or Vimeo? If they’re just watching the embedded video on your/our site, they don’t get that description, right?

    in reply to: blank screen when editing buttons and other elements #1493999

    Hey Ismael, just checking back in to make sure someone’s still working on this.

    in reply to: blank screen when editing buttons and other elements #1493606

    Thanks so much, Ismael — glad you’re on the trail. No need to keep the modification on the dev site — I’ve downloaded that file so I can post it to the live site, if I want to implement that temporary fix for the client. Thanks again and Happy New Year!

    in reply to: blank screen when editing buttons and other elements #1493555

    Thanks, Ismael — the site is actually live with this issue at https://crcamerica.org/ — it’s a site that’s been managed by the client for many years and they just reached out to me with this issue. So, no need to move it to continue building — they just want to be able to edit the affected elements on the live site. Happy Holidays to you and the crew, too — lmk if you have other questions!

    in reply to: blank screen when editing buttons and other elements #1492673

    Sorry, I think wpengine support may have deactivated the temp login plugin when they were troubleshooting. It should be working now, but here’s an actual user just in case. They also said the max on the hosting is 512, so even if you up it to 1024 it limits it to 512. But I run a bunch of Enfold sites with them and never had a memory issue like this — we shouldn’t have to up it that high, right? Maybe you’re just trying to do that temporarily to troubleshoot? Regardless, it doesn’t sound like they can do that for us, but I can double-check if you want; lmk. Thanks again for sticking with this!

    in reply to: blank screen when editing buttons and other elements #1492665

    Thanks again, Ismael! Interesting — the temp login isn’t expired, but here’s another one in the PC, also good for a week. I spoke with wp engine support and they troubleshot for about a half hour but couldn’t solve it. They showed me how to look in the inspector > Network > trigger the error > click on the first admin-ajax.php > Response and note how there’s just a “1” (https://snipboard.io/RJ7US6.jpg) as opposed to the html that should show there — they suggested I pass that info on to you in hopes it might provide a clue. I also added another environment in the same account, to test a clean install of Enfold there, and there doesn’t seem to be an issue with that install; no errors on buttons, etc. / functioning normally, if that offers any clue / potential solution. Lmk if you have any other questions.

    in reply to: blank screen when editing buttons and other elements #1492641

    Thanks, Ismael — sure thing, details in the PC below — and lmk if you need me to reach out to wpengine support.

    in reply to: blank screen when editing buttons and other elements #1492638

    Ah, ok, here’s the real deal: https://snipboard.io/nyo9vp.jpg
    And I had to move the dev site to a new url: https://devcrc.wpenginepowered.com/
    And there’s a new temp login in the private content.
    Thanks again!

    in reply to: blank screen when editing buttons and other elements #1492575

    Thanks, Rikard, but I increased the memory to wp engine’s max of 512MB, ran another test, and the issue seems to persist. The only things I see in the log since doing that are what look like my two times clearing the wp engine cache (once after increasing the memory to 256 and once after bumping it up to 512 — see below or https://crcamericadev.wpenginepowered.com/wp-content/uploads/crcamericadev-logs-2025-12-16T19_28_03.csv). Any other ideas? I’m including the temp login again in the Private Content field, in case you want to poke around. Thanks again!

    {
    “installName”: “crcamericadev”,
    “environment”: “DEV”,
    “type”: “error”,
    “date”: “2025-12-16T19:24:37.000Z”,
    “severity”: “notice”,
    “client”: “24.24.164.87:0”,
    “message”: “wpe_cache_plugin:info: event=clear-all-cache, referer: https://crcamericadev.wpenginepowered.com/wp-admin/edit.php?post_type=page&#8221;,
    “uuid”: “8b6d00fd-38e3-44d3-903b-9166dbc7f21a”
    }

    {
    “installName”: “crcamericadev”,
    “environment”: “DEV”,
    “type”: “error”,
    “date”: “2025-12-16T19:17:43.000Z”,
    “severity”: “notice”,
    “client”: “24.24.164.87:0”,
    “message”: “wpe_cache_plugin:info: event=clear-all-cache, referer: https://crcamericadev.wpenginepowered.com/wp-admin/media-new.php&#8221;,
    “uuid”: “a746b3bf-7e06-48bd-994c-ce6d04e249d2”
    }

    in reply to: blank screen when editing buttons and other elements #1492556

    Thanks, Ismael! It looks like wpengine has an error log in the user portal — I copy/pasted the JSONs for what looked like the most recent three errors below — does that give you the info you need? Here’s the full log, too, if it helps: https://crcamericadev.wpenginepowered.com/wp-content/uploads/crcamericadev-logs-2025-12-16T08_23_26.csv

    {
    “installName”: “crcamericadev”,
    “environment”: “DEV”,
    “type”: “error”,
    “date”: “2025-12-16T07:00:46.000Z”,
    “severity”: “notice”,
    “client”: “49.149.68.94:0”,
    “message”: “auditor:event=profile_update {\”user_id\”:8,\”blog_id\”:1,\”event\”:\”profile_update\”,\”current_user_id\”:8,\”remote_addr\”:\”49.149.68.94\”}, referer: https://crcamericadev.wpenginepowered.com/wp-admin/post.php?post=40933&action=edit&#8221;,
    “uuid”: “363ffd3e-4ddf-4663-99f2-2087ff23cfb1”
    }

    {
    “installName”: “crcamericadev”,
    “environment”: “DEV”,
    “type”: “error”,
    “date”: “2025-12-16T07:00:44.000Z”,
    “severity”: “notice”,
    “client”: “49.149.68.94:0”,
    “message”: “auditor:event=profile_update {\”user_id\”:8,\”blog_id\”:1,\”event\”:\”profile_update\”,\”current_user_id\”:8,\”remote_addr\”:\”49.149.68.94\”}, referer: https://crcamericadev.wpenginepowered.com/wp-admin/post.php?post=40933&action=edit&#8221;,
    “uuid”: “b926ecae-71e8-4fb4-a782-11c298d2ca0d”
    }

    {
    “installName”: “crcamericadev”,
    “environment”: “DEV”,
    “type”: “error”,
    “date”: “2025-12-16T07:00:13.000Z”,
    “severity”: “notice”,
    “client”: “49.149.68.94:0”,
    “message”: “auditor:event=wp_login {\”user_id\”:8,\”blog_id\”:1,\”event\”:\”wp_login\”,\”current_user_id\”:8,\”remote_addr\”:\”49.149.68.94\”}, referer: https://kriesi.at/&#8221;,
    “uuid”: “2748a21e-c9f6-4b3d-a12c-ee78ab39909f”
    }

    in reply to: events calendar add to calendar dropdown getting cut off #1489838

    min-height! why didn’t I think of that?! ;).

    Thanks again, Ismael — that worked for desktop but not the phone, for some reason — removing the first class seemed to make it work for both, and I only needed about half the height:

    .tribe-events-c-subscribe-dropdown {
       min-height: 175px;
    }

    Thanks again, as always!

    Oops, duh!! Sorry, thanks! (love an easy fix! ;)

    in reply to: google maps api restrictions #1487529

    Hmm, just when I thought I finally had that stuff wired ;). OK, thanks anyway! Feel free to close the ticket.

    in reply to: google maps api restrictions #1487510

    Ahh, thanks, Rikard — sorry, I had reviewed the setup section of that documentation, but I missed the troubleshooting section. I had tried enabling the Geocoding API, yesterday, and, while everything else seemed to be taking effect immediately yesterday, that didn’t seem to work. But today, prompted by reading the troubleshooting section, I tried enabling the Geocoding API again, and it immediately worked — with that on, the site connects to the API key; with Geocoding disabled, it does not. Any idea why this site seems to require that, while none of the other 5 Enfold sites seems to require it to connect to the key?

    Awesome — sorry to pick faves, but you’re the best, Ismael ;)

    OK, thanks, Mike — will do re the feature request.

Viewing 30 posts - 1 through 30 (of 517 total)