Forum Replies Created
-
AuthorPosts
-
July 20, 2023 at 11:50 pm in reply to: Blog page, masonry. I want to put all categories at top #1413874
Hi,
Can you link to your page so we can see your page? If I was correct that you are refuring to the masonry “sort” which shows the list of categories above the items, then there is not a css solution that would show all of the categories if you want them to be clickable and sort the masonry items, neither would sorting the categories work if added to a sidebar element.
But if you just want to add the categories widget to the sidebar, then you could do that easily, I’m just not sure if you expect them to “sort” the masonry element.
If you want to add a sidebar to your page with the masonry element, you would set the sidebar in the page layout, for example this demo page has a sidebar with the masonry element. This is what the backend looks like:
To have a grid layout that is order by date try setting your theme settings to Enfold Theme Options ▸ Blog Layout ▸ Blog Layout ▸ Use the advance layout editor to build your own blog layout (simply edit the page you have chosen in Enfold->Theme Options as a blog page)
then edit your blog page to have a sidbar and add the blog posts element to the page and choose the grid layout:
Best regards,
MikeJuly 20, 2023 at 11:13 pm in reply to: Problem spam email from contact form Efold (even after I deleted the form) #1413873Hi,
I have not heard of this before but it does make sense, because hiding it visually doesn’t hide it from bots which searchs the page source code.
Glad to hear that you have now deleted it, but I would install the plugin Blackhole for Bad Bots to ban the bot that is scanning your site.
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeJuly 20, 2023 at 5:31 pm in reply to: Blog page, masonry. I want to put all categories at top #1413850Hey gatehealing,
Thanks for your patience, as I understand your question you are using the masonry element with the sorting option which shows the categories at the top of the element, and since you are only showing 12 items for each pagination page all of your categories are not showing until you go to another page, unfortunately the masonry element can only show the categories for the posts loaded, to show more categories you can increase the number of items shown or manually change the date of one post from each category so your first 12 items shown will be one from each category.
But when the sorting (category) links are clicked more items are not loaded, only those already loaded will sort.
So the best option is to show more items so many from each category will be shown.Best regards,
MikeJuly 20, 2023 at 5:16 pm in reply to: Problem spam email from contact form Efold (even after I deleted the form) #1413849Hi,
Thank you for your patience, I have not seen this before and the only way I can imagine is that the spammer is injecting the php summit via a url directly.
I would recommend installing a plugin like Banhammer to try to identify the IP address that is sending the spam from your site and ban them.
Spammers typically use software to do these types of attacks on your site and will contenue even if the form is not working, since your site is just one of hundreds in their list, it would be best to block their IPs so your hosting resources are not used.Best regards,
MikeHi,
maxgorelkine glad to hear that you have sorted this out, shall we close this thread then?Best regards,
MikeHi,
To change your “Share this post on” to a “p” tag try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function change_share_elem_title_to_p_tag() { ?> <script> (function($) { $(function() { function replaceElementTag(targetSelector, newTagString) { $(targetSelector).each(function(){ var newElem = $(newTagString, {html: $(this).html()}); $.each(this.attributes, function() { newElem.attr(this.name, this.value); }); $(this).replaceWith(newElem); }); } replaceElementTag('h5.av-share-link-description', '<p></p>'); }); }(jQuery)); </script> <?php } add_action('wp_footer', 'change_share_elem_title_to_p_tag');
Best regards,
MikeHi,
Glad to hear that you have this sorted out with Günter’s 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 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,
Thank you for your patience, try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function skip_google_map() { ?> <script> (function($) { setTimeout(function(){ $('.avia-google-maps').each(function() { $(this).prop('tabIndex', -1); $(this).prop('aria-hidden','true'); }) $('.avia-google-maps *').each(function() { $(this).prop('tabIndex', -1); $(this).prop('aria-hidden','true'); }) $('.avia-google-maps .gm-style *').each(function() { $(this).prop('tabIndex', -1); $(this).prop('aria-hidden','true'); }) $('.avia-google-maps .gmnoprint').each(function() { $(this).prop('tabIndex', -1); $(this).prop('aria-hidden','true'); }) $('.av_gmaps_sc_main_wrap').each(function() { $(this).prop('tabIndex', -1); $(this).prop('aria-hidden','true'); }) $('.av_gmaps_sc_main_wrap *').each(function() { $(this).prop('tabIndex', -1); $(this).prop('aria-hidden','true'); }) $('.av_gmaps_sc_main_wrap .gm-style *').each(function() { $(this).prop('tabIndex', -1); $(this).prop('aria-hidden','true'); }) $('.av_gmaps_sc_main_wrap .gmnoprint').each(function() { $(this).prop('tabIndex', -1); $(this).prop('aria-hidden','true'); }) },3000); }(jQuery)); </script> <?php } add_action('wp_footer', 'skip_google_map');
I tested this on a page with the google map element as a full width element at the top of the page and as another element in a column on Windows in Chrome, Firefox, & Edge and Mac in Safari, Chrome, Firefox
This worked on all except Windows Firefox which would tab to the map marker and then out to the next element on the page. The map marker has set the tabindex=”0″ and while the script changes this to tabindex=”-1″ in all other browsers including Firefox on Mac, it doesn’t in Windows, so I believe this is a Firefox bug, but it is small for this case as it is only one tab.
Since the Google Maps inner elements fully load slowly I had to add the delay (settimeout) to 3 seconds to change all of the inner elements, you can try adjusting to a lower number but in my tests 3 seconds seemed to work best.
If you have any trouble with this make sure you are not defuring your jQuery.
Try checking on my test page linked below, I added some css to highlight the elements focused to help spot the tabbed elements.Best regards,
MikeHi,
The Dev Team has this patch and plans to release an update with the fix over the next few days.
Thank you for your patienceBest regards,
MikeJuly 18, 2023 at 12:33 pm in reply to: Youtube video shows on some pages and black box on others #1413593Hi,
Thanks for the feedback, I’m not sure why this is occuring, I thought perhaps during the update an error occurred and left some old files behind, this typically occurs when someone tries to “overwrite” the theme files to update, that is why I asked you to try deleting the theme folder via FTP and upload a new one.
I’m not experiencing the error on my test site, but you seem to have it on a few sites except one, are try all on the same server, do they all use the same plugins?
Have you tried disabling all of your plugins? Are you using a CDN or server caching like object-oriented cache, or are they all using the same PHP version?
It looks like a couple of your sites have some event listeners to defer javascript, stylesheets, & iframes in Scripts/CSS and wp_head hook
perhaps this is blocking the YouTube iframe from loading?Best regards,
MikeJuly 18, 2023 at 12:00 pm in reply to: avia_animate_when_visible : how to hamper – or to change offset #1413586Hi,
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 17, 2023 at 8:56 pm in reply to: Hintergrundbild in Farb-Sektion auf IOS / iPad wird nicht sauber dargestellt #1413536Hi,
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,
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,
MikeHey Advantage09,
I found this code on stackoverflow here:google.maps.event.addListener(MAP, "tilesloaded", function(){ [].slice.apply(document.querySelectorAll('#map a')).forEach(function(item) { item.setAttribute('tabindex','-1'); }); })
give this a try.
Best regards,
MikeHi,
Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top #main .inner_product_header { min-height: 170px; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHey Richard,
Thanks for your patience and the link to your example, I would look to use javascript to do this because after the last panel the rest of the page scrolls normally.
I didn’t try to recreate it, but I found this stackoverflow post that looks promising and it also links to a couple of other solutions, I hope this helps.Best regards,
MikeHi,
Thanks for your patience and the screenshots, I’m not sure whee this text is coming from, adding a title to the contact form doesn’t work and I’m not able to reproduce this on my test site, but I adding this css to your Quick CSS and now it doesn’t show anymore.#top.page-id-329 .avia-builder-el-2 h3 { display: none; }
Please clear your browser cache and check.
Best regards,
MikeJuly 16, 2023 at 10:25 pm in reply to: Wp Rocket broke my hamburger menu, tags and accordion #1413435Hi,
Thanks for your patience, I have not used Wp Rocket REMOVE UNUSED CSS, but from articles I have read it causes problems, it would probably be better to not use this option but if you want to use it try excluding these classes:
main_menu
menu-item-avia-special
av-hamburger
av-hamburger-box
av-hamburger-inner
av-burger-overlay
av-burger-overlay-scroll
av-burger-overlay-inner
av-active-burger-itemsBest regards,
MikeHi,
Thank you for the link to your site, I see that your gallery is about 400px square with very little space between them while your other images are 300px square with a lot of space between them, so to match these try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top.home div .avia-gallery img { padding: 50px; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
To remove the fallback icon try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.main_color .fallback-post-type-icon { display:none; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
Glad Nikko was 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,
MikeHey woogie07,
You can set the font weight, typically the H1 font-weight is 600, so you could set it higher with css link this:#top #main .avia-caption-title { font-weight: 900; }
But this also depends on your font, not all fonts have the same available font weights.
Another option is to add text shadow to the title to make it look thicker and stand our more:#top #main .avia-caption-title { text-shadow: 2px 2px 1px #000; }
Best regards,
MikeHi,
Thank you for the link to your site, I see that you are using the masonry element and are using “Sorting” and pagination with the post limited to 11.
So what happens is the masonry element gets the first 11 posts ordered by date, and then the categories for those 11 posts are shown in the “sorting”, so as you “load more” posts more categories are shown to sort with.
Since you have 236 posts and 12 active categories you could change the pagination post limit to a higher number that shows all of your posts, perhaps something like 22.
If your post in all of the categories are not well mixed, you may choose to cacge the post date on some of the very old categories so they will be available for your sorting with a lower post limit.Best regards,
MikeHey zimbo,
I have compared /class-avia-combo.php in v5.5 & v5.6.4 and don’t see anything that would prevet you from adding a comma after'order' => 'desc'
after popular / recent / comments code blocks and adding your code:
I don’t use Dreamweaver so I don’t know why it would show you an error, I use VS Code and don’t see any errors.Best regards,
MikeJuly 16, 2023 at 8:24 pm in reply to: avia_animate_when_visible : how to hamper – or to change offset #1413423Hi,
To have the icon circle animate earlier try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function custom_alb_element_animation( $class_animation, array $atts, aviaShortcodeTemplate $sc, $shortcodename ) { if( $shortcodename != 'av_icon_circles' ) { return $class_animation; } return 'av-custom-animated-top-99'; } add_filter( 'avf_alb_element_animation', 'custom_alb_element_animation', 10, 4 );
Best regards,
MikeJuly 16, 2023 at 6:48 pm in reply to: Hintergrundbild in Farb-Sektion auf IOS / iPad wird nicht sauber dargestellt #1413421Hey pagemod,
Thank you for your patience, unfortunately I don’t have an actual iPad so I tested on my Mac with Safari in Responsive Design Mode to emulate an iPad, but I didn’t find any issues.
I see that the first page that you said looked corporation the top image was set to scroll, while the page with the issue has it’s image fixed for a parallax effect, for many years Safari didn’t handle parallax correctly but recently Safari has fixed this issue, so I assume that you have an older iPad with the error.
Try updating your iPad & Safari and see if this solves. If not this could be due to some iPads are locked to a certain software version and may not be able to use the latest Safari fix.Best regards,
MikeHi,
Thank you for your patience, I didn’t see the error you referenced above but I did see errors on your page for Optima Express, Query Monitor, & Yoast SEO but deactivating these didn’t correct the text element. Since you had the Avia Layout Builder Debugger enabled I was able to check your page with the Enfold Shortcode Parser and it found no errors, so I copied your page to my test site and I found that you had a div closing tag but no opening tag
So I corrected this for you. I examined your other text block element on the page and see that you added div tags around your content:
If you add these please be careful that you ensure any extra tags are closed properly, if you didn’t intend to add these then perhaps you copied the content from somewhere and pasted into the “visual” tab of the editor, in these cases please also check the “text” tab to ensure that extra tags are not being added.
Best regards,
Mike -
AuthorPosts