-
AuthorPosts
-
February 19, 2014 at 11:11 am #15974
How can I remove breadcrumbs from specific pages and posts?
February 19, 2014 at 11:27 am #15988Hey Pezatti,
That is not currently possible. 🙁
March 21, 2014 at 2:25 pm #25309You can remove them in the customizer under the header tab.
March 22, 2014 at 1:07 am #25493Hey Brian,
I believe what Michelle was wanting to do was exclude them from specific pages on a page by page basis, which is currently not possible with the theme. Thanks for chiming in though! 🙂
March 22, 2014 at 3:43 pm #25659Oh I see! 🙂
March 23, 2014 at 11:01 am #25791🙂
March 30, 2014 at 9:28 am #27891This would be a great feature to add… i’m looking for something similar too.
When using certain backgrounds, the breadcrumb styling can appear almost unreadable, but it is a useful addition to have on pages/posts further down a complicated sitemap. Tough call on whether to turn off to save styling continuity, or leave on for good site usability?
March 31, 2014 at 10:07 am #28126Hey Luke,
Thank you for your feedback. We’ll note this as feature request and might implement it in a future release.
As of the moment, we don’t have a decision yet.
Please stay tuned and thank you for understanding.
April 1, 2014 at 4:21 am #28508I was looking on here to see if it was possible to remove the breadcrumbs.
Having discovered this thread, obviously there’s not (currently). However, there is a solution.
Here is where the body class settings, which I requested a long time ago (and was added very quickly by the development team) can help.
Go the page where you want to remove breadcrumbs.
Under Page Settings you’ll see Body CSS Class. Put in anything to identify this page. In my case, I was making a charity page, so I put in ‘charity’.
Save and then go to your X Child Theme Editor and enter this in the CSS:
.charity .x-breadcrumb-wrap {display:none;}
Hit save and boom! The breadcrumbs will disappear from your page.
If you have a set of pages you want to remove this from, make the class something like ‘nobreadcrumbs’ and put that as the class in all the pages, and then one line of CSS will remove it from every page which has that class: .nobreadcrumbs .x-breadcrumb-wrap {display:none;}
Hope this helps!
April 1, 2014 at 3:55 pm #28748Nice post Armen! This is a great tutorial of how to do this. Another way you could go about this would be to use the existing body class for the post ID. You can view the page source to see it:
And the CSS:
body.postid-52 .x-breadcrumb-wrap { display:none;}
Keep in mind though that the actual HTML is still in the page. You’re just visually hiding it.
April 1, 2014 at 8:12 pm #28836I have been using this little plugin which allows you to insert custom css for a single post: http://wordpress.org/plugins/css-plus/
with this CSS:.x-breadcrumb-wrap { display: none; }
And to remove breadcrumbs from category pages I insert this into my child theme CSS file:
.category-recipes .x-breadcrumb-wrap { display: none; }
Here is an example of it in action: http://www.x4wp.com/category/recipes/What I was originally trying to do was remove it from this home page: http://www.x4wp.com/
April 2, 2014 at 12:40 am #28925Hey!
Thanks for sharing. That sure is useful. Noted.
June 30, 2015 at 11:01 am #317168Since Cornerstone and more X updates have been added, has this become easier to achieve?
June 30, 2015 at 12:09 pm #317246Hi @xtjoeywx,
To locate the post / page ID, please take a look at this link: https://community.theme.co//kb/how-to-locate-post-ids/.
After that, you can simply add a small CSS under Customize > Custom > CSS:
.page-id-123 .x-breadcrumb-wrap { display: none; }
Hope it helps.
August 16, 2015 at 5:09 pm #360646Great that you have developed a way to exclude breadcrumbs on certain pages. I was wondering if its possible to do it the other way around – turn off breadcrumbs globally but turn on just for individual portfolio items?
Thanks
-
AuthorPosts