Forum Replies Created
-
AuthorPosts
-
August 16, 2023 at 6:41 pm in reply to: Follow up to “After update to Enfold 5.6.5, Advance Layerslider post title… #1416425
Thank you! I hope the full release is soon.
August 9, 2023 at 4:10 pm in reply to: After update to Enfold 5.6.5, Advance Layerslider post title no longer appearing #1415933@Yigit Thank you. You emailed it to me on a different post. I appreciate it.
Got it. Thank you.
August 9, 2023 at 1:42 am in reply to: After update to Enfold 5.6.5, Advance Layerslider post title no longer appearing #1415873Could I get a response to my last reply, please? Will you be fixing this issue in an update? Do you have a fix I can implement now? Thanks.
Following up. Any chance of getting that 5.6.3 download, or code I can add to 5.6.2 to fix the issue? Thanks.
I’ve encountered this bug on my website, but unfortunately due to a different bug (reported in another thread), I cannot currently update my site to 5.6.5 without causing major problems. Is there any way that I could gain access to a download of 5.6.3, so that I can get the bug fix for the dropdown issue without the other bug? Or perhaps you could just provide me the relevant code to fix the dropdown issue, as a bandaid solution?
August 7, 2023 at 3:25 am in reply to: After update to Enfold 5.6.5, Advance Layerslider post title no longer appearing #1415671I encountered exactly the same issue upon updating from 5.6.2 to 5.6.5. Completely breaks our post meta Advanced LayerSlider, which has worked perfectly for several years. On our slider, the slide uses the post image as background image, and also fetches the title, excerpt, and url (as text blocks and a button). In the LayerSlider editor, it’s populating the data perfectly and rendering it visually. However on the actual web page, it’s all blank, instead showing a blank white background and broken shortcodes. (The issue can’t have anything to do with HTML layers, as the slide background isn’t treated as a layer at all. Also, I tried using an HTML layer for the title instead of a Text layer, but that didn’t do anything either.) We “fixed” the site by rolling back to 5.6.2. See the private content for a link to our live site (5.6.2), and screenshots of both the correct behavior. Screenshot of the broken 5.6.5 version: https://prnt.sc/KGoOo_nQL2h4
February 1, 2021 at 12:04 am in reply to: ‘social profiles – zusätzliche Icons hinzufügen’ – mehrere icons- wie möglich #1276617Howdy!
I have looked at this thread as well as https://kriesi.at/support/topic/apple-music-spotify-amazon-social-icons-in-the-menu-bar/
I understand how to implement these, however, I want to add an icon for https://mewe.com/ which does not appear to have an icon yet in any of the font packages.
Do you have a recommendation for how I could add this icon with a link as a social profile in the header and footer without the font icon? Like, with a png?
Thanks!
That appears to have worked.
I deleted the error_log, made the suggested change in slideshow_layerslider.php, cleared my browser cache, accessed the site on desktop and mobile. No new error_log was created.
Will this be fixed in a future version of Enfold?
Thanks for the help!
Thank you, Ismael.
Are you suggesting I edit slideshow_layerslider.php ?
I looked at the height as set in wp-admin/admin.php?page=layerslider&action=edit&id=2#slider-settings > Canvas Height
I only have whole numbers set there. No units of measurement.
Line 146 of /home/user/domain/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php is
$params['style'] = " style='height: " . ( $height + 1 ) . "px;' ";
So, no one wants to venture a guess as to what is causing the php error “A non-numeric value encountered”? Might the error be caused by something we have programmed incorrectly into our slider? Is it something systemically wrong with Enfold coding in this file?
Should the error not be fixed or addressed, rather than ignored?
Thanks!
[24-Nov-2020 16:52:31 UTC] PHP Warning: A non-numeric value encountered in /home/user/domain/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider/slideshow_layerslider.php on line 146
PHP 7.4 as a major release has been around since November 2019.
Also, PHP 7.4 is the recommended version for WordPress.
I know it works. That’s not the issue. It’s generally not good practice to use out-of-date plugins.
Shouldn’t Kriesi be suggesting a different plugin? I am looking for recommendations.
Perfect! Just what I needed.
Thank you so much!
@Guenni007 Thank you. That might work. Can you please tell me how to exclude the current post from the post slider? Or are you saying that is default behavior?
Yow. Thank you. That’s nutso, though. Forcing 100% quality on an image that has already been compressed doesn’t make any sense. It does not improve the quality of the original, and only makes the site harder to download using cellular data.
By way of comparison, an original image with a file size of 330k, for the 1320×748.jpg thumbnail / featured image, at 100% is bloated to 1 MB, and at 80% compression is reduced to 206k, with no visible difference in the image.
At any rate, thank you for finding that for me. Adding this to functions.php in the child theme was the answer. Compression rate is changed by adjusting where it says “return 80”. In this example, 80 is 80% compression.
/** * Sets the default image to 100% quality for more beautiful images when used in conjunction with img optimization plugins * * @since 4.3 * @added_by Kriesi */ function av_return_100(){ return 80; } add_filter('jpeg_quality', 'av_return_100'); add_filter('wp_editor_set_quality', 'av_return_100');
Thank you, Victoria, but, unless I missed something in those posts, these do not address my issue.
I want to keep all the thumbnails, but when they are created, many of them have file sizes considerably larger than the original. It is the file size issue that is problem.
I am running the latest version of everything, and php is using imagick. Image optimizer plugins do not solve this issue.
Is there anything that can be done about this?
Thank you.
I decided to just stick with a 2-column product slider for the mobile landscape. So nevermind, I guess.
Here is the the complete customization for a WooCommerce product slider with one product column at a time:
1. Edit /enfold-child/functions.php by adding
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
2. In /enfold-child/ create folder “shortcodes”
3. Copy productslider.php from /enfold/config-templatebuilder/avia-shortcodes/productslider/ to /enfold-child/shortcodes/
4. Edit /enfold-child/shortcodes/productslider.php at line 240 by adding
__( '1 Column', 'avia_framework' ) => '1',
above
__( '2 Columns', 'avia_framework' ) => '2',
5. Edit /enfold-child/style.css by adding
div .shop_columns_1 .products .product { width: 100%; }
6. In the Product Slider (Plugin Additions) in Avia Layout Builder, 1 column will now be an option under the style tab.
Thanks for all the help!
- This reply was modified 4 years, 5 months ago by perfectword. Reason: Trying to fix code
Awesome! Almost there!
Ismael, the css you gave me
div .shop_columns_1 .products .product { width: 100%; }
works great everywhere except on mobile landscape for some reason. On mobile landscape, the product only takes up half the screen. Please see screenshot at link.
Thank you!
Thank you very much, Ismael! That worked.
I am having trouble, however, implementing in the child theme.
I reverted /enfold/config-templatebuilder/avia-shortcodes/productslider/productslider.php to the original file, then copied the modified version through CPanel File Manager to /enfold-child/config-templatebuilder/avia-shortcodes/productslider/productslider.php but now my modification to allow a 1 product column is no longer available in Avia Layout Builder.
What am I doing wrong?
Thanks!
Thank you. How about screen shots instead?
The product slider is in a 1/2 column.
This first screen shot is displaying 4 products (columns) at a time on the slider. The four products take up the full width of the column.
The second screen shot is displaying 1 product (column) at a time on the slider. The single product only takes up 1/4th of the width of the column. In order for this customization to be useful, it needs to take up the full width of whatever area it is in.
Thank you!
So in /enfold/config-templatebuilder/avia-shortcodes/productslider/productslider.php I inserted
__( '1 Column', 'avia_framework' ) => '1',
at line 240, and I was able to select 1 column in the product slider style tab, but on the webpage itself, it displays at the same width as a single product would as if 4 columns were selected. It’s a quarter of the width of the 1/2 column layout element that the productslider is in.
Can anyone offer an idea how to get the productsider to expand to full width of the area it is in with a single product being displayed at a time?
Thanks!
I’m not sure where I would find a plugin that would modify the Enfold product slider.
I understand if no one here is inclined to take a stab at it, but could someone maybe give me a hint where I could find the code that makes the product slider? I’m willing to give it a whirl.
Thanks!
Thanks, Victoria.
That’s not a bad solution, but I lose the price, add to cart button, etc.
I’m really looking for a function or some other custom code that will allow the product slider to have only 1 column.
Thanks!
Hi Victoria,
Thanks for the reply!
That’s not exactly what I mean. I mean I just want to display one product at a time, then it would slide to another product.
I’m talking about on the styling tab of the product slider where you select the number of columns to display, which is presently 2 to 5.
https://prnt.sc/s7gzynI just want to display one column.
(I am running 4.7.3.)
Hi Nikko,
I appreciate the offer, but there is nothing unique to my installation, nor is there an error to diagnose, that would require you to login.
I am just looking for a customization to the product slider that would work on any wp installation running enfold and woo commerce.
Thanks!
March 27, 2020 at 11:31 pm in reply to: Problem with Hide on medium sized screens (between 768px and 989px) #1198486This is a feature of the Avia Layout Builder, so I think that means it’s Enfold.
Isn’t this something that should be fixed in Enfold, or maybe someone could provide me with a fix?
Thanks
March 27, 2020 at 8:24 pm in reply to: Problem with Hide on medium sized screens (between 768px and 989px) #1198424Thank you, Jordan.
Do you know if this is a WordPress or an Enfold issue?
Also, would there not be some kind of function or css that could be written to globally fix the “Hide on medium sized screens (between 768px and 989px – eg: Tablet Landscape)” and “Hide on small screens (between 480px and 767px – eg: Tablet Portrait)” advanced settings?
And am I the only one who has noticed this?
Thanks!
Yep. Thanks.
-
AuthorPosts