Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2960608
Hide certain element in breadcrumb
Closed

Comments

  •  2
    yizhe123 started the conversation

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

  •  2,492
    PenciDesign replied

    Hi,

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

    Regards,
    PenciDesign.


  •  2
    yizhe123 replied

    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?

  •  2,492
    PenciDesign replied

    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 privately
  •  2,492
    PenciDesign replied

    Hi,

    I've edited your site.

    Please check.

    Regards,
    PenciDesign.


  •  2
    yizhe123 replied

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

  •  2,492
    PenciDesign replied

    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.


  •  2
    yizhe123 replied

    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?

  •  2,492
    PenciDesign replied

    Hi,

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

    Please check.

    Regards,
    PenciDesign.


  •  2
    yizhe123 replied

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

  •  2,492
    PenciDesign replied

    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.


  •  2
    yizhe123 replied

    I did.

  •  2
    yizhe123 replied

    I mean

  •  2
    yizhe123 replied

    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?

  •  2
    yizhe123 replied

    It longer center to the title.

  •  2,492
    PenciDesign replied

    Hi,

    I've modified the single.php file again.

    Please check.

    Regards,
    PenciDesign.


  •   yizhe123 replied privately
  •  2,492
    PenciDesign replied

    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.



  •  2
    yizhe123 replied

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

  •  2,492
    PenciDesign replied

    Hi,

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

    Regards,
    PenciDesign.