Forum Replies Created

Viewing 30 posts - 6,541 through 6,570 (of 35,206 total)
  • Author
    Posts
  • in reply to: H1 headings on Archive pages for Accessbility #1415815

    Hi,
    If you only want the title to show on archive pages I would recommend selecting Enfold Theme Options ▸ Header ▸ Header Layout ▸ Header Title and Breadcrumbs and then use css to hide it from all page except archives, linke this:

    #top:not(.archive) .title_container .main-title.entry-title {
    	display: none;
    }

    Then I assume you will want to remove the text before the title on archive pages like Archive for category: , Tag Archive for: , Archive for: I recommend adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function remove_archive_title_pre_text() { ?>
      <script>
    (function($){
    $('#top.archive .title_container .main-title.entry-title a').contents().filter(function() {
      return this.nodeType == 3
    }).each(function(){
      this.textContent = this.textContent.replace('Archive for category:','');
      this.textContent = this.textContent.replace('Tag Archive for:','');
      this.textContent = this.textContent.replace('Archive for:','');
    });
    })(jQuery);
    </script>
      <?php
    }
    add_action('wp_footer', 'remove_archive_title_pre_text');

    Best regards,
    Mike

    in reply to: Page navigation design advice #1415780

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 1024px) { 
    #top.archive .container main.av-content-small.units {
      width: 100%!important; 
    }
    #top.archive #main .sidebar {
      display: none !important;
    }
    #top.archive .container main.content {
     border-right-style: none !important; 
     border-right-width: 0px !important; 
    }
    }

    change 1024px with your break point, change archive with your page ID

    Best regards,
    Mike

    in reply to: H1 headings on Archive pages for Accessbility #1415779

    Hi,
    Thanks for the link to your site. On both of your pages do you mean that you want the end of the breadcrumbs to be H1? This was the only place that I saw your terms Enabling Infrastructure, Development Opportunities.
    I think that adding a H1 to the breadcrumbs would make it look odd unless you plan to use css so it doesn’t have the standard H1 styling. But if you include the title with the breadcrumbs you will have these terms in H1 automatically.

    Best regards,
    Mike

    in reply to: Featured Image Question #1415778

    Hey John,
    Thanks for the login, I see that you used the Advanced Layout Builder to create the post, this allows you to have more control over your post layout, just like pages.
    But some features are not automatically added to these posts for the same reason, such as the featured image, the social share box, the related posts, and the comment form.
    You can manually add these with the ALB elements, but many users like the default post layout that shows when you use the Classic Editor or Block Editor for posts and the automatically added items.
    So either way is fine, but perhaps try a test post with the default editor to see the default layout. Please note that you will need to use tags on your posts and other posts for the related posts element to show. Here is an example post from one of our demos.

    Best regards,
    Mike

    Hey daves1997,
    Please explain in further detail.
    The more detail that you add to a support thread really helps us to help you.

    Best regards,
    Mike

    in reply to: how to adjust the excerpt length in ENFOLD #1415775

    Hi,
    Interesting, you were able to move the read-more button before the excerpt limiting function stripped it? I would have thought that the excerpt limiting function would have worked before the DOM so the jQuery would not find it.
    I’m glad this excerpt limiting function works on both types of excerpts, I didn’t know about your other point but I would still post it to the Github Feature Request because I think Yigit also works on these things.

    Best regards,
    Mike

    in reply to: Page navigation design advice #1415773

    Hi,
    All of the colors for the sidebar menu are set in the Enfold Theme Options ▸ General Styling ▸ Main Content here is a screenshot to show you.
    Enfold_Support_2867.jpeg
    But note that these colors affect multiple element on your site.
    If you want to add more content to your sidebar you would add more widgets.

    Best regards,
    Mike

    in reply to: WordPress Beitragsbild automatisch in Post anzeigen #1415738

    Hi,
    This looks like a new topic, please note that we ask that each thread is specific to a single topic, your original question for this thread was about how to display the featured image on a Advanced Layout Builder post without manually adding it.

    Your first two new questions seem to be about the display of a shortcode, I see both of these pages are a shortcode in a code block element.
    Please open a new thread and explain about the shortcode you are using, is it from a plugin? Thank you four your patience.

    Best regards,
    Mike

    in reply to: Wp Rocket broke my hamburger menu, tags and accordion #1415737

    Hi,
    Odd, the homepage uses the same classes as the other pages, I added a couple more

    .av-width-submenu 
    .sub-menu
    .av-burger-overlay-bg
    .inner-container
    #header_main

    and cleared your WP Rocket cache & cloudflare cache and checked on a incognito browser and it seems to be working.

    Best regards,
    Mike

    in reply to: Problem with partner/logo element #1415735

    Hi,
    I have checked your contacts page on the frontend and backend but I see no issues, try clearing your browser cache and checking again.

    Best regards,
    Mike

    in reply to: Producto slider lay out #1415734

    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

    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

    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: Change colour of social icons in footer. #1415731

    Hi,
    I see that you added your email address at Enfold Theme Options ▸ Social Profiles ▸ Your social profiles ▸ Special: Email Icon and when I tested the mail icon on the frontend it worked correctly by opening a new email message with your email address in the “to” line. I assume that the gmail address you added is your company email.
    A mailto link opens the users email client with a new message for the email address.
    What are you expecting?
    You could have the link direct to a contact form on your site if you wish, just replace the mailto link with a url to the page with the contact form.

    Best regards,
    Mike

    in reply to: how to adjust the excerpt length in ENFOLD #1415701

    Hi,
    Guenni007 your idea for the excerpts is good please submit this feature request to the Dev Team Github Feature Request for Günter to review, he set it up for a central place to review them and reply to the authors. Thank you.
    As for my filter, I found an old post by Ismael and it worked for both types of excerpts, Classic & manual excerpts, and with a little hammering I got it to show the read more also.

    Best regards,
    Mike

    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 with Google reCaptcha while submitting form #1415669

    Hi,
    When I test after logging in it works correctly:
    Enfold_Support_2851.jpeg
    but when I am logged out I get a 500 server error on admin-ajax.php
    Try checking your server error log for clues to the error.

    Best regards,
    Mike

    Hi,
    Glad to hear that Yigit was able to help, it would be difficult to say why this is so, certainly there must be something different between the sites.
    Nonetheless shall we close this thread then?

    Best regards,
    Mike

    in reply to: Sort articles with ACF field #1415667

    Hi,
    The post nav doesn’t have a query, WordPress sets the order for the loop, try using the Post Types Order plugin it was recommend in this article as best for Custom Post Types.

    Best regards,
    Mike

    in reply to: Filter search by category using ALB aearch form #1415666

    Hi,
    Thank you for your patience, Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    if ( ! function_exists( 'bb_filter_search_results' ) )
    {
    	add_action( 'pre_get_posts', 'bb_filter_search_results' );
    	function bb_filter_search_results( $query )
    	{
    		
    		if ( ! $query->is_admin && $query->is_search )
    		{
    			$query->set( 'post_type', array( 'post', 'portfolio', 'page' ) );
    			$query->set( 'cat', array(43,44) );
    		}
    		
    		return $query;
    	}
    }
    
    if ( ! function_exists( 'bb_filter_ajax_search_results' ) )
    {
    	add_filter('avf_ajax_search_query', 'bb_filter_ajax_search_results', 10, 1);
    	function bb_filter_ajax_search_results( $search_parameters )
    	{
    		
    		$defaults = array('numberposts' => 5, 'post_type' => array( 'post', 'portfolio', 'page' ), 'cat' => array(43,44), 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false);
    		$_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s']);
    		$search_parameters = array_merge( $defaults, $_REQUEST );
    		return $search_parameters;
    	}
    	
    }

    it will limit the search to an array of categories, in the code look for ‘cat’ => array(43,44) and change the numbers to your categories.
    Please note there are two places to make this change.
    I tested this with the search element filter Post Types set to All, and with the filter set to Posts
    Enfold_Support_2860.jpeg
    and it only gave me results from the two categories in the code.

    Best regards,
    Mike

    Hey Saccollc,
    Thanks for your patience, when I check your slider it looks like the min height is set to 56px, please double check. If the backend shows 200px please include an admin login in the Private Content area so we can investigate.
    I checked the fullwidth easy slider in my demo and it respects the min height set in the slider options.
    Are these the images you are having trouble with:
    Enfold_Support_2857.jpeg
    I see they are PNG but I don’t see a background color, I assume that you have already solved this.

    Best regards,
    Mike

    in reply to: Move Mobile Menu to the top #1415664

    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: Move Mobile Menu to the top #1415661

    Hi,
    Glad this helped, the current top padding is 82px so if you want to add 10px try adding it like this:

    #top #header_main #av-burger-menu-ul {
        vertical-align: top;
        padding: 92px 0px !important;
    }

    adjust to suit.

    Best regards,
    Mike

    in reply to: Fixed header unpredictable scroll to anchor tag #1415660

    Hi,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_anchor_offset_with_slow_scroll() { ?>
      <script>
    (function($) {
      $('a[href*=#]:not([href=#])').click(function() {
      	var width = $(window).width()
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
    && location.hostname == this.hostname) {
    
          var target = $(this.hash);
          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
          if (target.length) {
          	if ($(window).width() < 768) {
            $('html,body').animate({
              scrollTop: target.offset().top - 80 //offsets for fixed header
            }, 1000);
            return false;
          } else {
          	$('html,body').animate({
              scrollTop: target.offset().top - 80 //offsets for fixed header
            }, 1000);
            return false;
          }
          } 
        }
      });
      //Executed on page load with URL containing an anchor tag.
      if($(location.href.split("#")[1])) {
          var target = $('#'+location.href.split("#")[1]);
          if (target.length) {
          	if ($(window).width() < 768) {
            $('html,body').animate({
              scrollTop: target.offset().top - 80 //offset height of header here too.
            }, 1000);
            return false;
          } else {
          	$('html,body').animate({
              scrollTop: target.offset().top - 80 //offset height of header here too.
            }, 1000);
            return false;
          }
          } 
        }
    }(jQuery));
    </script>
      <?php
    }
    add_action('wp_footer', 'custom_anchor_offset_with_slow_scroll');

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Move Mobile Menu to the top #1415658

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top #header_main #av-burger-menu-ul {
        vertical-align: top;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Logo Font Color #1415657

    Hey steveorrmedia,
    Try going to Enfold Theme Options ▸ General Styling ▸ Logo Area ▸ Logo Area Font Color
    Enfold_Support_2855.jpeg
    If this doesn’t help please include the url to the page in question so we can take a closer look.

    Best regards,
    Mike

    Hi,
    Thanks for your patience and the link to your site, I see that the tag portrait is correct on the German translation: tag-portrait
    But in the English translation it has been changed to tag-portrait-en
    Perhaps in your plugin there is a way to remove the added -en but I don’t have experience with it.
    I looked at your tags and tried to remove it, but couldn’t because your German language is already using portrait and two tags can’t be the same
    Enfold_Support_2853.jpeg

    Best regards,
    Mike

    Hi,
    Thanks for your patience and the link to your site, I couldn’t see a cause for this issue on your site and couldn’t reproduce it on my site with my own test posts, so I export your posts to my test site and copied your test page to my site and all of the elements show posts.
    I have linked to my test page below.
    So I don’t know if your issue is due to a plugin or a customization, try switching to your parent theme and disable all of your plugins and see if the posts then show.

    Best regards,
    Mike

    in reply to: Problem with partner/logo element #1415649

    Hi,
    Thanks for the login but it doesn’t seem to be an admin login as I can’t see any theme setting or WordPress settings, please update to a admin login.
    Have you tried disabling your plugins or switching to the parent theme to see if the partner logo then works correctly?

    Best regards,
    Mike

    in reply to: Sort articles with ACF field #1415648

    Hey Pierre-Marie,
    Thank you for your patience, but unfortunately we are not experienced with ACF.
    I found this thread at stackexchange.com that may help you, but sense we don’t work with ACF I don’t have a way to test it. I recommend asking ACF support to assist you or hire a freelancer to assist.
    We are limited in supporting third-party plugins, thank you for your understanding.

    Best regards,
    Mike

Viewing 30 posts - 6,541 through 6,570 (of 35,206 total)