Tagged: 

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1094928

    Hello Sirs,
    How are you?
    I need your precious help.
    When I pubblish a post, during preview it’s a “hole” in top bar and the header doesn’t shrink as expected.
    Please see the following screenshot: https://prnt.sc/nhlv0y
    URL: https://zoomit.gr/wordpress_2/paraggelia-moy/pos-tha-paraggeilete-2/

    I am looking forward to your news.

    Best regards,
    Nick

    #1094952

    Hey nickgin,
    Thank you, there has been an issue with posting in the preview, the problem is wordpress loads the post template for post previews by default… So we need to find another, simple way to check if the alb is active for previews too.
    The dev team has been looking at this, but no solution yet. Please try posting not in preview.
    I see that you are using v4.4.1, you might want to try updating to v4.5.6 for the other fixes.
    Sorry I couldn’t be more help with this today.

    Best regards,
    Mike

    #1095031

    Hi Mike,

    Thank you for your so quick response. I really appreciate it!
    I have published the post, but the same result…

    I am looking forward to your news.

    Best regards,
    Nick

    #1095055

    Hi,
    Thanks for the link, when I try to login I get this error:

    Forbidden
    You don't have permission to access /wordpress_2/wp-admin/index.php on this server.

    Please check the permissions for this login.

    Best regards,
    Mike

    #1095061

    Hi Mike,

    Thank you for your extremely quick support!!
    I have just configured it out! You can now access it thru FTP.

    Please try again and let me know if it’s ok now.

    Best regards,
    Nick

    #1095068

    I just noticed something else… I don’t know if you mean the ftp access, that I have already configured it now, but if you logged in with the login credentials that I have already sent you, try to reach the Dashboard with the full link: https://zoomit.gr/wordpress_2/wp-admin/index.php and not with the following link: https://zoomit.gr/wordpress_2/wp-admin/ because you will receive the above error message.

    Thank you so much.

    I am looking forward to your news.

    Best regards,
    Nick

    #1095088

    Hi,
    Thank you, it was the dashboard link that I was looking for. I see that you are using Enfold v4.4.1, I would still recommend updating.
    I was able to put together a solution with this function:

    function header_script(){
    	?>
    	<script>
      (function ($) { 
    	$(window).scroll(function() {
      var width = $(window).width(), height = $(window).height();    
    		var scroll = $(window).scrollTop();
    		if (scroll >= 10 && width >= 990) {
    			$(".html_header_top.html_header_sticky #header").css({ 'top': '0px' });
    		} else {
    			$(".html_header_top.html_header_sticky #header").css({ 'top': '32px' });
    		}
    	});
       })(jQuery);
      </script>
      <?php
      }
      add_action('wp_footer', 'header_script');

    When I test this outsite of your site on your site it works well, but when I try to add it to your functions.php it doesn’t work. Please try adding it to your functions.php file and then clear your hosting cache, I don’t see a site cache to clear.

    Best regards,
    Mike

    #1101557

    Hi Mike,

    Thank you for your precious and quick support!!
    I really appreciate it.
    I have updated Enfold to the latest version and I have also added your code in functions.php, but unfortunately with no result.
    The issue is still remains as you can see in the screenshot: https://prnt.sc/npgo27
    Also, the added code created the side-effect as you can see in the screenshot: https://prnt.sc/nph3hi
    It seems that the theme can not finish loading the page and it stucks there…

    I am looking forward to your news.

    Best regards,
    Nick

    • This reply was modified 5 years, 6 months ago by nickgin.
    #1101594

    Hi,
    Thanks, as I look at your first screenshots I’m not seeing these errors, please see my screenshots below.
    I assume that you have tried clearing your browser cache, which browser are you using?

    Best regards,
    Mike

    #1101599

    Hi Mike,
    Thank you so much for your quick reply!
    In your No1 screenshot, the issue was there because it seems that the header doesn’t shrink as expected and no footer is displaying.
    In your No2 screenshot, you were in product page and works fine there. The issue is in post pages.
    I am using Google Chrome and I have cleared my browser cache.
    Please check:
    1. https://zoomit.gr/wordpress_2/paraggelia-moy/pos-tha-plirosete/
    2. https://zoomit.gr/wordpress_2/paraggelia-moy/pos-tha-paraggeilete-2/

    Please see the following screenshots:
    1. https://prnt.sc/npju21
    2. https://prnt.sc/npjtyz

    I am looking forward to your news.

    Best regards,
    Nick

    #1102333

    Hi,
    Sorry for the late reply, I see that your header is shrinking on your home page, so this is odd. I also see that you are using WordPress v4.9.7, please try updating and clearing your browser and server cache, it looks like I’m getting different behavior for the same page on some page loads.
    I was also going to suggest disabling your plugins to see if that helps but I see that many of your plugins need to be updated such as woocommerce and it’s addons, this can cause unexpected behavior.

    Best regards,
    Mike

    #1104242

    Hi Mike,
    How are you?
    I have created a “special” installation in order to examine the issue.
    In this installation, I have the latest updates of Enfold, Woocommerce & WordPress!!
    I have installed the only plugin Woocommerce.
    Unfortunately, I am facing the same issue…
    In the private content, I am sending you all the informations that you will need.

    Please I need your precious help…
    I am looking forward to your news.

    Best regards,
    Nick

    #1104312

    Hi,
    Thanks for the test site and login, it seems you are not getting the class “header-scrolled” applied to the “#header” ID on your posts nor the correct css.
    I have tried to isolate the issue by removing all of your custom css in Quick CSS & custom.css without luck. I also tried examining your custom functions.php code but I didn’t see anything to cause this, but there is quite a lot there, and I could have missed it. Are there any other files that you edited?
    I did find that using your post content and creating a new page solves the issue, please see the link in the Private Content area, so it seems something is only targeting posts, I’m stumped.
    To further investigate please try removing your custom functions or file customizations and see if the post header action is restored.
    Or try installing a clean version without customizations to see if the error still occurs, I couldn’t reproduce this error on my localhost with posts.

    Best regards,
    Mike

    #1106490

    Hi Mike,
    Thank you so much for your great support!!
    The support here is amazing, outstanding!!!
    Thank you for your time Mike too!
    I am sorry, but it was a custom code that I had added before a long time ago. I had really forgotten it and that code affected the posts pages.
    I apology for the inconvenience…
    You can close this ticket.
    Thank you so much Mike!
    Best regards,
    Nick

    #1106501

    Hi,
    Glad to hear that you got it sorted out, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Header issue when I pubblish a post’ is closed to new replies.