-
AuthorPosts
-
February 10, 2024 at 1:25 am #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.”
February 12, 2024 at 4:41 am #1434047Hey 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,
IsmaelFebruary 12, 2024 at 10:09 pm #1434120Thanks 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.
February 13, 2024 at 8:53 am #1434154Hi,
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,
IsmaelFebruary 13, 2024 at 10:56 pm #1434228Disabling ‘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.
February 15, 2024 at 2:05 pm #1434412Hi,
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,
IsmaelFebruary 15, 2024 at 10:04 pm #1434449I 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.February 18, 2024 at 4:31 pm #1434668Hi,
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,
MikeFebruary 18, 2024 at 8:03 pm #1434694Hi 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.
February 18, 2024 at 8:43 pm #1434701Hi,
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 -
AuthorPosts
- The topic ‘Advanced Custom Fields broken since update’ is closed to new replies.