Forum Replies Created

Viewing 30 posts - 12,601 through 12,630 (of 34,887 total)
  • Author
    Posts
  • in reply to: Adding Shortcode to Excerpts #1342344

    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.php

    function 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,
    Mike

    in reply to: Different caption colors on different browsers #1342340

    Hi,
    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,
    Mike

    Hi,
    The word “Bookmarks” in your footer is from a widget, please check. The login token link above is not working, please check.

    Best regards,
    Mike

    in reply to: Insert Logo to Topbar #1342337

    Hi,
    Sure, I adjusted, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Different caption colors on different browsers #1342295

    Hi,
    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,
    Mike

    in reply to: Insert Logo to Topbar #1342292

    Hi,
    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,
    Mike

    in reply to: Adding Shortcode to Excerpts #1342279

    Hi,
    Please include admin login and FTP access in the Private Content area so we can be of more assistance.

    Best regards,
    Mike

    in reply to: Maganize can not hide category and tag. #1342277

    Hey 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,
    Mike

    in reply to: Add masonry sort options to menu #1342276

    Hey 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,
    Mike

    in reply to: Different caption colors on different browsers #1342274

    Hey 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,
    Mike

    in reply to: Insert Logo to Topbar #1342273

    Hi,
    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
    2022-02-25_001.jpg
    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,
    Mike

    in reply to: Adding Shortcode to Excerpts #1342204

    Hey 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,
    Mike

    in reply to: shortcode in excerpt new version Enfold? #1342203

    Hi,
    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,
    Mike

    in reply to: Issue with Blog Title Showing on Blog Page when using columns #1342201

    Hey 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,
    Mike

    Hi,
    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,
    Mike

    Hi,
    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 the var MasTag is 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,
    Mike

    in reply to: force footer to the bottom of the screen #1342141

    Hi,
    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,
    Mike

    in reply to: Issue in Backend #1342006

    Hi,
    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,
    Mike

    Hi,
    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
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    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
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    Hi,
    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,
    Mike

    Hi,
    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,
    Mike

    in reply to: Sidebar not showing up on WooCommerce category page #1341888

    Hi,
    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,
    Mike

    Hi,
    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,
    Mike

    in reply to: Bug: Checkout Error WooCommerce Compatibility 4.8.1 #1341790

    Hi,
    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,
    Mike

    in reply to: Dealing with a bug with easy loading #1341720

    Hey!
    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!
    Mike

    in reply to: Post Slider Date #1341645

    Hey 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,
    Mike

    in reply to: Bug: Checkout Error WooCommerce Compatibility 4.8.1 #1341627

    Hi,
    Thanks for pointing this out, I submitted it to the Dev Team.

    Best regards,
    Mike

    in reply to: Move horizontal gallery navigation arrows below the gallery #1341619

    Hi,
    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

    in reply to: Form fields not sizing down on mobile #1341561

    Hi,
    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

    in reply to: Issue in Backend #1341551

    Hi,
    Thank you for the pastebin, you had an unclosed div which broke the layout, below is the corrected pastebin
    2022-02-20_011.jpg
    2022-02-20_012.jpg

    Best regards,
    Mike

Viewing 30 posts - 12,601 through 12,630 (of 34,887 total)