Forum Replies Created
-
AuthorPosts
-
September 9, 2021 at 3:46 am in reply to: [av_three_fifth first] appearing on a pages I'm trying to edit #1320162
Hi,
@snitt: We cannot reproduce the issue on our end, so it might be caused by certain configurations or due to third party plugins. Please open a new thread and post the site details in the private field so that we can inspect the issue further.Best regards,
IsmaelSeptember 9, 2021 at 3:40 am in reply to: Color Section Won't Display Background Image, just white #1320161Hey adventos,
Great! Nice to know that it is fixed. It was probably an issue with the new post-css file, which is where the background of the color section will now be declared. Please toggle or temporarily disable the Enfold > Performance > File Compression settings after every update and make sure to purge the cache.
Let us know if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Glad to know that you figured it out. Please let us know if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
The icon fonts are located in the enfold/config-templatebuilder/avia-template-builder/assets/fonts folder, but we would not recommend removing it because it is widely used across the the theme both front and backend. We would suggest replacing only the icons in the elements that you are actually using and keep the default icon fonts.
Best regards,
IsmaelHey manweb,
Thank you for the inquiry.
Yes, the theme automatically assigns the selected Primary color or Highlight color to those elements, but we can use css to apply a different color if necessary. Would you mind providing a screenshot of the elements that you would like to adjust, or provide a link to the shop page so that we can inspect the elements?
Best regards,
IsmaelHi,
Thank you for the info.
Using the do_shortcode function might be enough to properly render the shortcodes that is within the $content but first you will have to allow builder elements to be executed outside the ALB or the builder. Try to add this snippet in the functions.php file.
function avf_custom_exec_sc_only_mod( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake ) { return true; } add_filter( 'avf_alb_exec_sc_only', 'avf_custom_exec_sc_only_mod', 10, 6 );
Best regards,
Ismael3ff3Hey profumopuntoit,
Thank you for the inquiry.
Are you going to add magazine elements on different pages? If that is the case, you can replace the function that retrieves the sticky post with the get_post function and use the is_page conditional function to check for the current page. Look for this line..
$sticky = get_option( 'sticky_posts' );
.., and replace with:
$sticky = get_option( 'sticky_posts' ); if(is_page(11)) { $sticky = get_post(123); }
The code above will check if the page has the ID 11 and assign the post with the ID 123 as sticky post.
Best regards,
IsmaelHi,
Thank you for the update.
We created a test page and added two contact forms, one with reCAPTCHA v2 enabled and the other with v3. We are able to send messages using both contact forms without encountering any errors. Please check the screenshot below.
Screenshot: https://imgur.com/93S1H90
However, we noticed that the theme is not yet updated to the latest version. Please update the theme to version 4.8.6.1, disable the cache plugin, and turn off the Performance > File Compression settings temporarily.
Best regards,
IsmaelHi,
Thank you for the update.
The Siteground Optimizer plugin may have its own minification or compression settings, so you will have to disable those settings first before enabling the default file compression settings from the theme. You could also keep the theme’s default compression settings disabled and use the compression feature of the plugin instead Either way should work fine.
Best regards,
IsmaelHi,
Thank you for the info.
Try to wrap the paragraphs or each line inside a paragraph tag with a class attribute. Example.
<p class="av-ar-line">Something important here.</p> <p class="av-ar-line">Something more important here.</p> <p class="av-ar-line">Something very important here.</p>
Make sure to close the tags properly because they could break the layout of the email message.
Best regards,
IsmaelHey graffi,
Thank you for the inquiry.
You can use the avia_breadcrumbs_trail filter to adjust the breadcrumb trail. Usage examples can be found in the following threads.
// https://kriesi.at/support/topic/problem-with-breadcrumb/#post-1289346
// https://kriesi.at/support/topic/change-breadcrumb-home-location/#post-1311343
// https://kriesi.at/support/topic/structured-data-for-enfold-breadcrumb-shortcode/#post-1306452Best regards,
IsmaelHi,
No problem. Let us know if you need anything else.
Have a nice day.
Best regards,
IsmaelHey onedesignprint,
Thank you for the inquiry.
The flash occurs after the last slide because the first slide fades in again above a blank white background. We could minimize the effect by adjusting the slide background based on the main or distinctive color of the first image in the slide, which is green or #3d715f in this case.
.main_color.avia-fullwidth-slider { background-color: #3d715f; }
Try to add the code in the Quick CSS field or the in the child theme’s style.css file. You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards.
Best regards,
IsmaelSeptember 8, 2021 at 9:01 am in reply to: Improve Tab Section UX – Make it Sticky or Show Tabs Above and Below Content #1320076Hey edukate1,
Thank you for the inquiry
We could set the tab title to stick to the top when scrolled, but the changes might affect the layout of other pages. If you would like to continue, try this css code in the Quick CSS field.
.av-tab-section-tab-title-container.avia-tab-title-padding-default { position: sticky; top: 0; z-index: 1000; } .av-tab-section-outer-container, #wrap_all, html.responsive, html.responsive body { overflow: visible !important; }
Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
Try to look for this block of code around line 815 in the postslider.php file.
if( $show_meta ) { $taxonomies = get_object_taxonomies( get_post_type( $the_id ) ); $cats = ''; $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array( 'post_tag', 'post_format' ) ); $excluded_taxonomies = apply_filters( 'avf_exclude_taxonomies', $excluded_taxonomies, get_post_type( $the_id ), $the_id ); if( ! empty( $taxonomies ) ) { foreach( $taxonomies as $taxonomy ) { if( ! in_array( $taxonomy, $excluded_taxonomies ) ) { $cats .= get_the_term_list( $the_id, $taxonomy, '', ', ', '' ) . ' '; } } } if( ! empty( $cats ) ) { $meta_out .= '<span class="blog-categories minor-meta">'; $meta_out .= $cats; $meta_out .= '</span>'; } }
Replace it with:
if( $show_meta ) { $taxonomies = get_object_taxonomies( get_post_type( $the_id ) ); $cats = []; $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array( 'post_tag', 'post_format' ) ); $excluded_taxonomies = apply_filters( 'avf_exclude_taxonomies', $excluded_taxonomies, get_post_type( $the_id ), $the_id ); if( ! empty( $taxonomies ) ) { foreach( $taxonomies as $taxonomy ) { if( ! in_array( $taxonomy, $excluded_taxonomies ) ) { $cats[] = get_the_terms( $the_id, $taxonomy ); } } } if( ! empty( $cats ) ) { $cat_walk = ''; $cat_class = 'stray'; foreach($cats[0] as $cat) { if(in_array($cat->name, array("kitty", "pussy", "catty"))) { $cat_class = "pets"; } $cat_walk .= "<a class='". $cat_class . "' href='" . get_term_link($cat->term_id) . "'>" . $cat->name . "</a>"; } $meta_out .= '<span class="blog-categories minor-meta">'; $meta_out .= $cat_walk; $meta_out .= '</span>'; } }
This line checks if the term name is in the array using the in_array function and change the class accordingly.
if(in_array($cat->name, array("kitty", "pussy", "catty"))) { $cat_class = "pets"; }
Best regards,
IsmaelSeptember 8, 2021 at 8:19 am in reply to: Hide Related Products on Individial Page Snippet Check #1320068Hi,
Thank you for the update.
You can use conditional functions within the hook to limit the changes to the specified products.
// https://developer.wordpress.org/reference/functions/is_single/
Example:
if(is_single(1234)) { // remove the related section }
This will remove the related section in the product page with the ID 1234.
Best regards,
IsmaelHey Michael,
Thank you for the inquiry.
You can use this css code to remove the space below the meta bar on mobile screens.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ #top.tribe-theme-enfold.single-tribe_events .av-single-event-meta-bar-inner { display: block; } }
Best regards,
IsmaelSeptember 8, 2021 at 1:39 am in reply to: Images & Gravity Forms Not Loading, Unformatted HTML, Slow Page Loads #1320031Hi,
Thank you for the update.
We can now view the site but we cannot access the dashboard using the previous WP account above. Did you change it? We also tried to access the file server but it seems to be restricted to a blank directory, which does not contain the staging site. Please make sure that the FTP account above has the correct permission to access the root directory of the staging site.
Screenshot: https://imgur.com/91fARC3
Is there any way that we can access the site without editing our hosts file? We do not usually do it here and we would prefer if we do not have to edit our host file just to view a site.
Best regards,
IsmaelSeptember 8, 2021 at 1:23 am in reply to: Changing the 'Elegant' font size in the Accordion Element #1320030Hey Matt,
Thank you for the inquiry.
There are special fields in the Accordion element’s Advanced > Developer Settings panel where you can apply class names or a unique ID to the element. You can then use these class names or ID to create custom css rules in order to adjust the style of that specific element. Please check the following documentation for more info.
// https://kriesi.at/documentation/enfold/add-custom-css/
This should also help.
// https://css-tricks.com/how-css-selectors-work/
Best regards,
IsmaelHey Technohead,
Thank you for the inquiry.
Would you mind providing a screenshot of the issue? The team section looks perfectly fine on a browser device emulation as shown in the screenshot below. But you may need to adjust the width of the team member description and have it float or positioned to the right of the parent container on very small screens.
Screenshot: https://imgur.com/RIp7Wh7
You can add this css code to re-adjust the width of the description container.
@media only screen and (max-width: 479px) { .team-member-description { float: right; width: 60%; } }
Best regards,
IsmaelHey Dave,
Thank you for the inquiry.
Looks like you have already managed to remove the unwanted heading. How did you fix it? Let us know if you need more help.
Best regards,
IsmaelHey Tobias,
Thank you for the inquiry.
You can use this filter in the functions.php file to sort the masonry gallery item in descending order.
add_filter("avia_masonry_entries_query", function($query) { $query["order"] = "DESC"; return $query; }, 10, 1);
Please make sure to purge the cache after adding the snippet.
Best regards,
IsmaelSeptember 7, 2021 at 7:52 am in reply to: Enfold contact form / text block – Warning …HTML markup..special characters… #1319936Hi,
Thank you for the update.
You have to use the Special Character Translation plugin as mentioned in the documentation and use placeholders instead of the actual brackets. Unfortunately, you cannot use those characters in the builder because they could break the shortcodes.
Best regards,
IsmaelHey elskeletto1,
Thank you for the inquiry.
The masonry element does not have an infinite scrolling option ever since. It has been always a load more button. Are you sure that you were not using a third party plugin before?
Best regards,
IsmaelSeptember 7, 2021 at 7:43 am in reply to: Secondary menue not showing current page that you are on #1319934Hey Jason,
Thank you for the inquiry.
We are not able to access the site because the SSL certificate is invalid. Please ask your hosting provider to fix the certificate.
To adjust the color of the active item in the secondary menu, try to add this code in the Quick CSS field.
#top .header_color .sub_menu ul li a:hover, .header_color .sub_menu ul:first-child > li.current-menu-item > a, .header_color .sub_menu ul:first-child > li.current_page_item > a, .header_color .sub_menu ul:first-child > li.active-parent-item > a { color: #000000; }
Best regards,
IsmaelSeptember 6, 2021 at 6:55 am in reply to: Images & Gravity Forms Not Loading, Unformatted HTML, Slow Page Loads #1319838Hi,
Thank you for the info. We tried to access the test site using the address above but it does not exist. Would you mind asking your hosting provider to generate an FTP account for the server?
Best regards,
IsmaelSeptember 6, 2021 at 6:49 am in reply to: Prevent Google Font loading before OPT-In (GDPR / Data Privacy) #1319837Hi,
I was actually referring to the font (Open Sans) that is loaded when using the map element. This is the default font used by the map.
Setting the Default Cookie Behavior to the third option should also block Google Fonts or the font that was selected in the Enfold > General Styling > Fonts panel.
And which fonts can I then safely (means they do not collect any IP addresses e.g.) use for your Theme?
There are Websafe Fonts (Arial, Helvetica) in the fonts settings. You can also upload font files to your server using the Enfold > Import/Export > Custom Font Manager. Please check the documentation for more info.
// https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts
Best regards,
IsmaelHi,
No worries. Please let us know if you need anything else. We will close this thread for now.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
Why are you using the wp_cache_add function? Looks like you are using the actual definition of the get_the_terms function. Usage examples of the get_the_terms function are located at the bottom of the documentation.
Example:
$terms = get_the_terms( get_the_ID(), 'on-draught' ); if ( $terms && ! is_wp_error( $terms ) ) : $draught_links = array(); foreach ( $terms as $term ) { $draught_links[] = $term->name; } $on_draught = join( ", ", $draught_links ); ?> <p class="beers draught"> <?php printf( esc_html__( 'On draught: <span>%s</span>', 'textdomain' ), esc_html( $on_draught ) ); ?> <?php endif; ?>
Best regards,
Ismael -
AuthorPosts