Forum Replies Created
-
AuthorPosts
-
Hi,
Thanks for the login, originally I was under the impression that we were talking about a portfolio item, so after testing the solution above was for a portfolio item, but I see that you are using a masonry element to show posts. I couldn’t find a similar solution for this, but I did find a plugin that works Shortcodes Anywhere or Everywhere if the In Post/Page Custom Fields option is used. I first tested this with a simple date shortcode, but using a button shortcode breaks the masonry element.
If you notice the whole masonry block, excerpt and image, is already linked to the item, so you can not add a button to the excerpt that includes a link.
I assume that you understand that this, so I came up with a different solution for you, I replaced your shortcode in the manual excerpt with this:
[buttoncode]
then I added this to your child theme functions.phpfunction custom_masonry_excerpt_button_script() { ?> <script> var masonryExcerpt = document.querySelector(".av-masonry-entry-content.entry-content"); masonryExcerpt.innerHTML = masonryExcerpt.innerHTML.replace("[buttoncode]", '<span class="avia-button avia-icon_select-yes-left-icon avia-size-small avia-position-center avia-color-theme-color"><span class="avia_button_icon avia_button_icon_left" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span><span class="avia_iconbox_title">Click me</span></span>'); </script> <?php } add_action('wp_footer', 'custom_masonry_excerpt_button_script');and now the button shows.
You can adjust the button html in the script above to suit, if you want help with this please post the button you want to use on a test page so I can copy the html and adjust the script for you.Best regards,
MikeHi,
Please disable your wpfc cache plugin, and then clear your browser cache.
If this doesn’t help then please include an admin login.Best regards,
MikeFebruary 25, 2022 at 9:52 pm in reply to: Socket Styling Keine Spalten, Text untereinander, columns below eachother #1342338Hi,
The word “Bookmarks” in your footer is from a widget, please check. The login token link above is not working, please check.Best regards,
MikeHi,
Thanks for the feedback, on Chrome it shows red for me, the screenshot above was from Chrome.
Please try this code in the General Styling ▸ Quick CSS field#top #wrap_all #main.all_colors h2.avia-caption-title { color: #fff; }and then clear your browser cache.
I see that your wpfc-minified cache is still enabled, after you add the css above please clear this cache.Best regards,
MikeHi,
Oh I see, I thought you ment the site logo, but you ment the TeamViewer logo. Ok so I removed the previous topbar link and css and created a menu item with your TeamViewer link and added this css to use the TeamViewer logo image instead of the menu item text.li#menu-item-1431 { width: 30px; background-image: url(https://www.chispasupport.ch/wp/wp-content/uploads/2022/02/icons8-teamviewer-30.png); background-size: contain; background-repeat: no-repeat; background-position: 50% 50%; } li#menu-item-1431 a { opacity: 0; }please clear your browser cache and check.
Best regards,
MikeHi,
Please include admin login and FTP access in the Private Content area so we can be of more assistance.Best regards,
MikeHey StuWeTueHo,
Thank you for the link to your site, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:.av-magazine-time,.av-magazine-author-wrap,.av-magazine-cats-wrap,.av-magazine-tags-wrap { display: none; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHey Vera,
Thanks for your question, but unfortunately this is not possible because the category links in the masonry are not real links, they are triggered by javascript after the page is loaded so you can not link to them directly from the menu.Best regards,
MikeHey tammiviestinta,
Thank you for the link to your site I tested in Windows in Chrome, Firefox, & Edge and in all the title is red and the caption is white, please see the screenshot in the Private Content area.
Perhaps try clearing your browser cache, or disable your caching plugin and clear your browser cache again.Best regards,
MikeHi,
The options in the Enfold Theme Options ▸ Header ▸ Header Layout ▸ Menu and Logo Position offer Logo left as you have it or Logo right, but it moves the menu to the left

If we were able to please the logo between the last menu item and the language selector, would you still want the menu to the right?
I imagine there would be no change in the mobile logo and menu, correct?Best regards,
MikeHey condonpb,
For version 4.9 in avia-shortcodes > portfolio > portfolio.php find this in line 1128:
$output .= ! empty( $excerpt ) ? "<div class='grid-entry-excerpt entry-content' " . avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false, 'id' => $the_id, 'custom_markup' => $custom_markup ) ) . ">{$excerpt}</div>" : '';
change to this:
$output .= ! empty( $excerpt ) ? "<div class='grid-entry-excerpt entry-content' " . avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false, 'id' => $the_id, 'custom_markup' => $custom_markup ) ) . ">".do_shortcode($excerpt)."</div>" : '';Best regards,
MikeHi,
For version 4.9 in avia-shortcodes > portfolio > portfolio.php find this in line 1128:
$output .= ! empty( $excerpt ) ? "<div class='grid-entry-excerpt entry-content' " . avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false, 'id' => $the_id, 'custom_markup' => $custom_markup ) ) . ">{$excerpt}</div>" : '';
change to this:
$output .= ! empty( $excerpt ) ? "<div class='grid-entry-excerpt entry-content' " . avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false, 'id' => $the_id, 'custom_markup' => $custom_markup ) ) . ">".do_shortcode($excerpt)."</div>" : '';Best regards,
MikeFebruary 25, 2022 at 12:57 am in reply to: Issue with Blog Title Showing on Blog Page when using columns #1342201Hey condonpb,
The title showing above the gallery was an error that was corrected in v4.9, please update and clear your browser cache and any cache plugins and check again.Best regards,
MikeFebruary 24, 2022 at 11:59 pm in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1342194Hi,
Glad we were able to work this out together, 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,
MikeFebruary 24, 2022 at 2:07 pm in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1342149Hi,
Thanks for sharing your script, there seems to be an error in my filter but I couldn’t find it so I removed it and adjusted the message script to use your MasTag and this seems to work fine, see the two links below.
You can remove the$('#av-masonry-1.projectgallery').addClass(MasTag);from your script as this is not needed, only thevar MasTagis used for the message script to match the child element tags.
This is what is now in your functions.php, please check.function empty_masonry_message_script() { ?> <script> (function($) { if( $('body.single-product').length || $('body.anotherclass').length ){ var BreadTrail = $(location).attr("href"); var BreadTrailx = BreadTrail.replace('https://staging.idgadvertising.com/tiletech/product/concrete-pavers/', ''); BreadTrailx = BreadTrailx.replace(/\/$/, ""); BreadTrailx = BreadTrailx.replace(/\//g,"-"); console.log(BreadTrailx); if (BreadTrailx.indexOf("porcelain-pavers") >= 0) { var PageTitle = $('.rightside .av-special-heading h1.av-special-heading-tag').text(); PageTitle = PageTitle.toLowerCase().replace(/ /g, '-'); var MasTag = 'tag-'+PageTitle; console.log(MasTag); $('#av-masonry-1.projectgallery').addClass(MasTag); } else { var MasTag = 'tag-'+BreadTrailx; console.log(MasTag); $('#av-masonry-1.projectgallery').addClass(MasTag); } } var nocat = $('<div class="nocat">No Current Projects</div>').css({'text-align':'center','font-size': '20px'}); $('#av-masonry-1 .av-masonry-container.isotope a').each( function() { if (!$(this).hasClass(MasTag)) { $(this).css({'display':'none'}); } }); if($('#av-masonry-1 .av-masonry-container.isotope a').is(':hidden')){ $(nocat).appendTo('#av-masonry-1'); } })(jQuery); </script> <?php } add_action('wp_footer', 'empty_masonry_message_script');Best regards,
MikeHi,
Thank you for sharing your solution, 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,
The problem was the unclosed div in the screenshot above, the closing div tag below all of the shortcode was the builder’s attempt to correct the unclosed div above, the builder just didn’t know where to place the closing tag.
So if you only removed the closing div tag below all of the shortcode you will want to also remove the open tag above or the error will return.
You will manually need to correct this because the error is caused (in part) by the automatic correction, but the real problem is the unclosed tag.
I don’t believe this is a result of an update, it could be that the page or element has not been edited since the error occured as it is on the next edit that the builder would run it’s “check” and try to fix the page structure. It’s hard to say.Best regards,
MikeFebruary 23, 2022 at 2:13 pm in reply to: Socket Styling Keine Spalten, Text untereinander, columns below eachother #1342005Hi,
Thanks for the feedback, you should not need to add any elements above the layerslider for the page structure to be correct.
I tested on my demo site below using the layerslider element and the layerslider shortcode in a code block element and a text block element, as I recall most of your layersliders are shortcodes in code block elements.
Perhaps you have an open html tag in your layerslider, like a strong tag or a div?
If you have a damaged element template then every page you use it on will be also damaged.
I also tested your page shortcode on my demo site, linked below, and while it doesn’t include your sliders or styling it doesn’t break the footer, so I’m not sure.If you are having trouble updating you can also update your version of Enfold by downloading the latest version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New

after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue

then you will see the Theme updated successfully message.
Best regards,
MikeFebruary 23, 2022 at 1:36 pm in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1341996Hi,
It looks like you have 207 portfolio tags with no items, are you in the process of adding items or assigning these tags to items?
Once each of these tags are assigned to at least one item the No Current Projects solution will not be used.Best regards,
MikeFebruary 23, 2022 at 4:42 am in reply to: How to show "No items" if a certain portfolio tag is empty in Masonry Gallery #1341910Hi,
Thanks for the login, Wood Chevron Oak doesn’t have any items, please see the first screenshot in the Private Content area.
But in testing other pages I did find an error on a different page.
I think that since each of your items have multiple tags this script is not filtering them correctly, perhaps a better solution would be to create a dummy No Current Projects portfolio item with an image that says this and apply the tags for empty portfolio items, so these items show this instead of all of the items.Best regards,
MikeFebruary 23, 2022 at 1:51 am in reply to: Sidebar not showing up on WooCommerce category page #1341888Hi,
Glad to hear that you have this sorted out, thanks for sharing your solution, 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,
MikeFebruary 22, 2022 at 3:21 pm in reply to: Socket Styling Keine Spalten, Text untereinander, columns below eachother #1341796Hi,
Thank you for the login, I have found that your page structure is not correct but it is correct on the blog page and a test page I created /test-footer-page/
the #footer div is outside the #wrap_all div, typically this occurs when there is an unclosed div on the page, so I tried to copy the page and remove the elements one at a time to find the error but the error remained until all elements were removed and then it was corrected.
Please try updating to Enfold version 4.9 which came out yesterday, and change my users language to English, I didn’t have access to do this and was having some trouble.
I see that you have most of the page elements as templates, so please try adding one template element at a time to a test page and save and then check on mobile for the footer widgets to be full width like on my test page, this will be a sign that the page structure is correct.
If you find a template that causes the footer widgets to be next to each other like on your homepage then this element has an error in it.Best regards,
MikeFebruary 22, 2022 at 1:27 pm in reply to: Bug: Checkout Error WooCommerce Compatibility 4.8.1 #1341790Hi,
The Dev Team has corrected the two files:
/enfold/config-woocommerce/config.php
/enfold/config-woocommerce/config-356.php
below is a DropBox link to them, you can replace your file with these via FTP.
This has been merged into the master, but unfortunately didn’t make the v4.9 release, so it will be in the next release.Best regards,
MikeHey!
We will need to wait for Smush to correct this, so in the meanwhile if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Cheers!
MikeHey Markus,
I expanded on the solution from your other thread, now the compleate solution in your functions.php is this:function blog_categories_above_entry_title() { ?> <script> (function($){ $( 'article.post-entry' ).each(function() { $( this ).find( '.blog-categories.minor-meta' ).css({'top':'unset'}).insertBefore( $(this).find('.slide-entry-title.entry-title').css({'padding-top':'0'})); $( this ).find( '.entry-footer .slide-meta time' ).insertAfter( $(this).find('.slide-entry-title.entry-title').css({'padding-bottom':'0','margin-bottom':'0'})); $( this ).find( '.slide-entry-excerpt.entry-content' ).css({'margin-top':'10px'}); $( this ).find('.blog-categories.minor-meta a:contains("Steuerberatung")').css({'color':'#b29653'}); $( this ).find('.blog-categories.minor-meta a:contains("Rechtsberatung")').css({'color':'#b4593c'}); $( this ).find('.blog-categories.minor-meta a:contains("Wirtschaftsberatung")').css({'color':'#45838d'}); }); })(jQuery); </script> <?php } add_action('wp_footer', 'blog_categories_above_entry_title');Please check.
Best regards,
MikeFebruary 21, 2022 at 1:29 pm in reply to: Bug: Checkout Error WooCommerce Compatibility 4.8.1 #1341627February 21, 2022 at 1:00 pm in reply to: Move horizontal gallery navigation arrows below the gallery #1341619Hi,
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,
Mike -
AuthorPosts


