Forum Replies Created

Viewing 30 posts - 1 through 30 (of 291 total)
  • Author
    Posts
  • That did the trick, thank you for the quick turnaround!

    Updated Enfold to 5.7, still generating errors.

    in reply to: loop back to first post in category #1429821

    @Guenni007 thank you! And here I was looking to add more code to the functions.php ¯\_(ツ)_/¯
    Thanks again!

    in reply to: Error in Avia Shortcode Parser #1413616

    That looks 5.6.4 like it fixed that issue, thanks!

    The only error I still see in the error logs is:
    [18-Jul-2023 14:20:09 UTC] PHP Warning: Undefined array key "term_rel" in /chroot/home/USER/DOMAIN/html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/blog/blog.php on line 562

    That line of code is:

    			if( $atts['term_rel'] != 'AND' )
    			{
    				$atts['term_rel'] = 'IN';
    			}

    Which looks like it’s missing a isset( $atts['term_rel'] ) and then it should be good to go. Thanks for taking care of that other issue though!

    in reply to: Error in Avia Shortcode Parser #1413152

    Just following up, any update on this?

    in reply to: Error in Avia Shortcode Parser #1412193

    Mike,

    So i dug further and it’s not a matter of even using it in the content anywhere. Just by virtue of having the plugin (GravityView) installed is causing this error.

    “I don’t see that we can correct this plugin in the theme.” – It’s not a matter of fixing the plugin, it’s about fixing how the theme handles shortcodes from other developers. Enfold’s “balance shortcode” feature is what is throwing the errors. Somehow, however Enfold grabs the available shortcodes it’s trying to balance, it grabs that as one of the available shortcodes. It tries to create a regex from it and fails.

    In class-shortcode-parser.php in balance_shortcode() this is the $shortcodes variable it’s trying to process and dying on. With that you should be able to patch the theme so it handles anomalies like this properly.

    Array
    (
        [0] => wp_caption
        [1] => caption
        [2] => gallery
        [3] => playlist
        [4] => audio
        [5] => video
        [6] => embed
        [7] => expand
        [8] => colomat
        [9] => expandsub1
        [10] => expandsub2
        [11] => expandsub3
        [12] => expandsub4
        [13] => expandsub5
        [14] => expandsub6
        [15] => expandsub7
        [16] => expandsub8
        [17] => expandsub9
        [18] => expandsub10
        [19] => expandsub11
        [20] => expandsub12
        [21] => expandsub13
        [22] => expandsub14
        [23] => expandsub15
        [24] => expandsub16
        [25] => expandsub17
        [26] => expandsub18
        [27] => expandsub19
        [28] => expandsub20
        [29] => expandsub21
        [30] => expandsub22
        [31] => expandsub23
        [32] => expandsub24
        [33] => expandsub25
        [34] => expandsub26
        [35] => expandsub27
        [36] => expandsub28
        [37] => expandsub29
        [38] => gv_note_add
        [39] => gv_entry_link
        [40] => gv_edit_entry_link
        [41] => gv_delete_entry_link
        [42] => year
        [43] => av_privacy_allow_cookies
        [44] => av_privacy_accept_essential_cookies
        [45] => av_privacy_google_tracking
        [46] => av_privacy_google_webfonts
        [47] => av_privacy_google_maps
        [48] => av_privacy_video_embeds
        [49] => av_privacy_google_recaptcha
        [50] => av_privacy_custom_cookie
        [51] => av_privacy_accept_button
        [52] => av_privacy_accept_all_button
        [53] => av_privacy_do_not_accept_button
        [54] => av_privacy_modal_popup_button
        [55] => av_privacy_link
        [56] => av_privacy_cookie_info
        [57] => av_sb_instagram_feed
        [58] => av_leaflet_map
        [59] => av_productgrid
        [60] => av_productlist
        [61] => av_product_button
        [62] => av_product_info
        [63] => av_product_review
        [64] => av_product_tabs
        [65] => av_product_upsells
        [66] => avia_sc_product_meta
        [67] => av_product_price
        [68] => av_productslider
        [69] => gravityform
        [70] => gravityforms
        [71] => wpseo_breadcrumb
        [72] => gravityview
        [73] => gventry
        [74] => gvfield
        [75] => gvlogic
        [76] => gvlogic2
        [77] => gvlogic3
        [78] => gvlogicelse
        [79] => tribe:event-details
        [80] => boxzilla_link
        [81] => av_player
        [82] => av_playlist_element
        [83] => av_blog
        [84] => av_buttonrow
        [85] => av_buttonrow_item
        [86] => av_button
        [87] => av_button_big
        [88] => av_catalogue
        [89] => av_catalogue_item
        [90] => av_chart
        [91] => av_chart_dataset
        [92] => av_codeblock
        [93] => av_one_full
        [94] => av_one_half
        [95] => av_one_third
        [96] => av_two_third
        [97] => av_one_fourth
        [98] => av_three_fourth
        [99] => av_one_fifth
        [100] => av_two_fifth
        [101] => av_three_fifth
        [102] => av_four_fifth
        [103] => av_comments_list
        [104] => av_contact
        [105] => av_contact_field
        [106] => av_content_slider
        [107] => av_content_slide
        [108] => av_countdown
        [109] => av_events_countdown
        [110] => av_upcoming_events
        [111] => av_gallery
        [112] => av_horizontal_gallery
        [113] => av_google_map
        [114] => av_gmap_location
        [115] => av_layout_row
        [116] => av_cell_one_full
        [117] => av_cell_one_half
        [118] => av_cell_one_third
        [119] => av_cell_two_third
        [120] => av_cell_one_fourth
        [121] => av_cell_three_fourth
        [122] => av_cell_one_fifth
        [123] => av_cell_two_fifth
        [124] => av_cell_three_fifth
        [125] => av_cell_four_fifth
        [126] => av_heading
        [127] => av_headline_rotator
        [128] => av_rotator_item
        [129] => av_hr
        [130] => av_font_icon
        [131] => av_icon_circles
        [132] => av_icon_circle_item
        [133] => av_icon_box
        [134] => av_icongrid
        [135] => av_icongrid_item
        [136] => av_iconlist
        [137] => av_iconlist_item
        [138] => av_image
        [139] => av_image_diff
        [140] => av_image_hotspot
        [141] => av_image_spot
        [142] => av_partner
        [143] => av_partner_logo
        [144] => av_lottie
        [145] => av_magazine
        [146] => av_mailchimp
        [147] => av_mailchimp_field
        [148] => av_masonry_entries
        [149] => av_masonry_gallery
        [150] => av_submenu
        [151] => av_submenu_item
        [152] => av_notification
        [153] => av_animated_numbers
        [154] => av_portfolio
        [155] => av_post_metadata
        [156] => av_metadata_item
        [157] => av_postcontent
        [158] => av_postslider
        [159] => av_progress
        [160] => av_progress_bar
        [161] => av_promobox
        [162] => avia_sc_search
        [163] => av_section
        [164] => av_slideshow
        [165] => av_slide
        [166] => av_slideshow_accordion
        [167] => av_slide_accordion
        [168] => av_feature_image_slider
        [169] => av_fullscreen
        [170] => av_fullscreen_slide
        [171] => av_slideshow_full
        [172] => av_slide_full
        [173] => av_social_share
        [174] => av_tab_section
        [175] => av_tab_sub_section
        [176] => av_table
        [177] => av_row
        [178] => av_cell
        [179] => av_tab_container
        [180] => av_tab
        [181] => av_team_member
        [182] => av_team_icon
        [183] => av_testimonials
        [184] => av_testimonial_single
        [185] => av_textblock
        [186] => av_timeline
        [187] => av_timeline_item
        [188] => av_toggle_container
        [189] => av_toggle
        [190] => av_video
        [191] => av_sidebar
        [192] => av_dropcap1
        [193] => av_dropcap2
        [194] => gravityview_widget_search
        [195] => gravityview_widget_custom_content
        [196] => gravityview_widget_gravity_forms
        [197] => gv\widgets\page_size
        [198] => gravityview_widget_pagination_info
        [199] => gravityview_widget_page_links
    )
    in reply to: working solution for different logo on scroll #1409630

    Thanks Mike, the logo script from @GUENNI007 was a great starting point, it’s now site-wide and was simplified to:

    function an_alternative_logo( $sub ) {
    	$sub .= '<img class="alternative-logo" src="/wp-content/uploads/2023/05/blah.svg" />';
    	return $sub;
    }
    add_filter( 'avf_logo_subtext', 'an_alternative_logo' );

    We’re using the following CSS…

    /* swap logo */
    #top img.alternative-logo {
        display: none;
    }
    
    @media only screen and (min-width:767.1px) {
        #top .header-scrolled .avia-svg-logo > a > svg {
            opacity: 0;
            height: 0;
            overflow: hidden;
            transition: opacity 0.5s ease;
        }
    
        #top img.alternative-logo {
            display: block;
            opacity: 0;
            height: 0 !important;
            overflow: hidden;
            transition: opacity 0.5s ease;
        }
    
        #top .header-scrolled img.alternative-logo {
            width: 100%;
            height: 39px !important;
            opacity: 1;
        }
    
        #top .header-scrolled .avia-img-svg-logo-sub {
            height: 100%;
            display: flex;
            align-items: center;
        }
    }

    Hope this helps someone else looking for similar functionality.

    • This reply was modified 11 months, 2 weeks ago by lzevon.
    in reply to: working solution for different logo on scroll #1409440

    Supposed to rain here all weekend and I’ll give this a shot and try to get it working on all pages. Thanks!

    in reply to: working solution for different logo on scroll #1409432

    https://webers-web.info/impressum/ is exactly what I’m after. I can only click that link in your reply, not sure if the others are supposed to link?

    in reply to: working solution for different logo on scroll #1409424

    SVG

    in reply to: working solution for different logo on scroll #1409421

    Curious if Enfold support has seen the private data and had any suggestions?

    in reply to: working solution for different logo on scroll #1409197

    @Guenni007, that is what I want. I would like to know how to put this in place though without the transparent header. I don’t want sliders all the way on top on my pages if I can help it. I did set the logo I want users to see when scrolling as the transparency logo, but just so I can show which logo I am looking to use in that case. I’ll out everything in the private content space now…

    in reply to: working solution for different logo on scroll #1409069

    Your solution did show the logo ‘during’ the scroll, but when I stoped scrolling – even though the header was shrunk and scrolled to the lower part of the page I was on – the original logo shows again and the logo I want to show in a shrunk/scrolled header is no longer visible.

    Can you see hidden content in this ticket?

    Thanks!

    in reply to: working solution for different logo on scroll #1409054

    Thank you @Guenni007 – as mentioned, I am hoping to show a completely different logo when the sticky/shrinking header is being used. I did put your solution in place to test an on scrolling it is showing the alternate logo, but once I stop scrolling the initial logo (the one I want to replace when the sticky/shrinking header is enabled) shows again.

    When I use the sticky and/or shrinking header and start to scroll down the page, I want to display a completely different logo.

    in reply to: scrolling header svg logo issue #1404036

    Thank you!

    in reply to: grid row and columns – 2 per line on mobile #1402656

    Thank you!

    in reply to: Large space below fullscreen slider #1377253

    Thanks Mike. that worked! Happy Holidays and you can close this ticket.

    in reply to: correct aspect ratio for fullwidth easy slider #1367140

    I provided the link in the private window, but @Guenni007 you are a wealth of knowledge and I was surprised to see you’re a Participant and not a Moderator. I believe I figured out the issue. I had a larger logo area set to 130px to accommodate a sqaure-ish logo and when I reduced it down to 110px it resolved the issue with the slider image being cut-off ¯\_(ツ)_/¯

    in reply to: correct aspect ratio for fullwidth easy slider #1366927

    Thanks @Guenni007 and @Ismael. As I mentioned in my original post I did try setting No Scaling, see where I wrote “I also currently have it set to no scaling and yes, stretch the image. I’ve tried setting minimum slider height as well to no avail.”

    I have built many sites using the theme and Fullwidth Easy Slider, but these slides are taller than most and have content close to the edges and so I notice the cropping a lot more. I wasn’t sure if there were standard aspect rations X:X vs fixed image sizes to maintain the image’s aspect ratio. For example 3:1 for 1920×640 would seemingly display the whole image on a desktop viewport and then the theme would scale the slider for other viewports such as (only referencing width) 1680, 1440, etc.

    I have a separate slider for tablet/phone and am playing around with the images to try to get the desired result.

    in reply to: Redis Object Cache best practices #1345921

    Günter,

    Understood, that’s the way forward then. Thanks for confirming.

    in reply to: Redis Object Cache best practices #1345756

    Günter,

    Ok, so if we are not using file compression then the official recommendation is to just disable the CSS file generation. That accurate?
    When I disable that feature it DOES resolve my issue, just wanted to make sure there was no negative impact. Thanks!

    in reply to: Redis Object Cache best practices #1345595

    Günter,

    We ran into the error about an hour ago. Per your instruction I’ve disabled the CSS generation in the functions.php. Please let me know what kind of impact I should expect with this feature disabled.

    in reply to: Redis Object Cache best practices #1345587

    Günter,

    Thanks for replying, to answer your questions:

    – “…if you use file compression” – We do not have that feature enabled on sites we use Enfold on. It is currently set to “Disable – no CSS file merging and compression” for both CSS and JS.
    – “Enable option “Delete old CSS and JS files?”” – Done
    – “Load frontpages several times to check…” – Did not see any extra files being generated in this after reloading the homepage a few times.
    – “Try again these steps several times to verify.” – I’ll give it a shot, it’s not easily reproducible as it’s a de-sync between the cache (when it expires) and the database. So it may be a little bit to verify if this helps.
    – “… you have to disable creation of these files…” – I didn’t get an answer on the type of performance impact this would cause on the site. What kind of impact should I expect in disabling this feature?

    I also have another question regarding “Delete old CSS and JS files” option. This is the description:
    “Check if you want to delete expired CSS and JS files generated by the theme. Only recommended if you are NOT using a caching plugin (since a cached page might still use those files)”
    It says this is only recommended if we’re not using a caching plugin, but we are using an object cache. Will that cause issues?

    in reply to: Hiding tooltip also hides lightbox text (under image) #1345585

    Thank you @Guenni007, that works!

    in reply to: logo overlaps hamburger only on iPhone #1328237

    Yes, you can close it and thank you again

    in reply to: logo overlaps hamburger only on iPhone #1327960

    Thanks Rikard! I also appreciate the link which seems to be a great resource. I’m all set now.

    in reply to: logo overlaps hamburger only on iPhone #1327806

    Apple iPhone 11 Pro, which has a 5.8-inch display and a resolution of 2436 x 1125 at 458 ppi. Wasn’t sure if there were any others seeing this. I just tried adding some max-width responsive CSS to see if that helps.

    in reply to: Unwanted border below menu and before fullwidth slider #1325927

    All set, feel free to close :)

    in reply to: Unwanted border below menu and before fullwidth slider #1325754

    Thanks Nikko, all set! I didn’t try setting the negative value to -2 but swear I think I tried -1 and did set the border to none in every conceivable way ¯\_(ツ)_/¯

    OK, thanks Mike! For my customer to take the ball with this one I will need to show them how to build (actually edit a template) with the ALB and then move it back to default layout.

    Much appreciated!

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