Hi,
After fifteen years no one ever explained this to me?
Using a child theme is a common practice in WordPress, so we assumed you might already be familiar with it. If not, please make sure to create a site backup or restore point, then check out the following links for more info on how to activate a child theme in Enfold:
— https://kriesi.at/documentation/enfold/child-theme/
— https://developer.wordpress.org/themes/advanced-topics/child-themes/
If you need more help with the activation, please contact Codeable or any WordPress developer platform.
— https://kriesi.at/contact/customization
Thank you for your understanding.
Best regards,
Ismael
Hi,
Thank you for the update. To adjust the color of the “X” close button, try to add this css code:
.av-burger-overlay-active #top .av-hamburger-inner, .av-burger-overlay-active #top .av-hamburger-inner::after, .av-burger-overlay-active #top .av-hamburger-inner::before {
background-color: #000000;
}
Best regards,
Ismael
Hi,
Looks like the old version duplicated the milestone date which is no longer the case in the latest version. You can try this script in your functions.php file to copy the structure of the “odd” items for the “even” timeline items.
add_action( 'wp_footer', 'av_custom_script_mod', 100 );
function av_custom_script_mod() {
?>
<script>
document.addEventListener("DOMContentLoaded", function () {
const avSwapMilestoneElements = () => {
const isSmallScreen = window.innerWidth < 989;
const milestones = document.querySelectorAll(".av-milestone");
milestones.forEach((milestone, index) => {
const isEven = milestone.classList.contains("av-milestone-even");
if (!isEven) return;
const date = milestone.querySelector(".av-milestone-date");
const content = milestone.querySelector(".av-milestone-content-wrap");
const icon = milestone.querySelector(".av-milestone-icon-wrap");
if (!date || !content || !icon) return;
if (isSmallScreen) {
milestone.innerHTML = "";
milestone.appendChild(date);
milestone.appendChild(content);
milestone.appendChild(icon);
} else {
milestone.innerHTML = "";
milestone.appendChild(content);
milestone.appendChild(icon);
milestone.appendChild(date);
}
});
};
avSwapMilestoneElements();
window.addEventListener("resize", avSwapMilestoneElements);
});
</script>
<?php
}
You may also need to add this css.
@media only screen and (max-width: 989px) {
/* Add your Mobile Styles here */
.avia-timeline .milestone_icon i.milestone-char.avia-svg-icon svg:first-child {
margin-top: 18px;
}
}
Best regards,
Ismael
Hi Ismael,
great, thanks for your support – works like a charme!
I discovered one more bug: The “X” Close Button of the Burger Menu is displayed correctly when the burger menu is opened from the top of the page, but is white (and not visible – because color is white) when opened from the middle of a page (problem might occur because of the transparent header) how can I change the color of the “X” close button of the burger menu?
Should I open a new thread for this topic?
Best, Konrad
Hi,
Please try this instead:
#top #menu-item-search a {
z-index: 1;
position: relative;
padding-right: 10px;
}
Best regards,
Rikard
Hi!
Thank you for the info.
Looks like the opacity of the mobile menu items is set to zero. Please try to add this css code:
#top #wrap_all #av-burger-menu-ul>li {
opacity: 1 !important;
}
Make sure to purge the cache or remove the browser history before checking the page.
Cheers!
Ismael
great job! Just a couple more issues if you can help with these. I might need update CSS code.
1. on desktop the logo is not center with the buttons: screenshot: https://img.savvyify.com/image/logo-off-center.9wllh
2. on mobile, the logo overlaps the buttons: screenshot: https://img.savvyify.com/image/overlaps-logo-on-mobile.9wyWp
3. on desktop their is a thin line under the address: screenshot: https://img.savvyify.com/image/remove-line-on-desktop.9wsV6
3. on desktop, can you make the top address bar sticky? It is already on mobile, but not desktop
Thank you!
-
This reply was modified 11 months, 2 weeks ago by
bemodesign.
Ah, I see, ok, thanks. And what about the flipboxes on desktop, further down on the home page of https://tortoise-tracks.org/ — I don’t suppose there’s any way to make those accessible via the focus? I mean, I can see the focus is indeed cycling through the links in those, but I don’t supposed that’d be enough to meet the accessibility standards, eh? Should I open a separate post about that?
Hi,
Please don’t open more than one thread for the same problem, please continue here.
Best regards,
Rikard
Hi, when using the timeline content-element, I have the problem that in smaller viewports the date from the left side is not visible and code-instructor shows me a “display:none”. Desktop-view is fine, not so on smartphoneas and tablets (smaller 989px)
@media only screen and (max-width: 989px) {
.av-no-preview .avia-timeline-vertical.av-milestone-placement-alternate li.av-milestone-even .av-milestone-date {
padding: 33px 0 30px 50px;
display: none;
}
}
I post the url in the private area. What to do?
Thanks
tim
Hi,
Yes, that could work, but you can’t set it to 0 because it will cause the transition to fail. Please try this css code:
#top .avia-content-slider, #top .avia-content-slider-inner, #top .avia-content-slider-inner .slide-entry-wrap {
transition: opacity 0.0001s !important;
}
Best regards,
Ismael
Hi,
Your code doesn’t work on mobile but on laptop it’s fine because i dont see anymore the scroll bar.
Hey Helmut,
Thank you for the inquiry.
Those are the thumbnails registered by the theme. If you need to remove them, be sure to create a site backup, then use the remove_enfold_image_sizes function provided in this thread: https://kriesi.at/support/topic/prevent-auto-multi-image-generation/#post-1431800
Best regards,
Ismael
Hey slikslok,
Thank you for the inquiry.
You may need to use a smaller logo or limit the number of items in the main menu. To adjust the size of the logo, try to add this css code:
.logo img, .logo svg {
max-width: 400px;
top: 40px;
}
You can also set the main menu to display as icon instead of text (Main Menu > General > Menu Items For Desktop).
Best regards,
Ismael
This topic is of great interest! The implementation of this law is mandatory in the EU as of June 28. It would be nice if the Kriesi team would comment on this here.
RE support post:
Hi again Ismael,
I just visited this page and the fix, which I remember working, is no longer working:
https://www.thomashenthorne.com/125-belvedere-ave-belvedere-ca/
Here’s the css – can you tell me if I did something wrong?
/** Ismael fix color sections on iPad1481601 **/
@media only screen and (max-width: 1024px) {
/* Add your Mobile Styles here */
.avia_mobile .avia-full-stretch {
background-attachment: scroll !important;
}
.avia-bg-style-fixed {
background-attachment: scroll !important;
}
}
Thanks,
Rob
I’m experiencing slow loading speed and poor LCP (Largest Contentful Paint) on the mobile version of my homepage, even after implementing the following optimizations:
- The mobile hero image is a WebP format, resized to 800px width (as recommended by one of your support staff in another thread)
- The image is inserted as an
tag (not a background image)
- I’ve added fetchpriority=”high” and decoding=”async” to the image
- I’ve disabled lazy loading for this image
- Using W3 Total Cache and Autoptimize, including CSS/JS minification and defer
- Cookie banner is handled via Enfold’s built-in tool (no extra plugin)
Is there a recommended way within Enfold to prioritize key content and improve mobile LCP?
Hello,
for the thumbnail size i managed it, thanks
But for the scroll, it doesn’t work for me with you code.
i put this instead and it seams to be OK:
.mfp-wrap.mfp-gallery.mfp-close-btn-in.mfp-auto-cursor.avia-popup.mfp-zoom-in.mfp-ready {
top: 0 !important;
position:fixed!important;
}
What do you think about it?
Hey volkantuncer,
Thank you for the inquiry.
Try to add this css code to make sure the products are centered.
@media only screen and (max-width: 767px) {
/* Add your Mobile Styles here */
.responsive #top #main .product-sorting.avia-product-sorting+.products {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.responsive #top #main .products .product:nth-child(even) {
margin-right: 0;
}
}
View post on imgur.com
Best regards,
Ismael
Hi,
Thank you for the update.
Try to switch the builder to debug mode to enable the shortcode field.
— https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode
Once the debug mode is enabled, add this template in the shortcode field, the update the page. Edit the Catalogue element, then follow the format of the second item in the list (CHEESEBURGER).
— https://pastebin.com/26bBpUc4
To adjust the style of the custom catalogue element, add this code in the Quick CSS field:
#top .av-patty-menu .av-catalogue-list {
border-top: 0;
}
#top .av-patty-menu ul li:first-child .av-catalogue-item .av-catalogue-item-inner {
height: 48px;
}
#top .av-patty-spacer {
width: 20px;
display: inline-block;
}
#top .av-patty-spacer-title {
display: block;
text-align: center;
}
View post on imgur.com
Best regards,
Ismael
Hey awasner,
Thank you for the inquiry.
You can add the following code to the functions.php file to separate the title from the term description.
remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
remove_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description', 10 );
add_action( 'woocommerce_before_shop_loop', 'av_woocommerce_before_shop_loop_mod', 5 );
function av_woocommerce_before_shop_loop_mod() {
if ( is_product_taxonomy() ) {
echo '<h1 class="term-title">' . single_term_title( '', false ) . '</h1>';
}
}
add_action( 'woocommerce_after_shop_loop', 'av_woocommerce_after_shop_loop_mod', 15 );
function av_woocommerce_after_shop_loop_mod() {
if ( is_product_taxonomy() ) {
$term = get_queried_object();
if ( isset( $term->description ) && $term->description ) {
echo '<div class="term-description">' . wpautop( $term->description ) . '</div>';
}
}
}
Best regards,
Ismael
Hello! Thanks for the reply
Yeah, the LayerSlider in itself is working just fine, the problem is when I try to use the “Import Layer” inside the LayerSlider to import an already created layer/asset from another Slider, like a button, for example.
The “Import Layer” option inside the LayerSlider project just doesn’t load, no matter how much time I wait. Before it used to be really fast to load and import any layer from other projects. I’ve sent a screenshot in the private content area for you to see what I mean.
I have tried in other web browsers and even another desktop, but it still doesn’t work.
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
I am using following css code to put two products on on line in mobile design
but because of this my mobile view is not showing products in the middle
Tha gap in left side is smaller than the right side
How can I solve this situation ?
I like the product design to be in the middle
https://www.teknolom.com/magaza/
Thank You
@media only screen and (max-width: 736px) {
.avia_textblock pre, .responsive #top #main .products .product {
width: 45.6% !important;
margin: 0 4% 1% 0;
}}
@media only screen and (max-width: 480px){
.responsive #top .av-masonry-entry{width:100%;
width: 45.6% !important;
margin: 0 4% 1% 0;
}
}
Hello Kriesi team,
I have the following problem: When I want to send a contact form, the following message appears:
“Token for confirming the form has already expired.
The form could not be submitted. Please reload the page and try again.”
In addition, the “mailto:” command does not work on the desktop when I enter a mail address that should open a mail program, then the page of my Internet provider opens.
Can you please help me?
With best Regards
Lokman
Translated with DeepL.com (free version)
Since we have an H1 headline on the shop category pages and a lot of text after it, we’ve moved this section below the products.
This means we don’t have a headline at the top, as otherwise the user wouldn’t see any products for a long time without scrolling.
Can the headline and text be separated for SEO? If so, how?
We want to display a filter directly on mobile instead of the sorting.
In other words, the headline should be visible first, then the filter, and then the products.
Because currently, the user has to scroll all the way down to filter.
Link to a category page attached in private content.
Thanks a lot for helping me!
Ryan MitchellGuest
Hi!
I was doing some research for a uni project and found your article – https://kriesi.at/archives/how-to-stop-wasting-time-on-social-media-and-start-dominating. Just noticed the link to the social media page (https://www.pewresearch.org/internet/fact-sheets/social-networking-fact-sheet/) is broken. I found this instead – https://academized.com/blog/social-media-fact-sheet – might be useful to keep the info up-to-date for other readers like me.
Best,
Ryan
Hi,
This is because the mobile menu “av-burger-menu-ul” is not loaded until the burger menu is clicked when you use the desktop menu, it is when you use the burger menu for desktops. But mobile devices don’t have a tab key.
Best regards,
Mike
Hi
The blog posts are displayed on the “News” page. This page is assigned as the post page in the WordPress settings. If I want to display a title and content at the top of the page, for example a note on promotions, this content is not displayed in the front end. Why is that?
Hey mountaintopengraving,
Thanks for the link to your site, but I didn’t find any pages or events that were blank in the backend, and I was able to edit the pages that I tested.
Your page /donnys-at-core-restaurant-menu-live-music-specials/ was created with the Block Editor and not the Enfold Advanced Layout Builder, and your About, Capri Room, appetizer-add-ons, pages were created with the Advanced Layout Builder and I found no issues editing them.
Are you using the same login that you posted for us?
What page can you not update, and what changes are you trying to make?
Best regards,
Mike