Forum Replies Created
-
AuthorPosts
-
Hi,
It is actually working properly on our end (screenshots above), but for some reason it’s not working on your installation. It is also a minor modification, which relocates the position of the stylesheet or link element in the head tag. Please post the FTP details in the private field so that we can access the file server and test the modification.
Best regards,
IsmaelSeptember 30, 2021 at 2:08 am in reply to: After updated to 4.8.x: comments shortcode produces "comments are deactivated" #1322889Hi,
Try to add conditional functions inside the filter to toggle the comments on certain pages.
add_filter("comments_open", function($open) { if(is_wocommerce() || is_checkout() || is_cart()) { $open = false; } return $open; }, 9999, 1);This will disable the comments on Woocommerce pages including the shop, cart and checkout page.
Best regards,
IsmaelHi,
Thank you for the update.
You have to replace the following line of code, which contains the h1 tag or element.
if($description) $output .= "<h1>".$description."</h1>";This part contains the product category description wrapped within an h1 element.
"<h1>".$description."</h1>";You can replace h1 with another element or completely remove it.
Best regards,
IsmaelHi,
You are welcome! Please let us know in another thread if you need anything else.
Have a nice day.
Best regards,
IsmaelSeptember 30, 2021 at 1:50 am in reply to: Improve Tab Section UX – Make it Sticky or Show Tabs Above and Below Content #1322885Hi,
Did you create a new element above the tab section with the id or the name “click-to-see-meeting-points”? The anchor link is not supposed to change or open a tab, it will just move the document above the tab section. Unfortunately, you cannot open a tab using an anchor link.
Best regards,
IsmaelHi,
Thank you for the info.
Looks like the plugin is using the wc_price function or filter to adjust the price based on the active currency, but for some reason, when using the Purchase Button element, it is only returning the custom price (euro), but not the default regular price (chf). The shortcode is also using the get_price_html function to retrieve the current price, which is a wrapper for the wc_price function.
We have tagged one of our developers to check the issue. Please wait for his response.
Best regards,
IsmaelSeptember 28, 2021 at 11:19 am in reply to: Images (individual size) do not open in original size on Click #1322609Hey Christiane,
Thank you for the inquiry.
How did you add the image and apply the links? The original size of the image is not shown within the lightbox container because the image markup contains the sizes attribute, which limits the size of the image to the specified width.
We cannot reproduce the same issue on our end. We added the following html in a text block and it works as expected. It opens the image without the sizes attribute and displays it in its original size.
<a href="http://localhost:8000/wp-content/uploads/2021/09/morgan4.jpg"><img class="alignnone wp-image-19 size-medium" src="http://localhost:8000/wp-content/uploads/2021/09/morgan4-300x300.jpg" alt="" width="300" height="300" /></a>Best regards,
IsmaelHey carlosdopico,
Thank you for the inquiry.
Unfortunately, this option is not available out of the box. The portfolio grid element does not support multiple level of filters. You may need to look for a posts plugin that offers that kind of functionality and replace the portfolio grid element.
// https://wordpress.org/plugins/wp-ultimate-post-grid/
// https://wordpress.org/plugins/the-post-grid/Best regards,
IsmaelHi,
Thank you for the info.
. It will not follow the sorting in the grid layout either, unless the posts are sorted by date.
The plugin will not affect the order the post nav because it is using the get_adjacent_posts functionIf you need to reverse the previous and next arrows, adding this code in the functions.php file should work.
add_filter("avf_post_nav_loop_args", function($args, $settings) { $args["orderby"] = array( 'post_date' => "ASC", 'ID' => "ASC"); return $args; }, 10, 2);Best regards,
IsmaelHey annevoelkel,
Thank you for the inquiry.
Did you disable the default layer slider from the Enfold > Layout Builder > Integrated (Bundled) LayerSlider Plugin settings? You can also remove the default plugin files and the default sliders completely but you will no longer have access to the sliders in the future, at least not without re-importing the demo or manually adding them in the database.
Best regards,
IsmaelHi,
Yes, please try use @Guenni007’s solution instead of the previous code that we suggested.
Best regards,
IsmaelHi,
Thank you for the update.
That is the default shorcode of the Page Content element. The value “page,12” in the link attribute represents a page with the ID 12. You can enable the debug mode to see the actual shortcodes below the Advance Layout Builder (ALB).
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode
Best regards,
IsmaelHey ratputin,
Thank you for the inquiry.
We are not yet sure why the icons are not displaying correctly, but we can see the following error in the console, which might be related to the issue.
Uncaught SyntaxError: Invalid or unexpected tokenCan we deactivate the plugins temporarily? You should also toggle or temporarily disable the Enfold > Performance > File Compression settings to regenerate the scripts and stylesheets.
Best regards,
IsmaelSeptember 28, 2021 at 5:34 am in reply to: Could not connect to the internet. Please reload the page and try again #1322565Hey go4win,
Thank you for the inquiry.
Looks like you had lost connection while checking the private key. Please provide the Envato key in the private field so that we can test it on our end. You should also upgrade PHP to version 8.0, before doing the demo import again.
We may need to reset the database before attempting to import the demo again. Is that alright?
Where is the site hosted? You might have to ask your hosting provider to whitelist this IP address (85.13.149.161) to allow connection to the source of the demo files.
Best regards,
IsmaelSeptember 28, 2021 at 5:19 am in reply to: Mix-Blend-Mode an image over the top of a colour section. #1322563Hey Thedogscreative,
Thank you for the inquiry.
This is not going to work with columns and color section because of how the containers are stacked up. The main color section container is not the direct parent of the columns, so the css property mix-blend-mode if applied to the column container or its content will not affect or will not blend in with the color section background.
// https://developer.mozilla.org/en-US/docs/Web/CSS/mix-blend-mode
Markup:
<div class="example-container"> <img id="example-element" src="../../media/examples/firefox-logo.svg" width="200" style="mix-blend-mode: hard-light;"></div>The mix-blend-mode property is applied to the image element, which works as expected because the example-container which has an orange background, is the direct parent of the image element.
Best regards,
IsmaelHey neotel2k,
Thank you for the inquiry.
Which element does the warnings or errors pertains to? You may need to adjust the space between the elements with css. Please provide more info about the warnings so that we can understand the issue better.
Best regards,
IsmaelHey navindesigns,
Thank you for the inquiry.
Have you tried using the Page Content shortcode in the widget area? Looks like the page layout is broken. It is possible that there are invalid markup in the widget or there are unclosed html tags. Creating a custom page and displaying it using the Page Content is safer and is less prone to code errors because you will only be using a single line of shortcode.
[av_postcontent link='page,12' av_uid='av-ku2m2bik' sc_version='1.0']Best regards,
IsmaelHey jetsaveurs.com,
Thank you for the inquiry.
The h1 tag is declared in the wp-content/themes/enfold/config-woocommerce/config.php file around line 1177 within the function named avia_woocommerce_parallax_banner. Look for this code.
$output .=' <div class="container">'; $output .='<main class="template-page content av-content-full alpha units">'; if($description) $output .= " <h1>".$description."</h1> "; $output .='</main></div> </div> </div> ';Best regards,
IsmaelHey top1projects,
Thank you for the inquiry.
1-2.) You can display a different slider element on mobile view by toggling the Element Visibility options in the Advanced > Responsive Settings panel. You can hide the current slider on mobile view, display a different slider and use images that are specifically resized for smaller screens. You can also use a full screen slider if you want a slider that automatically inherits the view port height.
Best regards,
IsmaelSeptember 27, 2021 at 8:54 am in reply to: Header Layout: Logo left, Widgets right, menu below #1322433Hey misterman,
Thank you for the inquiry.
You have to update the theme to version 4.8.6.3 first before doing the modifications described in the previous thread. After the update and after adding the css code, make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings to regenerate the scripts and stylesheets. The update should also revert the Appearance > Widgets panel to its classic display and fix the errors.
Best regards,
IsmaelHey Yory,
Thank you for the inquiry.
You can use this code in the Quick CSS field to adjust the direction of the text on a specific page.
.single.postid-2416 { direction: ltr; }The number 2416 in the css code above is the ID of the post. Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
No problem. Unfortunately, you cannot use the advance layout builder (ALB) to adjust the layout of the archive pages. You will have to manually edit the archives.php template for that. Another solution is to create a custom category page using the ALB, then do a 301 redirect to display the custom page instead of the default archive page. The following plugin should help.
// https://wordpress.org/plugins/eps-301-redirects/
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelHey bobfurgo,
Thank you for the inquiry.
There should be no next post because NYC is the latest post and the very last item in the list. It will not loop back to the oldest post.
Did you modify the post navigation? We were not able to check because the Appearance > Editor panel is not accessible.
Best regards,
IsmaelHi,
You do not have to do the modification again because it was directly done in the template file (test template). We just removed the following container.
<div class="container"> // content here</div> <!-- close .container -->Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
Yes, please post the WordPress and FTP login details in the private field so that we can check the issue properly. We may need to adjust the product shortcodes so that it can properly retrieve prices with different currencies generated by the plugin.
Best regards,
IsmaelHi,
Your first suggestion was to change the JS file enfold/config-templatebuilder/avia-shortcodes/toggles/toggles.js. Is that change still necessary or shall I go back to the original JS file?
You can now revert the modifications in the toggle.js file. The “no-scroll” class name was added directly in the toggle content as we mentioned above. Unfortunately, you may need to hire a freelance developer if you need to adjust or extend the default behavior of the toggle.
Best regards,
IsmaelHi,
Thank you for the update.
You may need to add the css code that @Guenni007 suggested above to fix the link alignment. Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the code.
.phone-info a { display: inline-block }Best regards,
IsmaelSeptember 27, 2021 at 4:18 am in reply to: Set layout builder Template as default when creating new post #1322399Hi,
It is possible but you will have to create your own routine using the aviaSaveBuilderTemplate class. Before post creation or on transition_post_status, you could trigger a function that retrieves a specific template and subsequently applies it to the newly created post. Unfortunately, this is beyond the scope of support. You may need to hire a freelance developer or contact our partner, Codeable.
Best regards,
IsmaelHi,
We modified the themes > enfold > includes > loop-index.php file via the Appearance > Editor panel and replaced line 143.
//echo preview image if( strpos( $blog_style, 'big' ) !== false || strpos( $blog_style, 'custom' ) !== false )To increase the size of the logo on mobile, please add this code in the Quick CSS field.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .responsive .logo img { max-height: 150px; } .responsive #top .logo { height: 150px !important; } .responsive #top #header_main>.container .main_menu .av-main-nav>li>a, .responsive #top #wrap_all .av-logo-container { height: 150px; line-height: 150px; } .responsive #top #header .main_menu .social_bookmarks { display: block; position: relative; margin-top: 20px; } }If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelHi,
Thank you for the clarification.
We adjusted the filter in the functions.php file a bit and used the get_the_term_list function. You will now see a list of categories below the title. (see private field)
/*add category titles*/ add_filter("avf_post_slider_entry_excerpt", function($excerpt, $prepare_excerpt, $permalink, $entry) { $excerpt = get_the_term_list($entry->ID, "category", '', ', ') . "<br>" . $excerpt; return $excerpt; }, 10, 4);Best regards,
Ismael -
AuthorPosts
