-
Search Results
-
Hi guys,
we currently maintain about 100 sites built upon Enfold and custom CSS using Quick CSS.
After your recent introduction of “Responsive Styles” within the 5.1 release nearly all of these pages broke due to Custom CSS not working anymore which worked before. In particular the new responsive styles take precedence over custom css styles and classes.
I am only writing now as we just updated our prod env to 5.1.2 and our dev sites to 5.2.1. The issues exist in both versions and only came to our attention within the live sites. Our dev env doesn’t use that much custom Quick CSS…For columns (
/config-templatebuilder/avia-shortcodes/columns/columns.php) we were able to “fix” the issues using you newly introduced filter “avf_disable_columns_responsive_margin_padding”.
For the Grid Row “cell” (/config-templatebuilder/avia-shortcodes/grid_row/cell.php) this is not possible as you hardcoded the add_responsive_styles in there (line 603 in 5.2.1) without any possibility to disable that. Even worse it is set with the “!important” modifier rendering any attempt to change the values by custom css nearly impossible.
We were only able to hotfix this within the Grid Row by using the “avf_el_styling_responsive_styles_skip” filter. Which leads to the sideeffect that the configured values for the Grid Row from the Enfold backend are now ignored and the default is always used. This is also breaking, but not as bad as before…In any way the way you added the Responsive styles seems to break backwards compat with custom CSS massively. I would kindly ask you to reconsider this feature and the way you implemented it. Custom CSS must remain to have a chance to overwrite the configured styles in the same way it did before Enfold 5.1. Alternatively we need a filter to permanently disable this feature globally(!). But that would only be the last resort in my oppinion.
As a side info: We have the following filter configured as your post css generation didn’t work with our caching rules due to the location where the css was generated to:
add_filter( 'avf_post_css_create_file', '__return_false', 10, 1 );
So you might want to set this as well to have an identical environment.I will add a test case to reproduce into the private content. Just put the shortcodes into an empty page and switch to the advanced layout builder afterwards. Then open the page on the frontend. Then add the following custom css to Quick CSS save and reload the page on the frontend.
Using the Browser DEV tools you will now see that the custom css cannot set the margin and padding anymore. That worked before and as there are many live sites out there relying on custom css this has to continue to work.
If you then add the following filters, the custom css will work again (only fhe first filter is necessary for this example):add_filter( 'avf_disable_columns_responsive_margin_padding', '__return_true' ); add_filter( 'avf_el_styling_responsive_styles_skip', '__return_true' );Quick CSS:
.open-job-boxes .job-box{ -webkit-box-shadow: 0 3px 6px 0px rgba(0,0,0,0.16); -moz-box-shadow: 0 3px 6px 0px rgba(0,0,0,0.16); box-shadow: 0 3px 6px 0px rgba(0,0,0,0.16); padding: 30px; background: #ffffff; } .open-job-boxes .job-box h3{ font-size: 20px; color: #212121 !important; font-weight: 600; margin-top: 20px; } .open-job-boxes .job-box a { background-color: #b3041c; padding: 13px 20px 11px 20px; font-size: 16px; color: #fff; text-align: center; overflow: hidden; position: relative; display: block; margin: 40px auto -51px auto; transition: 0.4s; border-radius: 0; max-width: 250px; border-color: #b3041c !important; } .open-job-boxes .job-box a:hover{ background-color: #cb001c !important; } .open-job-boxes .job-box:before{ content: ""; height: 52px; width: 52px; display: block; margin: -60px auto -5px auto; border-radius: 100px; border: 5px solid #fff; background: #b3041c; position: relative; z-index: 99; visibility: visible; }Thank you very much and best Regards,
Jan
Topic: Adaptative fonction police
Hello to everyone !
Please excuse me for my rusty english. I noticed that the size of my fonts does not adapt to different screens. Indeed with the basic settings, on a smartphone the size is perfect. On the other hand, it becomes too small on a 36 inch for example. Is there an adaptive function for different screens? Thank you in advance.In the page editor, I am making changes to font sizes in the popup Advanced Layout Editor, but it will not override the default sizes in the theme settings. The color override works fine at the page level, but not the font size
Hi,
I have 2 images galeries on my landing page. They both are perfect grid with no horizontal and vertical space in between square images equaly sized.
When I check on the page, an horizontal white strip (space) appears in between the lines so I’m not black full background anymore.
Any idea? I’d like no vertical and horizontal space in between images for both galeries. (This was initialy the case but appeared may be after the theme update or fex lines added in the custom CSS that I tried to delete but without effect)Best regards.
JMPS: for info, you once gave me the following Quick CSS inclued in the theme options Quick CSS section. If useful
#top.home #references figure.av-inner-masonry.main_color {
border: 0px solid #333333!important;
}
#top.home #portfolio figure.av-inner-masonry.main_color{
border:1px solid #808080!important;
}
#top .fullsize .template-blog .post-title {
font-size: 20px;
color: #003185;
}Topic: format the category text.
Hello together
How can I format the category text.
Font
Font color
Font size
formatthanks in advance
kind regardsFranz
It looks like the Slider Widget is putting a Google Fonts Link Tag in the website code, although we have uploaded and configured local fonts everywhere in Enfold. Inserted tag looks like this:
<div id='layer_slider_1' class='avia-layerslider main_color avia-shadow avia-builder-el-0 el_before_av_two_third avia-builder-el-first container_wrap fullsize' style='height: 961px;' > <link href="https://fonts.googleapis.com/css?family=Open+Sans:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet"> <div id="layerslider_2_lhtuev5yc8r3" class="ls-wp-container fitvidsignore" style="width:1920px;height:960px;margin:0 auto;margin-bottom: 0px;">....We have double checked all options inside Enfold and could not find any reference to online fonts, we are using just our locally uploaded fonts.
This creates a significant issue with GDPR compliance here in Germany and is starting to get sued by laywers. We already received a dissuasion and a claim for one of our websites with Enfold.We already tried this solution:
add_filter( 'avf_output_google_webfonts_script', 'avf_output_google_webfonts_script', 10, 1 ); function avf_output_google_webfonts_script( $activate ) { return false; }Unfortunately, this is not working, the link tag mentioned above is still inserted into the website.
Please advice on how to get rid of Google fonts link tags inside Enfold. Thanks a lot! :)
Topic: small headers in chrome
I’m having a problem with the text boxes on fbclancaster.com. When I update them, sometimes they get really small on chrome browsers only (not affected on safari). Changing font size does nothing.
See the homepage “Oct. 30 Family Worship” text box to see an example. It was also doing it on the I’m New page.
Any ideas on how to fix this behavior?
See sample pics of large and small here: https://www.dropbox.com/s/9ycbuwd3mnuwozi/Archive.zip?dl=0




