Forum Replies Created

Viewing 30 posts - 421 through 450 (of 3,742 total)
  • Author
    Posts
  • in reply to: Sidebars not working after update to 4.9.2 #1346010

    Hi guys,

    Enfold 4.9.2.1 was released shortly. This should fix the problem.

    Best regards,
    Günter

    in reply to: Sidebars disappear on 4.9.2 #1346009

    Hey Stefano,

    Sorry for the problems.

    Please update to 4.9.2.1 (released shortly). This should fix the problem.

    Best regards,
    Günter

    in reply to: Sidebars not working after update to 4.9.2 #1345984

    Hey aledef,

    We are very sorry for the problems.

    Thanks a lot for the credentials.

    I could locate the problem. It was caused by adding translateable strings for the sidebar names which broke activating them in frontend.
    I reverted this back on your test site.

    I added the fix to core and we will make a hotfix in the next days.

    The file changed is enfold\includes\admin\register-widget-area.php

    You also find the modified version here:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_9_2/includes/register-widget-area.php

    Best regards,
    Günter

    in reply to: Responsive Typography (Feature Request) #1345912

    Hi,

    No problem.

    Whenever you can reproduce it let me know.
    Have a great day.

    Best regards,
    Günter

    in reply to: Redis Object Cache best practices #1345886

    Hi,

    if disable the CSS files (= post specific css files) solves your problem you can do that and should be safe.

    Just to give you some background:

    post specific css files are created on pageload once and exist until the page/post is updated, theme options are updated or a theme version update takes place and are specific for this page/post. They are independent from the merge css or js files option settings and are located in …/uploads/avia_posts_css folder.

    Merged css or js files are “static” core files that are needed for every page and only change on theme version update and are located in …/uploads/dynamic_avia.

    Hope this helps you for a better understanding.

    Best regards,
    Günter

    in reply to: Responsive Typography (Feature Request) #1345884

    Hi Tim,

    I checked it with “Content Font” and “H1” in a post content.

    It works fine for me also in merged css.

    Can it be you are using some custom css or some responsive styling in the element ?

    Can we have a link to a page where we can see it ?

    Best regards,
    Günter

    in reply to: Redis Object Cache best practices #1345643

    Hi,

    Sorry for the confusion.
    As you do not use js and css file compression (I thought you díd) than “Delete old CSS and JS files?” is not used.
    Please ignore everything.

    disable the CSS file generation:

    There should be no impact at all.

    The styles for ALB elements that are written to the css files for each page/post are instead added right before the element in style tags in HTML DOM of the page/post.

    Best regards,
    Günter

    in reply to: Redis Object Cache best practices #1345558

    Hey lzevon,

    To be honest I’ve not been working with a server that supports Redis.

    But if you use file compression (merged css and/or js files via theme option) you must set

    – Fix WP bug, add unique timestamps
    – Fix WP bug, disable unique timestamps

    Please check out what works for your install.

    – Enable option “Delete old CSS and JS files?” on bottom of the Performance tab. Toggle theme options to force a rebuild of the merged files and check
    inside WP upload folder ../uploads/dynamic_avia.

    – Load frontpages several times to check, that the files do not get generated on each page load. The content of the folder must not increase except the latest merged js and css files.

    – Try again these steps several times to verify.

    If you still encounter problems with the post css file and the setting above you have to disable creation of these files as mentioned above in function.php. In this case the content of the post css file is placed in inline style tags right before the element.

    Best regards,
    Günter

    in reply to: Please contribute and translate Enfold #1345208

    Hi Roger,


    @EZWebdesign

    Thanks a lot. Merged into core.
    Have a great weekend.

    Best regards,
    Günter

    Hi,

    please save theme options to force a recreation of the post css files to reflect the changes

    No, you only need to update the php file.
    Then go to theme options page, make a change and revert again so the “Save Theme Options” button is active and save theme options.
    This deletes all the post css files and forces a recreation on page load. This is necessary because the wrong padding setting is in the post css file for the page.

    Hope I could clearify what I meant.

    BTW: Next release 4.9.1 is planned in the next days.

    Best regards,
    Günter

    Hi,

    Sorry for the problems.

    I could locate it in a “bug” with the option “Items Padding” set to 0.

    4.9 interpretes it correctly as padding: 0 whereas version prior ignore it and use theme default padding.

    I added a backwards fix to your staging site:

    file config-templatebuilder\avia-shortcodes\icongrid\icongrid.php line 1546 I replaced:

    
    if( trim( $atts['icongrid_padding'] ) != '' )
    
    
    //	this is a bug from older versions < 4.8.8 where 0 was interpreted as not set
    if( ! empty( $atts['icongrid_padding'] ) )
    

    The fix will be in next release.
    In case you update your life site before please save theme options to force a recreation of the post css files to reflect the changes.

    right menu (widget area) is well defined in backend:

    The widget area is empty on the staging site.

    Best regards,
    Günter

    in reply to: Manual Masonry Call in Enfold 4.9 #1344771

    Hey!

    Please check enfold\config-templatebuilder\avia-template-builder\php\class-template-builder.php

    around line 686 you have the function autoloadLibraries()

    and inside filter avf_load_single_shortcode_file.

    There you can hook to load your customized file instead the original one.

    A few lines above you have filter avf_load_single_builder_core_file where you can load modified customized core files.

    Regards,
    Günter

    in reply to: Please contribute and translate Enfold #1344528

    Hi @comkapi,

    Thanks a lot for sharing. Will be added for next release.
    Have a great day.

    Best regards,
    Günter

    in reply to: Full size image in lightbox #1343459

    Hi,


    @Guenni007

    Syntax error:

    
    if($context = "avia_slideshow") {
    

    should be

    
    if($context == "avia_slideshow") {
    

    That is why it is recommended to write:

    
    if( 'avia_slideshow' == $context ) {
    

    which would throw a syntax error if you use ‘=’ by mistake.

    Best regards,
    Günter

    in reply to: Custom enfold element tiny_mce #1342706

    Hey Patrick,

    Thank you for using Enfold.

    Using multiple tinyMCE in one popup is not supported by Enfold (out of the box). Enfold always binds the logic to ‘content’ of shortcode.

    It is rather tricky to implement multiple tinyMCE- and I’m not even sure that it is possible without heavy changes to Enfold core.
    I implemented a solution in another project – but this is not based on ALB elements.

    Best regards,
    Günter

    in reply to: Please contribute and translate Enfold #1341977

    Hi Luigi,


    @BigBatT

    Thank you very much for sharing your work.

    We do not remove any metadata – the only thing I can think of is that when I sync the language files with LOCO translate this plugin alters the metadata.
    To be honest I did not dig into the plugin how to avoid this – or how to change any of these data. I only click sync button and save the updated files.

    Best regards,
    Günter

    in reply to: Enfold & font:display #1340882

    Hi,

    Have a great day. I will close this topic for now.

    Best regards,
    Günter

    in reply to: What about the filter: avf_load_single_shortcode_file #1340689

    Hey Guenter,

    The main idea of this filter is

    • to supress loading of shortcode files that are not needed on your site
    • or load a modified file instead (- unnecessary loading of the original file can be skipped)
    • Very advanced users might create base classes for group of elements and load these before the shortcode class

    what do I have to change in the modified ALB element so that it does not interfere with the original element

    Minimum to change is:

    
    			$this->config['shortcode']		= '......';
    

    maybe also

    
    			$this->config['shortcode_nested'] = array( '......' );
    

    Other changes depend on what you want to modify in your customized element.

    Best regards,
    Günter

    in reply to: Image Sizes & Image Proxy Services #1340552

    Hi Tim,

    I had a look into it – but it turns out to be more complicate as there are many elements involved and core backend functions.
    I add it to our dev repo – but no ETA I can promise at the moment (we are starting to work on 5.0 with some nice new frontend features and Kriesi wants to set priority on this).

    Best regards,
    Günter

    in reply to: Enfold & font:display #1340515

    Hey Tim,

    Thanks again. You are right.

    I think it is better to use settings of “Custom Font Display Behaviour” and add it to the link for google fonts
    (https://peterdaugaardrasmussen.com/2021/04/02/how-to-add-font-display-swap-to-font-from-google/):

    
    <link type="text/css" rel="stylesheet" href="//fonts.googleapis.com/css?family=Barlow:400,500,600,700%7CAlice&display=swap" id="avia-google-webfont">
    

    Filters will allow to change it.

    I uploaded a modified file that implements this solution (replace file enfold\framework\php\class-style-generator.php):

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_9_1/framework/class-style-generator.php

    As this file is already based on 4.9 release please keep a copy of the original file for fallback (in case you see problems).
    If you want to have a copy of the latest dev release let us know.

    Best regards,
    Günter

    in reply to: WP 5.9 & Enfold's Lazy Loading #1340495

    Hey Tim,

    WordPress’ default lazy loading

    Thanks for pointing at this. For most ALB elements you can disable/enable lazy loading – this should allow more control than the WP implementation taking the first (or with filter a custom number) image only.

    Standard templates have not been updated.

    WooCommerce

    Taking a quick look – we did not implement any lazy loading logic in config-woocommerce\config.php yet. And the ALB elements use standard WC templates.
    I’m afraid there is no quick solution at the moment.

    I will add this to our dev repo to take a closer look – but I cannot provide an ETA at the moment.

    Best regards,
    Günter

    in reply to: Custom fonts not loading after 4.8.9.1 #1340355

    Hi,

    Sorry for the problem.

    With oncoming version 4.9 the problem with the dashes is fixed again – so it is safe to use fonts with dashes.

    Problem was caused by a fix in 4.8.9.1 that removed the dashes for websafe fonts (which contained the dashes in theme options) – missing that custom fonts still need them.

    Best regards,
    Günter

    in reply to: Blog posts Grid layout – coding appearing #1338465

    Hi,

    I do not see the problem, but I have a server error 500 – see private content:

    Checking the web: https://developers.google.com/tag-platform/tag-manager/web

    Looks different now. Maybe you are using an old implementation ?

    Best regards,
    Günter

    in reply to: GDPR 2022 news #1338418

    Hi,

    Sorry for the late reply.

    A theme can only offer a basic implementation. To be on the safe side plugins specialised for GDPR certainly can offer more options and can stay up to date with laws.

    Depending on your needs a plugin might be the better solution.

    Best regards,
    Günter

    in reply to: Please contribute and translate Enfold #1338064

    Hi Roger,


    @EZWebdesign

    Thanks a lot. Merged into core for next release.
    Have a great day.

    Best regards,
    Günter

    in reply to: Accordion title as h2 or h3 #1337321

    Hi,

    It is not possible to put h2 or h3 tags inside a “p” tag which is the container for the title:

    https://stackoverflow.com/questions/42890736/slim-h3-inside-p

    I’ve added this problem to our dev repo and planned to address it for 4.9 – check the changelog or https://kriesi.at/support/topic/enfold-upcoming-fixes/

    But for the moment there is no easy solution.

    Currently the only way is to modify enfold\config-templatebuilder\avia-shortcodes\toggles\toggles.php around lines 1118 – 1124 and replace the p tag.
    And add additional logic to identify the element to know how to update the p tag.

    Best regards,
    Günter

    in reply to: Image Sizes & Image Proxy Services #1335546

    Hi,

    Thanks for the feedback – and glad it solves the problem.
    I will keep an eye on this.

    Best regards,
    Günter

    in reply to: Image Sizes & Image Proxy Services #1335105

    Hi,

    I sent it to you right now.
    Have a great day.

    Best regards,
    Günter

    in reply to: Image Sizes & Image Proxy Services #1335045

    Hi,

    I will update the Image Element and Team Member and send you the latest dev version to check when ready.

    Best regards,
    Günter

    in reply to: Image Sizes & Image Proxy Services #1334973

    Hey Tim,

    Thanks for reporting this.

    There is really a bug with the lightbox and image element.

    If I add the height and width attribute to the img element is that enough or do you still need a filter to manipulate the img html ?

    Team Member takes the image size from the media library “Attachment Display Settings” selectbox for sizes.

    But you are right, it is more user friendly similar to image element to change the size with a selectbox in the modal popup.
    Will add this.

    And same to img element – is it enough to add height and width attribute to img html ?

    Best regards,
    Günter

Viewing 30 posts - 421 through 450 (of 3,742 total)