Skip to content
Public Ticket #19587

Hide certain element in breadcrumb

Conversation thread

PenciDesign Supporter replied

Staff Reply

Hi,

Yes. You can use a child theme then copy the single.php into it.

Regards,
PenciDesign.


yizhe123 replied

Customer Reply

Can I use child theme for this so that I don't have to reupload the single.php file every time the theme updates? 

PenciDesign Supporter replied

Staff Reply

Hi,

Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

@media only screen and (min-width: 961px) {
    body.archive .container.penci-breadcrumb {
        padding-right: 375px;
    }
}

Regards,
PenciDesign.



PenciDesign Supporter replied

Staff Reply

Hi,

I've modified the single.php file again.

Please check.

Regards,
PenciDesign.


yizhe123 replied

Customer Reply

It longer center to the title.

yizhe123 replied

Customer Reply

Same problem as this one:

I tried to align the breadcrumb to the center but it is at the center of the whole page. I just want it to be centered above the post title (excluding the sidebar) like the picture attached. Can you help?

yizhe123 replied

Customer Reply

I mean

yizhe123 replied

Customer Reply

I did.

PenciDesign Supporter replied

Staff Reply

Hi,

I've written in the previous reply, you should back up the single.php file then restore it after updating to the latest version of Soledad.

Regards,
PenciDesign.


yizhe123 replied

Customer Reply

The css no longer works after updating the theme to 8.1.0.

PenciDesign Supporter replied

Staff Reply

Hi,

I've edited your site by adding some css to Appearance → Customize → Custom CSS.

Please check.

Regards,
PenciDesign.


yizhe123 replied

Customer Reply

I tried to align the breadcrumb to the center but it is at the center of the whole page. I just want it to be centered above the post title (excluding the sidebar) like the picture attached. Can you help?

PenciDesign Supporter replied

Staff Reply

Hi,

I've modified some code on the single.php file, please back up this file and restore it when you update to the new version of Soledad.

Regards,
PenciDesign.


yizhe123 replied

Customer Reply

How did you edit it? Will it stay after theme updates?

PenciDesign Supporter replied

Staff Reply

Hi,

I've edited your site.

Please check.

Regards,
PenciDesign.


PenciDesign Supporter replied

Staff Reply

Hi,

Unfortunately, you can't hide it via CSS code.

In this case, please send me your WordPress admin account in a private reply, I'll modify the breadcrumb functions to show the post name & home link on the single post.

Regards,
PenciDesign.


yizhe123 replied

Customer Reply

I already using Rankmath for my SEO plugin and I don't think I should use two SEO plugins at the same time. Can I hide it using CSS?

PenciDesign Supporter replied

Staff Reply

Hi,

In this case, please install the Yoast SEO plugin, then config at dashboard → SEO → Search Appearance → Breadcrumbs.

Regards,
PenciDesign.


yizhe123 started the conversation

Conversation Start

How to hide the home page and post title in the breadcrumb? I want to only show the categories. Refer to the picture.

Want to join this conversation or access attachments? Sign in first.