FOIT – Flash of Invisible Text Effect
To give it a name for the sake of clarity, the effect is called “Flash of Invisible Text.” This means our text content flashes briefly after the web font has loaded. Of course, the abbreviation sounds better: FOIT (“Flash Of Invisible Text”).
The normal process is that while the font is still loading, text is automatically displayed in the system font after 3 seconds. We can speed this up using the CSS directive font-display: swap;.
However, what is intended for fonts prevents icon fonts from loading correctly—because they have no browser fallback equivalent.
Or read here for more info: https://css-tricks.com/almanac/properties/f/font-display/
if you look the rule:
#top .avia-font-entypo-fontello, body .avia-font-entypo-fontello, html body [data-av_iconfont="entypo-fontello"]::before {
font-family: 'entypo-fontello';
}
you see what is the crux: no fallback Font – so if you swap those icon-fonts – the browser does not know what to show.
here you see the wanted behaviour by swap:
h1 {
font-family:'opensans-flex',Helvetica,Arial,sans-serif
}
if the browser is still loading the opensans-flex files – it will show your content with Helvetica instead.
Hallo, ich habe bei den Einstellungen eine Logohöhe für den Header von 63px angegeben das Logo wird aber größer angezeigt. Woran liegt das? ich hätte gerne eine Header- und Logohöhe von 63px.
Wie kann ich die größe ändern? und ist es möchlich das menu (die drei linien) bei smartphone und desktopansicht links anzeigen zu lassen?
Hello, if you will use enlargement function on PC, it will ultimately come to max magnification level, and stop.
Take a look at the screenshot.
Ideally, I would like for the entire page to enlarge linearly, so the scroll bars would be used to navigate it. – This is an actual need, because some people can find the comic too small to read, so they need to embiggen it a bit.
It was normal website enlargement behaviour before, the content is forced into the viewport now.
-
This reply was modified 1 week, 5 days ago by
MORTULGAAH.
Hi,
Thank you for the update.
Please add this css to push the gallery down only on mobile:
@media only screen and (max-width: 767px) {
#portfolio {
padding-top: 1500px;
}
}
You can add this under Enfold > General Styling > Quick CSS. Please make sure to purge the cache before testing, and adjust the 1500px value up or down depending on how much space you need.
Let us know if the issue persists.
Best regards,
Ismael
Hi,
Thanks, try this css:
.responsive .page-id-7475 #after_section_4 .container,
.responsive .page-id-7625 #after_section_4 .container {
max-width: 100%;
padding: 0;
background-color: #c29454;
}
.page-id-7475 #after_section_4 .wpcp-carousel-section.nav-vertical-center,
.page-id-7625 #after_section_4 .wpcp-carousel-section.nav-vertical-center {
margin: 0;
}
.page-id-7475 #after_section_4,.page-id-7625 #after_section_4 {
border-top-style: none;
}
Best regards,
Mike
The issue is solved partially on desktop view. On mobile it is a disaster!
The gallery is behind the three boxes and is no longer visible.
Please check as soon as possibile. thanks
Hi,
You should import all posts first, then run the hook from the previous thread just once to apply the custom layout. Add the code in the functions.php file and refresh the frontend or the dashboard to run the hook. This will apply the custom layout to the posts of the specified post type and activate the ALB. Make sure to create a site backup before proceeding.
— https://kriesi.at/support/topic/importing-lots-of-data-to-scf-custom-posts-all-having-same-template/#post-1473810
Best regards,
Ismael
Hey shanghaitomilan,
I see that you are running an old version of the theme, could you try to update to the latest version (7.1.4) to see if that helps please? The update to 7.1.4 has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541
You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or upload the theme as if it was new under Appearance->Themes->Add New Theme.
If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.
Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
Rikard
This reply has been marked as private.
Hi,
Thank you for the inquiry.
You can add this css code to fix the left padding of the submenu items and add borders between them.
.html_av-overlay-side #top .av-burger-overlay li > ul {
margin-left: 7px;
}
.html_av-overlay-side #top .av-burger-overlay li > ul .avia-menu-text {
padding-left: 12px;
}
.html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a {
border-bottom: 1px solid;
}
Let us know the result.
Best regards,
Ismael
Hi,
Thank you for the update.
You can add this css code to pull the burger menu a bit to the left so it’s not touching the right edge of the header container.
.responsive #top #header_main > .container .main_menu .av-main-nav > li > a {
min-width: 0;
padding: 0 20px 0 20px;
}
Let us know the result.
Best regards,
Ismael
Hi,
You misunderstood, this is not my css, it is your css already on your site that you need to change:
.template-page.content.av-content-full.alpha.units {
padding-top: 20px !important;
padding-bottom: 20px !important;
}
Change 20px to zero
Best regards,
Mike
Nothing is changed. There is a very big empty space in the desktop version.
Hi,
Looks like you have this css:
.av-masonry-entry {
visibility: hidden;
opacity: 0;
}
.av-masonry-sort {
visibility: hidden;
}
#top .av-masonry-load-more {
visibility: hidden;
opacity: 0;
}
Check your css or element settings.
Best regards,
Mike
Hi,
The top padding is set by your custom css:
.template-page.content.av-content-full.alpha.units {
padding-top: 20px !important;
padding-bottom: 20px !important;
}
Change 20px to zero if you want to remove it, but note this will affect all of your pages.
While you have set the text color to white, your text is bold (strong) which has a blue color, either remove the strong tag, or add the color to the span style, like your font size.
If you don’t know how to do that try this css:
.avia_textblock p span[style*="color: #ffffff"] strong span[style*="font-size: 14pt"] {
color: #ffffff;
}
Best regards,
Mike
Hi Mike, thank you very much for your quick reply.
I’ve now adjusted it so that the background is visible everywhere.
Can the top margin still be removed?
Link below:
I set the text color to white,
but it always displays in blue.
Thanks,
Best regards,
Franz
Hey schweg33,
The height of the text block is based on the content inside of it. The paragraph tag in it will has top & bottom margin, and the section that it is in has padding from your custom css:
.template-page.content.av-content-full.alpha.units {
padding-top: 20px !important;
padding-bottom: 20px !important;
}
It would probably look nicer if you removed the background color.
Best regards,
Mike
please have a check. I have already tell you that I have tried all! In mobile is correct in desktop there is some issue.
Minimum Size is set as 0px. I have tried all combination. Enter in the web site and please correct this bug.
Thanks. Is urgent
sorry
still the same problem in the back end:
Notice: Functie WP_Scripts::add werd verkeerd aangeroepen. Het script met de handle “avia_analytics_js” is in de wachtrij gezet met afhankelijkheden die niet zijn geregistreerd: avia_builder_js. Lees Foutopsporing in WordPress voor meer informatie. (Dit bericht is toegevoegd in versie 6.9.1.) in /var/www/vhosts/denbreejenhoveniers.nl/httpdocs/wp-includes/functions.php on line 6131
Hi,
Sorry about that — we forgot to post the css code. Please try this modification:
#top .av-video-slide iframe, #top .av-video-slide embed, #top .av-video-slide object, #top .av-video-slide video {
object-fit: fill;
}
Best regards,
Ismael
Hey valerieh,
Thank you for the inquiry.
Do you have any scheduled tasks or cron jobs running on your site? For example, automated backups, cache clearing plugins, optimization plugin or any custom scripts that run on a schedule? Some of these can accidentally strip inline styles or regenerate css files in a way that drops custom color settings from your sections.
It would also help to know if you’re using any plugin that modifies or minifies css, such as Autoptimize or a similar tool. Disabling file compression temporarily via Enfold > Performance > File Compression can help rule out the theme’s own css merging as a factor.
Let us know the result.
Best regards,
Ismael
Hello, Can you adjust or add new CSS to make the menus look good on desktop and mobile?
You are good at setting it to what looks best.
They are close, but couple things:
1. There are 2 “arrows” for the dropdowns. Just keep the one next to the wording, and remove the one on the right side.
2. Text color for “sub menu” should be #45a5dd
3. Anything you see that will make it look better
this is the last code i added:
@media only screen and (max-width: 767px) {
#top #wrap_all .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li a {
font-size: 22px;
}
.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li,.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li li {
line-height: 1.5em;
}
.responsive #top #wrap_all #av-burger-menu-ul li {
font-size: 22px !important;
}
}
Hello-
My website is at valparker.com. I have color sections at the top of each page for the hero image.
Once a week, randomly, the color sections go white, making the text unreadable. I have tried clearing caches, setting a minimum height to these sections, etc. Nothing seems to keep it consistently correct and occasionally the colors sections will return to their deep gray color with me just logging in and clicking to edit the page.
I’ve included a screenshot link of what the pages look like when the color section is no longer dark.
Hey morijksen,
The update to 7.1.4 has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541
You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or upload the theme as if it was new under Appearance->Themes->Add New Theme.
If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.
Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
Rikard
installed the hook in the functions.php: https://kriesi.at/support/topic/not-registered-dependencies-for-enfold-css-and-js/#post-1495556
I replaced the whole enfold/config-templatebuilder/avia-template-builder/php/class-save-buildertemplate.php
And still have this notification in wordpress Pages-Media and Blogs: on top of the page
Notice: Functie WP_Scripts::add werd verkeerd aangeroepen. Het script met de handle “avia_analytics_js” is in de wachtrij gezet met afhankelijkheden die niet zijn geregistreerd: avia_builder_js. Lees Foutopsporing in WordPress voor meer informatie. (Dit bericht is toegevoegd in versie 6.9.1.) in /var/www/vhosts/denbreejenhoveniers.nl/httpdocs/wp-includes/functions.php on line 6131
Translation:
Notice: Function WP_Scripts::add was called incorrectly. The script with the handle “avia_analytics_js” was queued with dependencies that are not registered: avia_builder_js. See Debugging in WordPress for more information. (This post was added in version 6.9.1.) in /var/www/vhosts/denbreejenhoveniers.nl/httpdocs/wp-includes/functions.php on line 6131
Hi,
Thank you for the update.
Adding this css code should help get rid of the gris bar, but it will distort the image a bit. Based on our checks, the distortion is not really visible. Please make sure to purge the cache before checking.
#top .av-video-slide iframe, #top .av-video-slide embed, #top .av-video-slide object, #top .av-video-slide video {
object-fit: fill;
}
Best regards,
Ismael
Hi,
Thank you for the feedback.
Have you tried replacing the whole enfold/config-templatebuilder/avia-template-builder/php/class-save-buildertemplate.php file as described in the following thread?
— https://kriesi.at/support/topic/not-registered-dependencies-for-enfold-css-and-js/#post-1495805
Make sure to use this hook:
— https://kriesi.at/support/topic/not-registered-dependencies-for-enfold-css-and-js/#post-1495556
Let us know the result.
Best regards,
Ismael
i almost did it.
but i have still on line to fix:
Notice: Functie WP_Scripts::add werd verkeerd aangeroepen. Het script met de handle “avia_analytics_js” is in de wachtrij gezet met afhankelijkheden die niet zijn geregistreerd: avia_builder_js. Lees Foutopsporing in WordPress voor meer informatie. (Dit bericht is toegevoegd in versie 6.9.1.) in /var/www/vhosts/denbreejenhoveniers.nl/httpdocs/wp-includes/functions.php on line 6131
it’s nice when you can help
Best regards,
Bert