Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1433874

    My ACF fields are not displaying properly since the recent WordPress and Enfold updates. Here are two screen shots – one that shows how ACF should look and one that shows how it currently looks – all text on one line, an extra “/”, and formatting missing: https://postimg.cc/gallery/KYTQt9k

    I have used this app with Enfold for years, now suddenly something changed. Are you aware of this? Can you help?

    ACF says, ” Usually, ACF uses the get_field https://www.advancedcustomfields.com/resources/get_field/ and the_field https://www.advancedcustomfields.com/resources/the_field/ functions to render the field values on the front end. Since you don’t use these functions in your context, the front-end loading is controlled by the builder and this is not something that ACF functions are able to control out of the box.”

    #1434047

    Hey Blaise,

    Thank you for the inquiry.

    There have been a few changes in the post meta info and the blog post elements, which might have caused the layout to change. To fix this, you can add the following css code to adjust the layout of the post meta info.

    #top .av-blog-meta-category-disabled .minor-meta.blog-categories, #top .av-blog-meta-category-disabled .text-sep-cat, #top .av-blog-meta-category-disabled .minor-meta.blog-categories, #top .av-blog-meta-category-disabled .text-sep-source {
      display: none;
    }
    
    #top .fullsize .template-blog .post-meta-infos .author {
      display: block;
      font-weight: 600;
    }

    Best regards,
    Ismael

    #1434120

    Thanks for this, however it did not change anything. I tried adding the CSS code to my custom CSS and then to the page itself – neither effort fixed the display issue.

    #1434154

    Hi,

    Thank you for the update.

    You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings in order to ensure that the changes take effect. Also, make sure to purge the cache and do a hard refresh. Once you have made the required modifications, you can re-enable the file compression settings. If the changes still haven’t applied, please provide the login details in the private field.

    Best regards,
    Ismael

    #1434228

    Disabling ‘CSS File Merging And Compression’, along with your CSS fix is working. However when I try reengaging ‘CSS File Merging And Compression’, it breaks again. So for now, I will leave it disabled. Thanks.

    #1434412

    Hi,

    Did you install a cache plugin with compression options? You can choose to either keep the default file compression disabled and use the compression options provided by the plugin, or vice versa.

    Thank you for your patience.

    Best regards,
    Ismael

    #1434449

    I do have Nginx Helper installed, but don’t know if that is effecting anything here.

    For your information, I found that with ‘CSS File Merging And Compression’ off, I didn’t need your suggested CSS. I already had the following CSS in place and it fixed what was needed previously and still does without the compression on:
    .author {
    display: block;
    font-weight: bold;
    color: #000;
    margin-top: -5px;
    }
    span.mentioned-quoted {
    display: block;
    line-height: normal;
    margin: 4px 0 0;
    }
    A little of this is redundant to your suggestion and I tried commenting it out and only using your CSS suggestion. This works better for my display. Thought I’d report this for further development.

    #1434668

    Hi,
    Thanks for your feedback, I’m not sure that I follow along, but when I check your page the section seems to be correct now, did you need further help with this or shall we close this thread then?

    Best regards,
    Mike

    #1434694

    Hi Mike,
    What I was trying to express is that the CSS File Merging And Compression was the problem after the update. Ismael’s code fix did not help with the display problem. Turning off CSS File Merging And Compression was the fix. It’s odd since it was on prior to the latest update and the Advanced Custom Fields displayed properly. In my last message, I showed the CSS that was present before, and now after, that is still working to help with the display. I urge you to consider what changed in the update that rendered CSS File Merging And Compression to be incompatible with Advanced Custom Fields.

    You may close this thread.

    #1434701

    Hi,
    The CSS File Merging And Compression has not change, you can see our change log also I’m unable to reproduce any errors with ACF standard or pro. Typically this kind of error is due to another caching plugin that is minifying and compressing the the files a second time, as Ismael pointed out above.
    If you are using another plugin you can leave the theme option disabled or try the third option Use minified theme CSS files without merging.
    We will close as you have asked, thank you for using Enfold.

    Best regards,
    Mike

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Advanced Custom Fields broken since update’ is closed to new replies.