Forum Replies Created
-
AuthorPosts
-
November 11, 2024 at 7:16 am in reply to: Bugs in my Enfold theme? Updating homepage crashes it. #1471052
Hi,
Thank you for the update.
This contains invalid html:
< b >< u >WE'VE MOVED! VISIT US AT OUR NEW LOCATION: 2166 Shaw Avenue, Clovis.</ u >
The < b > tag was not closed properly. Please review the content of the page, check the html, and make sure all tags are closed properly
Best regards,
IsmaelHey onOfficeWP-Team,
Thank you for the inquiry.
There is no option for this by default. The privacy cookie feature can only control services that are internally loaded by the theme, such as the map, reCAPTCHA, and other services. Unfortunately, achieving the customization you described would require significant time and modifications to the theme, which is not covered by our support. However, if it is crucial for you to have this functionality implemented, you have the option to hire a freelancer who can assist with the customization. You can find freelancers who specialize in theme customization by visiting our customization page.
If you have any other questions or need further assistance, please feel free to let us know.
Best regards,
IsmaelHi,
We adjusted the font of the submit button and the padding as requested.
.avia_ajax_form .button { padding: 21px 50px; font-size: 15px; min-width: 200px; letter-spacing: 0.05em; font-weight: 400; font-family: 'open sans', Helvetica, Arial, sans-serif; padding-bottom: 23px; padding-top: 25px; }
Best regards,
IsmaelHi,
I think the best way is to make several gallerys with images in the same color.
Yes, this would be one way to go, as it’s not possible to sort the items by category when using the Masonry Gallery element.
Best regards,
IsmaelHi,
We removed the other button and adjusted the element as requested.
Best regards,
IsmaelHi,
I removed the 495px image from the equation to simplify matters.
Yes, but this size is still included in the srcset attribute and is being selected for display on smaller screens. Did you try the filter above? It will remove the size from the srcset attribute, forcing the browser to select a different size.
Best regards,
IsmaelHey hughie1,
Thank you for the inquiry.
Maps Javascript API
Geocoding API1.) This is included in the documentation: https://kriesi.at/documentation/enfold/google-map/#enable-services-for-google-api
2.) You can change the line color by setting the Styling > Colors > Heading Color to “Custom Color” and adjusting the value of the Custom Separator Line Color setting.
Best regards,
IsmaelNovember 11, 2024 at 6:31 am in reply to: /enfold/includes/helper-assets.php generates an error on line 374 and 382 #1471042Hi,
Thank you for the info.
Please looks for the av_video_assets_required function in enfold\includes\helper-assets.php file and replace it with the following code. Let us know of the result.
/** * Checks the entries for the current page for av_video, av_audio, <audio>, <video> and background video elements. * * @since 4.3 * @added_by Kriesi * @param array $assets */ function av_video_assets_required() { global $posts; // Check if we are editing a LearnDash topic and return early if true if ( is_admin() ) { $screen = get_current_screen(); if ( $screen && $screen->post_type === 'sfwd-topic' ) { return false; } } $used = false; if ( ! is_array( $posts ) ) { return $used; } /** * https://kriesi.at/support/topic/mediaelement-loading-on-every-page/ * Default values https:// https:// are regarded as video => extended $regex * * @since 5.6.7 */ $regex = "!\[av_blog|\[av_postslider|\[av_video|\[av_audio|\[av_player|\[audio|<audio|<video|video\=\'http[s]?:\/\/[^']?\S{2,}\'|video\=\"http[s]?:\/\/[^\"]?\S{2,}\"!im"; foreach ( $posts as $post ) { $matches = array(); $found = preg_match_all( $regex, $post->post_content, $matches, PREG_OFFSET_CAPTURE ); if ( ! empty( $found ) ) { $used = true; break; } $format = get_post_format( $post->ID ); if ( $format == 'audio' || $format == 'video' ) { $used = true; break; } } return $used; }
You can also set the Enfold > Performance > Self Hosted Videos And Audio Features (WP-Mediaelement Scripts) to “Always load media features” to avoid the check above.
Best regards,
IsmaelHi,
Thank you for the inquiry.
Is there a plugin installed that runs scheduled tasks regularly, such as database backups or cleaning? Temporarily, try to add this code in the functions.php file:
add_filter( 'avf_title_args', function( $args, $id ) { $title = get_the_title( $id ); $link = get_permalink( $id ); $args['title'] = ! is_wp_error( $title ) ? $title : __( 'Title not available', 'avia_framework' ); $args['link'] = ! is_wp_error( $link ) ? $link : '#'; if ( is_tax() || is_category() || is_tag() ) { global $wp_query; $term = $wp_query->get_queried_object(); $term_link = get_term_link( $term ); $args['link'] = ! is_wp_error( $term_link ) ? $term_link : '#'; } return $args; }, 10, 2 );
Best regards,
IsmaelNovember 11, 2024 at 6:06 am in reply to: Bugs in my Enfold theme? Updating homepage crashes it. #1471040Hey treemango,
Thank you for the inquiry.
Did you add html, shortcodes, or any custom code to the page? Please make sure that all html is valid and that all tags are properly closed.
Best regards,
IsmaelHi,
Thank you for the update.
Now it is stretched on desktop view. Agh, seems like all my product photos are messed up on desktop or mobile
You may need to wrap the code inside a css media query so that it only affects the desktop view.
@media only screen and (min-width: 768px) { /* Add your Desktop Styles here */ #top.page .product .thumbnail_container img { width: 63%; margin: auto; } }
And this Category section used to be 4up on Mobile view(see code below and screenshot attached) .
Did you add or remove a section on the page? The css rule needs to be adjusted because it currently uses a temporary selector, #av_section_4, which can change depending on the number of sections on the page. Instead, you can apply a custom ID (e.g., av-section-shop-category) to the color section element containing the shop category. To do this, go to Advanced > Developer Settings > Custom ID Attribute and add your custom ID. Then, adjust the css rule as follows:
@media only screen and (max-width: 767px) { .responsive .home #wrap_all #av-section-shop-category .flex_column { width: 48%; padding: 1%; } }
Best regards,
IsmaelHi,
Thank you for the update.
The background image is visible when we checked as shown in the screenshot (see private field). Please try to remove the browser history completely or check the page on a different browser.
Best regards,
IsmaelHi,
Thank you for the inquiry.
The Appearance > Theme File Editor is not accessible, so we’re unable to edit the functions.php file. Please add this filter to modify the layout of the archive or category pages:
add_filter('avf_blog_style','avf_blog_style_mod', 10, 2); function avf_blog_style_mod($layout, $context){ if($context == 'archive') $layout = 'single-big'; return $layout; }
Best regards,
IsmaelHi,
Sorry for the late response. Looks like the image with the size 495×279 is still being selected on smaller screens. Please try to add this code in the functions.php file to remove the size in the srcset attribute.
function avf_remove_specific_image_size_from_srcset( $sources, $size_array, $image_src, $image_meta, $attachment_id ) { foreach ( $sources as $source => $source_data ) { if ( strpos( $source, '495x279' ) !== false ) { unset( $sources[$source] ); } } return $sources; } add_filter( 'wp_calculate_image_srcset', 'avf_remove_specific_image_size_from_srcset', 10, 5 );
You can also disable the srcset completely by toggling the Enfold > Performance > Responsive Images option or by adding this code in the functions.php file:
add_filter( 'wp_calculate_image_srcset', '__return_false' );
Best regards,
IsmaelNovember 8, 2024 at 8:08 am in reply to: CSS in avia-style.min.css breaks MetaSlider – how to fix it? #1470882Hi,
Thank you for the update.
Am I right in thinking therefore that I can delete this file as it is no longer needed?
Yes, you can delete the minified or compressed file, as it will no longer be loaded by the theme since compression is disabled. Just make sure to create a site backup or restore point before doing so. To override the custom rule for the “li” element, you can add the css suggested above.
#main .entry-content-wrapper .metaslider-flex li { margin-left: 0em !important; }
Best regards,
IsmaelHi,
Great! Glad to know that you’ve found a working solution. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHey dreyerjm,
Thank you for the inquiry.
Edit the columns containing the button and apply the class name “av-column-relief-solutions” in the Advanced > Developer Settings > Custom CSS Class field. Then, use this css code to position the button at the very bottom of the container.
.av-column-relief-solutions .avia-button-wrap.avia-button-center { position: absolute; bottom: 0; width: 100%; }
You may need to adjust the height of the column or make the whitespace taller after adding this css.
Best regards,
IsmaelHi,
Great! Glad to know that this has been resolved. Please don’t hesitate to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHi!
Thank you for the screenshot.
Looks like you’ve already added featured images to the posts, but for some reason, they aren’t displaying in the actual posts. Please provide the login details in the private field so we can check the settings.
Regards,
IsmaelHey schwabino,
Thank you for the update.
The site loads fine on our end without crashing. However, we recommend splitting the videos into separate pages by category instead of grouping them all on a single page, as this may cause the page to crash on devices with lower specs.
Best regards,
IsmaelHi,
Thank you for the info.
You can add this css code to adjust the size of the images on smaller screens:
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .av-4htruh-aeabf568c97bc031467ccc24ed3ff2ab, .av-31x6k1-7fb95fe73764fba5b214f313d3f98aa7, .av-2b5ymp-559c7e72ca93c0db26ae73506c5bb616, .av-jmo1d-2e71f49f79ce34153a1617f697fe4d5a { max-width: 50%; } }
Best regards,
IsmaelNovember 8, 2024 at 6:27 am in reply to: Portfolio grid: pagination reduces the category filters #1470873Hey Christof_Deinhard,
Thank you for the inquiry.
This is one limitation of category sorting: it can only filter items already present on the page and “empty categories” or categories without related items will also not display. Implementing the customization you described would require a significant amount of time and modifications to the theme, which falls outside our support scope. However, if this functionality is essential, you may consider hiring a freelancer to assist with the customization. You can find theme customization specialists on our customization page.
If you have any other questions or need further assistance, please feel free to reach out.
Best regards,
IsmaelHi,
Thank you for the update.
The posts still have no featured images. Please check the private field. The images that you see there are added directly in the editor, which will not be automatically set as a featured image. You have to apply the featured images manually.
Best regards,
IsmaelHi,
Thank you for the update.
We edited the code in the Quick CSS field:
.avia_ajax_form .button { padding: 21px 50px; font-size: 15px; min-width: 200px; letter-spacing: 0.05em; font-weight: 700; }
Best regards,
IsmaelHey Lene,
Thank you for the inquiry.
We edited the css rules in the Appearance > Customize > Extra CSS panel:
.topKnap a { width: 140px; height: 52px; color: #fff; display: inline-block; text-align: center; text-decoration: none; margin-right: 6px; padding: 21px 50px; font-weight: 700; font-size: 15px; position: relative; float: right; min-width: 200px; letter-spacing: 0.05em; background-color: #55726f; border-radius: 50px; -moz-transition: 200ms all ease-in-out; -o-transition: 200ms all ease-in-out; -webkit-transition: 200ms all ease-in-out; transition: 200ms all ease-in-out; } .topKnap a:hover { background-color: #55726f; color: #fff; } .responsive #top #header #header_main .inner-container .widget .fas { color: #55726f !important; }
Best regards,
IsmaelHi,
Thank you for the update.
Did you check the “Define Blog Grid Layout” settings? Please provide the login details in the private field so that we can check the settings.
Best regards,
IsmaelHi,
Thank you for the inquiry.
You can manually change the publish date by editing the posts. Edit the post, look on the right side of the screen under the Publish section and find the published on date. There should be an an Edit link there. On the Block editor, just click on the current date to make the calendar popup.
Best regards,
IsmaelHey acardell887,
Thank you for the inquiry.
We didn’t hear any sound when we checked the page; the background video in the color section is muted. Please try testing it in incognito mode or with a different browser.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like there are no featured images assigned to the post (see private field). Please make sure to assign a featured image. Check the link below:
// https://wordpress.com/support/featured-images/#set-a-featured-image
Best regards,
IsmaelHey leloux,
Thank you for the inquiry.
Unfortunately, there is no option for this in the Masonry Gallery. Have you tried creating posts for each gallery item and assigning them to a specific category? You can then use the Masonry element and enable sorting by category.
Best regards,
Ismael -
AuthorPosts