Tagged: background color, flex column
-
AuthorPosts
-
July 29, 2021 at 1:06 pm #1313251
I updated Enfold to version 4.8.5 on one of my sites this morning, and the background colors disappeared from some flex-column divs. If I edit the column, edit the background color, and resave, the color comes back, but the background color is being ignored in all the columns to which it was previously applied. There are hundreds of columns with background colors applied on the site in question, so I had to roll it back to a previous version of Enfold, so I can’t show you an example.
July 29, 2021 at 2:03 pm #1313261Hey efgumnick,
Thank you for using Enfold – and sorry for the problems.
I tried to reproduce it on my dev server – but I cannot.
Do you have a staging site where you can reproduce it?
Best regards,
GünterJuly 29, 2021 at 3:53 pm #1313279Hello,
we encountered the same problem today.
It seems like the missing “background=’bg_color” in the posts column shortcode is causing this problem.
[av_one_half ... background='bg_color' background_color='rgba(0,117,190,0.85)' ... ]
Is it possible that the background option wasnt necessary before there was a gradient option? Thus older shortcodes without that option are failing now.
Best regards
- This reply was modified 3 years, 4 months ago by MPadelt.
July 29, 2021 at 5:50 pm #1313299Hi @MPadelt,
Thanks for this hint. You are right. When I remove background=’bg_color’ and the gradiant attributes I get the selected background_color.
As I can now reproduce it I can find a solution.
We will release an update on monday evening containing the fix. I will provide a link here to an updated file as soon as I have it.
Best regards,
GünterJuly 30, 2021 at 10:59 am #1313419Hi,
The problem will be fixed in the next release on monday.
If you want you can update enfold\config-templatebuilder\avia-shortcodes\columns\columns.php
with the content of
– do not forget to make a backup of the original file for a fallback
– save theme options to invalidate all post css files so they can be rebuilt
– clear server and browser cacheBest regards,
GünterAugust 1, 2021 at 11:59 pm #1313746Quick Solution:
Just open the column where the background color is defined (but not appears after updating to 4.8.5), click safe (you don’t have to change anything) and publish the page again. Then background color/gradient should appear.
Best regards,
AndréAugust 2, 2021 at 12:15 am #1313749Unlike wertbar, I had to actually select a different bg color in my column blocks, then re-select the desired color and save… in order to get my bg colors back. Simply opening and re-saving the block didn’t work for me. It was a huge pain to have to do this dozens and dozens of times… and I still have more to fix. Really glad to hear a fix is on the way, so I can stop manually trying to update them all.
August 3, 2021 at 5:46 am #1314059Hi André,
Great, I’m glad that you got things working, and thanks for the update.
Guitar Answer Guy: did this happen when using 4.8.5, or 4.8.6?
Best regards,
RikardAugust 3, 2021 at 8:25 am #1314083Hi there,
We are experiencing the same issue. We have updated to 4.8.6 yesterday and the background color of the color sections is still not showing. Would you be able to help, please?
Thank you!
RobertaAugust 3, 2021 at 10:25 am #1314103Hi,
@Roberta
Sorry for the problems.
Can you please try to:
– save theme options (this invalidates our post css files and forces a rebuild)
– clear server and browser cacheIf this does not help:
Can you create a WP admin account for us so we can check your backend please ?
To have private content only visible to you and moderators please create an own thread.
Please also enable debug mode by adding the code provided in this link to your functions.php file which can be accessed from Appearance > Editor
This lets us view the shortcode for all the page elements.
And also specify please what does not work ?
Thank you.
Best regards,
GünterAugust 3, 2021 at 10:41 am #1314107Hi Günter,
Thank you for your quick response. I tried to both save theme options as well as clearing the server and browser cache and nothing has worked so far. I created a login for you to access our site (info in private section). Thanks!
August 3, 2021 at 12:53 pm #1314150Hi,
@Roberta
Thank you for the login data. Helped to locate the problem on my dev server.
As I have no access to update the file to check:
Can you please update enfold\config-templatebuilder\avia-shortcodes\section\section.php
with the content of
– Do not forget to make a backup of the file for a fallback
– save theme options (this invalidates our post css files and forces a rebuild)
– clear server and browser cacheFix will be part of the next update.
Best regards,
GünterAugust 3, 2021 at 3:13 pm #1314187This worked, appreciate all your help with this!
Best,
RobertaAugust 3, 2021 at 4:28 pm #1314194@Rikard: This happened with 4.8.5. However, the 4.8.6 update seems to have fixed it… along with another issue I was having.
August 4, 2021 at 8:50 am #1314305wouldn’t it be the same:
on line 905 :
$selector_background = ( !empty( $atts['src']) && $atts['attach'] == 'parallax' ) ? 'section-parallax-inner' : 'section-outer';
PS:
Who thinks of such a thing:
First you insert an image, then you set it to parallax. Then you think about the whole thing and delete the image without resetting the options of the image you no longer want. This is the construct when the “bug” is present.August 4, 2021 at 10:17 am #1314324Hi,
@Roberta, @Guitar Answer Guy
Glad we could solve the problems.
You are absolutly right.
I only decided to write it in this way for easier readabilty and in case we might extend options.
Best regards,
GünterAugust 24, 2021 at 3:30 pm #1318139Hi there,
After having updated enfold the problem came back. I just tried adding a section to the home page with an orange background color to no avail. I also tried adding a background image without success.
I also noticed another issue: when hiding a section element inside the Avia Layout Builder, the background image will no longer show on the front end and a white background shows.
Thanks in advance,
RobertaAugust 26, 2021 at 8:13 am #1318399Hi Roberta,
I created a test page on your site, but I can’t see any problems there. Could you let us know how to reproduce the problem you are seeing on your end please?
https://yoursite.org/wp-admin/post.php?post=56591&action=edit
Best regards,
RikardAugust 27, 2021 at 12:29 pm #1318637Hi Rikard,
Thank you so much for the quick response. I was having the issue on our home page. Attaching a couple of screenshots in the private section. The first one is the hiding section element I was mentioning. I also saved a template ( called _COMEON). If you change the background color there you will see it won’t show.
August 27, 2021 at 6:12 pm #1318703I’m having the same issue once updating to 4.8.6.2. Only one color section on the home page defaults to white rather than the specified gradient and only on Microsoft Edge. What gives? I didn’t have this issue before updating the theme.
August 27, 2021 at 6:16 pm #1318704Nevermind, happens on all browsers if I’m logged out of WP – please tell me how to fix. I’ve saved the options, I’ve deleted caches, I’ve changed the background colors, saved, then changed them back. Nothing is working.
August 30, 2021 at 4:41 am #1318884Hi Roberta,
Thanks for the update. I’m still not sure I understand the problem you are having, I’m seeing background images like in the screenshot in private on my end. Do we need to change something in order to see the problem?
I’m not sure I understand the problem with the template either. Did you load the template, then changed the background colour, and that didn’t work?
Best regards,
RikardAugust 30, 2021 at 4:42 am #1318885Hi HGI_webdev,
Please open a new thread and include WordPress admin login details in private, so that we can have a closer look at your site.
Best regards,
RikardAugust 30, 2021 at 9:24 am #1318933Hi Rikard,
The issue about the background image is what I described in my initial post: when hiding a section element inside the Avia Layout Builder, the background image will no longer show on the front end and a white background shows. In order for you to replicate it, you have to hide the section element on the backend and you will be able to see it no longer shows the image. I didn’t keep it this way because it’s our main home page.
The issue with the template is indeed the background color. If you try changing the background color in that section (or creating a new one) it won’t work.
Thank you!
RobertaSeptember 1, 2021 at 8:00 am #1319295 -
AuthorPosts
- You must be logged in to reply to this topic.