-
Search Results
-
Hi team Enfold
After searching the forum and finding several similar issues and testing their solutions, I’m still struggling with two things on a client’s website.
I provided credentials in the private content by the way.– When I try to upload a zip file for Flaticons, it doesn’t work. It did with the first file, but I needed another icon so I deleted that file and uploaded the new one with the new icon included. But only two icons out of a total of 11 eleven icons showed up in the page builder. I added this code to the .htaccess file
<FilesMatch ".(ttf|otf|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>And while that fixed the issue of rectangular boxes with the first file, it doesn’t anymore with the second. So some help here would be much appreciated.
– Second, I’m trying to change the background image for the scroll to top button. I entered this code in custom css:
#scroll-top-link { background: url(‘https://warredal.wpstagecoach.com/wp-content/uploads/2019/12/acorn-42791_640-e1575362775251.png’) center center no-repeat; } #scroll-top-link:before { display: none; }But the only thing that did was make the button completely transparent. I need it to be this acorn image that I uploaded to the media library.
Thanks in advance!
Good morning.
I hope you can help me. I am new to Enfold and pretty new to changing CSS, I have been trying to change the navigation menu colour which I have succeeded in doing following reading the forum using the following code, however on mobile it looks wrong as the menu turns to a block of colour, is there a way to make the mobile menu the default colour?
The search bar is also now not visible in the menu as its blended with the colour.#top #header .av-main-nav > li > a {
background-color: #076872 !important;
}
#top #header_main_alternate {
background-color: #076872 !important;
}
#top #header .av-main-nav > li > a .avia-menu-text, #top #header .av-main-nav > li > a .avia-menu-subtext {
color: #ffff!important;
}
#top #header #avia-menu > li:hover > a {
background: #dcdcdd !important;
border: 0 !important;
}#top #header #avia-menu > li:hover > a span.avia-menu-text {
color: #076872 !important;
border: 0 !important;
}Thank you very much.
Topic: Add items to header cart
Hello,
Header cart is created from code:function avia_woocommerce_cart_dropdown_modified() { global $woocommerce, $avia_config; $cart_subtotal = $woocommerce->cart->get_cart_subtotal(); $link = function_exists( 'wc_get_cart_url' ) ? wc_get_cart_url() : $woocommerce->cart->get_cart_url(); $id = ""; $added = wc_get_notices('success'); $trigger = !empty($added) ? "av-display-cart-on-load" : ""; if(avia_get_option('cart_icon') == "always_display_menu") { $id = 'id="menu-item-shop"'; } $output = "<ul {$id} class = 'menu-item cart_dropdown {$trigger}' data-success='".__('was added to the cart', 'avia_framework')."'>"; //$output .= "<li>PHP/HTML CODE TO ADD ENFOLD SEARCH ICON</li>"; //$output .= "<li>ADD WISHLIST ICON</li>"; //$output .= "<li>ADD LOGIN ICON</li>"; $output .= "<li class='cart_dropdown_first'>"; $output .= "<a class='cart_dropdown_link' href='".$link."'><span ".av_icon_string('cart')."></span><span class='av-cart-counter'>0</span><span class='avia_hidden_link_text'>".__('Shopping Cart','avia_framework')."</span></a><!--<span class='cart_subtotal'>".$cart_subtotal."</span>-->"; $output .= "<div class='dropdown_widget dropdown_widget_cart'><div class='avia-arrow'></div>"; $output .= '<div class="widget_shopping_cart_content"></div>'; $output .= "</div>"; $output .= "</li></ul>"; echo $output; }Now I want to add list items for search, wishlist, and login (look commented out code). While wishlist and login are simple because I can add simple links to the corresponding pages.
But how to create the correct Enfold search icon? What code do I need?The final result should look: result
Topic: accordion not working right
hi~
I am testing ‘accordion’ and it’s not working right while I am testing ‘search’ with.
could you please check this page?
–
wordpress version is 5.3 & enfold version is 4.6.3.1–
I have a test site that has same ground and on there ‘accordion’ working right.
(also with ‘search’)Hey guys,
Just uploaded and activated Enfold and I get this error message;
Fatal error: Can’t use method return value in write context in /public_html/wp-content/themes/enfold/framework/php/class-grecaptcha.php on line 490
I have no access to the website at the moment.
I’ve done my research and checked my PHP version. It is the latest version.Thanks
Hello,
there’s a problem with the search button in the main navigation.
On all subpages it works fine.
But on the startpage the search button isn’t visible. Complete<li>element is missing in code.In Enfold child settings -> main nav -> “add search to menu” is activated.
Do you have any solutions?
Thank you in advance.
BirgitI have researched this and tried many different variations of code that I got from the forums here in my functions.php. file.
I am using LearnDash LMS and need to have the option to select no sidebars and no related content or sharaholic mentions at the bottom of all the “posts” whether they be courses, modules, or lessons.
Natively, in LearnDash they are structured and called/considered courses – lessons – topics (but I changed the title of lessons to modules, and topics to lessons in the settings, not sure if that matters).Anyway, right now I have the advanced layout options available to me for creating new modules, but nothing else.
I’ll post some varieties of code I tried. Most recent is the latest recommendation from the Enfold documentations (not working):function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'sfwd-courses'; $supported_post_types[] = 'sfwd-lessons'; $supported_post_types[] = 'sfwd-topic'; $supported_post_types[] = 'sfwd-quiz'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1); function avf_metabox_layout_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'sfwd-courses'; $supported_post_types[] = 'sfwd-lessons'; $supported_post_types[] = 'sfwd-topic'; $supported_post_types[] = 'sfwd-quiz'; return $supported_post_types; } add_filter('avf_metabox_layout_post_types', 'avf_metabox_layout_post_types_mod', 10, 1);Here’s something else I tried:
/* * Add Advanced Layout Editor to LearnDash Custom Post Types */ //Add meta boxes to custom post types add_filter('avf_builder_boxes', 'avia_register_meta_boxes', 10, 1); function avia_register_meta_boxes($boxes) { if(!empty($boxes)) { foreach($boxes as $key => $box) { $boxes[$key]['page'][] = 'sfwd-courses'; $boxes[$key]['page'][] = 'sfwd-lessons'; $boxes[$key]['page'][] = 'sfwd-topic'; $boxes[$key]['page'][] = 'sfwd-quiz'; } } return $boxes; }Another one:
add_filter('avf_builder_boxes', 'add_builder_to_posttype'); function add_builder_to_posttype($metabox) { $post_types = array('sfwd-courses', 'sfwd-lessons', 'sfwd-quiz', 'sfwd-topic', 'sfwd-certificates' ); foreach($metabox as &$meta) { if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout') { foreach ($post_types as $post_type){ $meta['page'][] = $post_type; } } } return $metabox; }Another one:
/* Adds PageBuilder to LearnDash Post Types */ add_filter('avf_builder_boxes', 'add_builder_to_posttype'); function add_builder_to_posttype($metabox) { foreach($metabox as &$meta) { if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout') { $meta['page'][] = 'sfwd-courses'; $meta['page'][] = 'sfwd-lessons'; $meta['page'][] = 'sfwd-topic'; } } return $metabox; }Any suggestions? I am really coming down to the wire on my deadline for things, help is so appreciated!
Google search console alerts about Missing field “location” for single event page,
How to override so i can add “venue” tag ?
i tried adding this file and editing it, but no change.
/wp-content/themes/enfold-child/config-events-calendar/modules/meta/venue.phpis this correct ?
Thanks
Topic: WP Night Mode
Hello.
With the plugin WP Night Mode one can add wp-night-mode class to menu button, however that is not working.
By searching I can see that you have no official support for dark-mode but then there got to be support for plugins.Dark-mode is really popular today and our websites will not be state of the art if your themes does not support it.
Help us out please. Using Enfold Child.
Hello Enfold Support,
I was wondering if you could provide some custom CSS to change the font size of the Title and Excerpt on just the Search Results Page. At the moment, the title size is too big while the excerpt size is too small. Again, this is just for the search results page.
I tried searching if this was previously resolved, but I was unable to find anything.
Thank you.
Hello!
I have an Enfold site with Woocommerce. Google shows all products in search very nicely, but also with a date. It seems to take the date a review of a product was made. Very strange choice I think. It also takes space, the short description space is shorter then. So, I would like to have it removed in the search results.
Visitors don’t see this date on the site (as I have it as display no show), but it is still hidden in the source code. Google takes the info from “datePublished” of Woocommerce reviews.
Any suggestion to take out this datePublished info so it doesn’t show in Google? Maybe with some filter snippet code in functions.php? Thanks!
Topic: Help with Blog Layout
Hi Support,
I am working on a site listed in the private comments section. I want a specific layout in the Blog/Article section that I need help with.
There will be about 30 articles in different and crossover categories
1) I would like the category links to display center page under the title. Default would be ALL articles but user could select to display by category
( about 8)
2) I just want text links for the articles in three columns. Right now they are in boxes. Ultimately I would just like the link and the date underneath it.
When I set this to just a link in the Enfold Blog settings, I lost the rest of the article page formatting (masthead image, title, search field).
Thanks,
KeithI’ve spent hours trying to resolve this without success. Apologies if I’m repeating something already answered.
I’m running the Enfold theme and have installed WooCommerce to setup an online store. I have created a test product with a description and I have two issues on the actual product page when it’s open that I cannot resolve and therefore need your help.
1.) The first is the product ‘description tab’ styling and width. It is very wide and the ‘Description’ text is very small. When I add ‘Additional Information’ creating a second tab, I then get two tabs stacked one on top of the other. They’re not resizing automatically as I see elsewhere. Any suggestions?
2.) Beneath the product images I have a vertical list of items usually found in the sidebar of a blog page that includes the – Search Box, Recent comments, Archives, Categories and META in a list form. I don’t even want these showing on the product page at all.
I have provided a link in the private content box for you to see what I mean. I’d really value your assistance please.
Thank you so much.
Kind regards,
SteveHello,
I have a new problem with the ENFOLD theme (it is such a configurable theme that sometimes it is difficult to find the place to search).
On my French site everything is fine.
But on my Belgian site there is a problem.
Some pages of the main menu are displayed as categories!
————-
Example the “PRODUITS” page:
I have a “PRODUITS” page and a “PRODUITS” category (The PRODUITS page is part of the PRODUITS category). Other pages also belong to the “PRODUITS” category.
I made my main menu with the “PRODUITS” page.
But this page is displayed with the title:
“Archive for the category: PRODUITS” (Archive pour la catégorie PRODUITS, in french).
First, the text of the PRODUITS category is displayed and below, all pages of the same category “PRODUITS” are displayed in full.
————-
Not all pages do the same thing.
On 10 pages there are only 4 that do this.
I looked in the theme settings but I can’t find anything.
I changed the pages in the main menu but it didn’t change anything.
I don’t know where else to look.
Can you help me? Or give me some advice?
Thank you in advance for your answer.
Eric Bertolaso (Kidbert6).




