Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #992626

    Hi,
    today suddenly the breadcrumb disappeared. I checked again all my CSS and there is nothing I am using for hiding the header. I also checked the settings on the page and I can see that breadcrumb is set for showing.

    Can someone help me with this matter?

    Page URL http://www.ninserviziogratuito.co.uk/ password 1111

    thanks,
    Marco

    #992737

    Hey Marco,

    Please try the following in Quick CSS under Enfold->General Styling:

    body.home .title_container .breadcrumb-trail, body.home .title_container .main-title {
        visibility: visible !important;
    }

    Best regards,
    Rikard

    #992760

    Hi Rikard,
    I had already tried with this, unfortunately does not work.

    It is very strange that it suddenly disappeared fro the page.

    regards,
    Marco

    #992799

    Hi Marco,

    This is the code which is causing the problem, how did you add that?

    <!-- To speed up the rendering and to display the site as fast as possible to the user we include some styles and scripts for above the fold content inline -->
    <script type="text/javascript">'use strict';var avia_is_mobile=!1;if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&'ontouchstart' in document.documentElement){avia_is_mobile=!0;document.documentElement.className+=' avia_mobile '}
    else{document.documentElement.className+=' avia_desktop '};document.documentElement.className+=' js_active ';(function(){var e=['-webkit-','-moz-','-ms-',''],n='';for(var t in e){if(e[t]+'transform' in document.documentElement.style){document.documentElement.className+=' avia_transform ';n=e[t]+'transform'};if(e[t]+'perspective' in document.documentElement.style)document.documentElement.className+=' avia_transform3d '};if(typeof document.getElementsByClassName=='function'&&typeof document.documentElement.getBoundingClientRect=='function'&&avia_is_mobile==!1){if(n&&window.innerHeight>0){setTimeout(function(){var e=0,o={},a=0,t=document.getElementsByClassName('av-parallax'),i=window.pageYOffset||document.documentElement.scrollTop;for(e=0;e<t.length;e++){t[e].style.top='0px';o=t[e].getBoundingClientRect();a=Math.ceil((window.innerHeight+i-o.top)*0.3);t[e].style[n]='translate(0px, '+a+'px)';t[e].style.top='auto';t[e].className+=' enabled-parallax '}},50)}}})();</script>		<style type="text/css" id="wp-custom-css">
    			body.home .title_container .breadcrumb-trail,
    body.home .title_container .main-title {
      visibility: hidden;
    }		</style>

    Best regards,
    Rikard

    #993024

    Hi Rikard,

    do you mean all the big and long code you have pasted here??

    No, not at all, I never added this code nowhere.

    The only this I have added is the custom CSS mainly for hiding the name and the date from the posts of the blog page.

    There is something which concerns me.

    The following code:

    body.home .title_container .breadcrumb-trail,
    body.home .title_container .main-title {
    visibility: hidden;
    }

    I am pretty sure I had added this code in the CSS and I had also thanked the person who passed me it as it was working for hiding the title and breadcrumb on a specific page (the home)

    But when I wanted actually to show again title and breadcrumb on the page, this code was not anymore on the CSS code. Disappeared. And so I cannot make title and breadcrumb visible again.

    What did happen?

    It sounds so mysterious :-)

    Thanks,
    Marco

    #993128

    Hi Marco,

    I didn’t look close enough at the code which is causing that, it seems to be coming from Enfold after all. Are you using the functionality under Enfold->Performance? If so then please try to turn everything off there. If that doesn’t work then please post admin login details in private so that we can have a closer look.

    Best regards,
    Rikard

    #993162
    This reply has been marked as private.
    #993250

    Hi,

    Thanks for the login details, though the default WordPress login pages are not working. Please post the login URL in private as well.

    Best regards,
    Rikard

    #993279

    Hi Rikard,

    It meant to be like the following

    #993417

    Hi Marco,

    Thanks, but I’m still getting a 404 error on that page?

    Best regards,
    Rikard

    #993499

    Hi Yes,

    I restored everything with the initial settings.

    • This reply was modified 5 years, 7 months ago by marcoabis81.
    #994328

    Hi marcoabis81,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    body.home #wrap_all .title_container .breadcrumb-trail, body.home #wrap_all .title_container .main-title {
        visibility: visible;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #995666

    Amazing Victoria,

    it works.

    Can I ask you how I can translate the few English words I find throughout the template?

    I want to keep the WP panel in English but having the Website in Italian.

    See screenshot as example https://www.screencast.com/t/2M9gA7rUSl

    I used Loco but I did not manage to find a solution.

    Any clue?

    Thanks,
    Marco

    #995958

    Hi marcoabis81,

    You can look for the text in this file enfold/lang/it_IT.po and put your translation there.

    https://kriesi.at/support/topic/how-do-i-change-you-are-here-in-the-breadcrumb/
    https://kriesi.at/support/topic/making-breadcrumbs-ready-for-translation/

    Best regards,
    Victoria

    #996018

    I find it very difficult.

    Is there another easier way?

    thanks,
    Marco

    #996274

    Hi,

    You can translate these words “You are here” with a filter. Please add following code to bottom of Functions.php file in Appearance > Editor

    
    /* Following code changes "You are here:" in front of breadcrumbs */ 
    add_filter('avia_breadcrumbs_args', 'avia_change_you_are_here_breadcrumb', 10, 1);
    function avia_change_you_are_here_breadcrumb($args){
    $args['before'] = "Your custom text: ";
    return $args;
    }
    

    and replace “Your custom text” (without the quotes) with your text.

    Best regards,
    Dude

    #996283

    Hi Dude,
    thanks for your help.

    Unfortunately when I try to save I get the following error.

    Please see the screenshot https://www.screencast.com/t/UeKYWgRgjgP

    Thanks,
    Marco

    #996305

    Hi,

    I think it was a problem with the character encoding (qoutes). I added the code for you now.  You’ll find it at the bottom of the functions.php file.

    Best regards,
    Dude

    #996308

    Thank you Dude,
    Great job :-)

    #996309

    Hi!
    Glad we could help you!

    Best regards,
    Peter

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘Enfold, disappeared Breadcrumb from header’ is closed to new replies.