Jump to content
bluestyle

Eliminare breadcrumb

Recommended Posts

Salut. Doresc sa elimin breadcrumb de pe toate paginile, mai putin cele de produs. Spre exemplu, din cms, din pagina de comanda, de contact etc.

Share this post


Link to post
Share on other sites

Pentru asta ar trebui sa pui niste conditii in codul breadcrumb.tpl, astfel incat sa se afiseze doar pentru paginile dorite.

Share this post


Link to post
Share on other sites

Salut. Doresc sa elimin breadcrumb de pe toate paginile, mai putin cele de produs. Spre exemplu, din cms, din pagina de comanda, de contact etc.

 

Am o solutie rapida ca sa afisezi breadcrumbs doar pe pagina de produs. In fisierul /themes/autumn/css/global.css adauga urmatoarele reguli:

#wrapper .breadcrumb {
  display: none;
}
#product #wrapper .breadcrumb {
  display: block;
}

Prima regula iti ascunde breadcrumb-ul pe toate paginile iar a doua rescrie prima regula doar pe pagina de produs si ti-l afiseaza.

Share this post


Link to post
Share on other sites

la mine nu functioneaza pe tema default cu PS 1.6.1.7

 

trebuiesc puse undeva anume in css?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More