Forum Replies Created
-
AuthorPosts
-
Hi,
For the scrolling stutter on mobile, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:@media only screen and (max-width:767px) { #top #wrap_all .av_mobile_menu_phone { position:absolute!important } }After applying the css, please clear your browser cache and check.
Best regards,
MikeHey schweg33,
Do you mean this one: https://kriesi.at/support/topic/include-javascript-in-the-head/
I reopened it for you, if your site is not loading because of an error in your functions.php then use FTP or your web host file manager to remove the code from your functions.phpBest regards,
MikeJuly 2, 2022 at 11:44 pm in reply to: Enfold CSS/JS merging function still not working properly #1357100Hi,
Thanks for the login, I found that you had a PHP function in your Quick CSS:

add_filter('avf_magazine_excerpt_length','avf_magazine_excerpt_new_lenght', 10, 1); function avf_magazine_excerpt_new_lenght($excerpt) { $excerpt = 100; return $excerpt; }I removed this but merging still doesn’t seem to be working, is this site using object-oriented cache such as Memcached, Redis, Varnish, Litespeed, etc. if so please clear the server level cache as the function above may still be in the object cache.
Best regards,
MikeHi,
Thank you for the link to your site, if you notice in your screenshot the editor font is different than the preview font, the preview shows what it should look like on your site, while the font in the editor is loaded by the WordPress TinyMCE editor, it is not ment to be a visual depiction of the front end:

If you want to use the font “Georgia” for all of your H2 headings you can choose this in the Enfold Theme Options ▸ General Layout ▸ Heading Font

or if you only want it in your H2 headings choose it in Enfold Theme Options ▸ Advanced Styling ▸ H2

After applying the change, please clear your browser cache and check.Best regards,
MikeHey delmonte,
Thanks for your question but unfortunately you will need to change the order of your form to do this.Best regards,
MikeHey blaircomm1,
Try targeting the mfp-iframe-scaler like this:.mfp-iframe-scaler { width: 100% !important; max-width: 100% !important; height: 100vh !important; max-height: 100vh !important; } .mfp-iframe-holder .mfp-content { max-width: 90vw!important }After applying the css, please clear your browser cache and check.
Best regards,
MikeJuly 2, 2022 at 8:59 pm in reply to: Inline POPUP Enabler – popup backcground opacity and color #1357090Hi,
Thank you for your patience and the link to the GitHub project, I first noticed that the project has an option to define a button on line 72 by adding the attribute to the shortcode like this:
[mfp_post_popup post_slug_id="3460" popup_id="1" link_text="Popup Button" button="true"]
in the project on line 105 you will see it has an image attributeimage_linkso it will allow an image like this:
[mfp_post_popup post_slug_id="3460" popup_id="2" link_text="" image_link="/wp-content/uploads/2015/07/portfolio-2-2-260x185.jpg"]
notice the link_text=”” is empty for the image, without the empty attribute the default is “Click Me”

Now considering that your goal is:to create a portfolio page style by clicking on the image from the main page, then loading the pop-up window in which more detailed information is shown as a scrolling popup window.
I tested this GitHub project on some portfolio items and found that full width elements break it and display some the target page below the footer on the trigger page, it works fine if the target page has no full width elements.
If you are going to have full width elements on the target page why not just use a button or image with
?iframe=truein the link?

you could use css like this to make the lightbox larger:.mfp-iframe-scaler { width: 100% !important; max-width: 100% !important; height: 300vh !important; max-height: 300vh !important; } .mfp-iframe-holder .mfp-content { max-width: 90vw!important }and use the theme options to hide the footer and header on the target page:

So since you want to create a grid of images that link to pages that show in a lightbox, I don’t see an advantage to using this GitHub project to create a grid of shortcodes when you could use the image elements to do it without errors.
Another built-in option would be to use the portfolio ajax, true it’s not a lightbox but it loads the content on the same page.For the example page you linked to, I didn’t find any lightbox popups on it, each grid image that I clicked loaded a new page, perhaps you meant to link to a different page.
Best regards,
MikeHey Chris_85,
Thanks for your question, but unfortunately there would not be a reasonable solution from our end to work with this plugin’s option because it replaces the <img> tags with <picture> tags, and thus the theme’s scripts and css in the elements would need to be rewritten, not just the Horizontal Gallery element, but all of the elements that use images.
Note that the plugin points out that this may break some themes:

Try using the plugin’s first option which adds rewrite rules to your site’s configuration file instead.Best regards,
MikeHi,
Thank you for the link to your site, I see that you have used custom css to hide the checkout col-2, this is where the shipping information is located.
Please disable your custom css to for the checkout and clear your cache and check again.Best regards,
MikeJuly 2, 2022 at 2:32 pm in reply to: Notification when embeded youtube video isn't shown because of cookies. #1357076Hey Garrfild,
Thank you for your patience, please try using a Choose a preview/fallback image in the video options with the message embeded:

this is the image I created for this example, feel free to download and use:

On my example page linked below, the video now shows this message before the cookies are allowed.
Please note that you will need to use the Enfold Theme Options ▸ Privacy and Cookies ▸ Advanced Options ▸ Auto Reload Page so the page will reload and the video to show.

Best regards,
MikeHi,
Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeJuly 1, 2022 at 1:12 pm in reply to: Font-size in search result list pages, editing of search-result pages, e #1357009Hi,
You can add a Horizontal Ruler Separator shorcode in a custom HTML widget in your sidebar, here is an example:

to reduce the padding and margin around the separator use this css in your Quick CSS:#main .sidebar .widget_custom_html { padding: 0; } #main .sidebar .widget_custom_html .custom-html-widget .hr-short { margin: 0; }Best regards,
MikeJuly 1, 2022 at 12:38 pm in reply to: Inconsistent loading times for portfolio pages and blog posts #1357006Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Guenni007 thank you for sharing, I agree that it is not practical which is unfortunate because for Chrome, Edge, Safari it was a simple and easy css solution.
As you pointed out if the image is a direct child of the background-image container then it works good.For future readers that want to try this with a code block element that will work in all browsers:
<div> <img src="/wp-content/uploads/2022/06/BV-Associates-Banner-Main-1.jpg"> <img src="/wp-content/uploads/2022/06/badges.jpg" style="position: relative;top: -300px;left: 100px;mix-blend-mode: multiply;"> </div>Best regards,
MikeHi,
Ok, sorry that we were not more help with this, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeJune 30, 2022 at 6:26 pm in reply to: Font-size in search result list pages, editing of search-result pages, e #1356976Hi,
Thanks for the feedback, as I understand the “display everywhere” widgets are only for the search result pages and the “sidebar blog” widgets are only for blog posts?
I would recommend using the Widget Options plugin it will allow you to assign conditional logic to where the widget items show.Best regards,
MikeHi,
Guenni007, I don’t think this is what whdsolutions was trying to achieve, unless I misunderstood.
He is trying to use the mix-blend-mode CSS property for an image on an image, similar to this

here the logos (badges) have the original white background:

originally on his site the layerslider did this, so he was trying to duplicate it with a color section and imagine element, currently he has changed the layerslider to use a transparent background image like you suggested.
Your solution works great and a transparent background image is easier to use, but I found it interesting that the css mix-blend-mode could do this.
Do you have any ideas for my example to work with firefox?Best regards,
MikeHi,
Guenni007 in your example did you use an png with a transparent background for the logos?Best regards,
MikeHey whdsolutions,
Thank you for your patience, I was albe to achieve this similar to your layerslider which is using an image that has the overlay in the image:

I placed the background image in a color section with the custom class “mix-blend-mode” and added a 1/2 column with a special heading and image element with your logo image:

then I added this css:#top #main .mix-blend-mode > .container, #top #main .mix-blend-mode > .container .avia_image { mix-blend-mode: multiply; }with successfully results:

I linked to my test page below, please give this a try.Best regards,
MikeHi,
Sorry, I don’t know about that, you will need to ask a google support member.Best regards,
MikeHi,
Thank you, I’m not sure why this is occurring, I’ve asked the rest of the team for ideas, perhaps one has seen this before or can advise.
Thank you for your patience.Best regards,
MikeJune 28, 2022 at 1:42 pm in reply to: Increase the quality of the images (image list) in the Ajax portfolio preview #1356723Hi,
To add a new folder to the child theme directory called shortcodes you will need to do so with FTP or your web host “file manager” you can’t do this from inside WordPress.
If you include your login to your web host we could help, or you could ask your web host support to create the directory for you and copy the modified file to it as explained above.Best regards,
MikeHi,
Thanks for the feedback I have adjusted the script to this:function limit_words_script() { ?> <script> (function($){ $('#top.post-type-archive-product .template-shop .products.columns-3 .product .inner_product').contents().filter(function() { return this.nodeType == 3 }).each(function(){ var words=45 if (this.textContent.length > 347) { this.textContent = this.textContent.split(" ",words).join(" ") + "..."; } }); })(jQuery); </script> <?php } add_action('wp_footer', 'limit_words_script');To understand how this works please note that since the script doesn’t know “words” and words are different lengths the script counts the spaces between the words to equal the desired “45”, the conditional property “length” counts characters, so in my test with
console.log(this.textContent.length)for your language the average character length for 45 spaces, or words, is 347.Best regards,
MikeHi,
Thanks for the feedback, please try updating your theme to v5.0.1 by downloading the latest version from your Theme Forest account and uploading it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New as outlined above.
I don’t believe that this is the root cause, but we should rule it out as a possibility.
It probably is something to do with your Google account but I don’t know why since you have an active billing account and you followed the steps to create an API key.Best regards,
Mike -
AuthorPosts


