Remove or move breadcrumbs - by hostpuppies

This topic has 17 replies, 5 voices, and was last updated 8 years, 9 months ago ago by Robert Hall

  • Avatar: hostpuppies
    hostpuppies
    Participant
    June 21, 2015 at 04:02

    I want to keep my page title and lose the breadcrumbs. Or at least move the breadcrumb underneath the page title. How would I do both? I noticed that with the new version of the theme there are many changes. If I turn off breadcrumbs I lose my page title being displayed across the top.

    Link is in the private area.

    Please, contact administrator
    for this information.
    16 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    June 22, 2015 at 08:22

    Hello,

    You can remove breadcrumbs with this code in custom.css:

    .breadcrumbs {
       display: none !important;
    }

    Regards,
    Eva Kemp.

    Avatar: hostpuppies
    hostpuppies
    Participant
    June 24, 2015 at 10:02

    thank you. would this go in the custom.css file or the areea in the theme options?

    Avatar: Eva
    Eva Kemp
    Support staff
    June 24, 2015 at 10:10

    Hello,

    You can add the code in Theme Options > Custom CSS > Global Custom CSS.

    Regards,
    Eva Kemp.

    Avatar: hostpuppies
    hostpuppies
    Participant
    June 24, 2015 at 10:16

    awesome. thank you. had a couple of other posts that are more urgent for me. does this new global inside theme options negate the custom.css?

    Avatar: Eva
    Eva Kemp
    Support staff
    June 24, 2015 at 13:46

    Hello,

    Custom.css file works too. You can write style modifications either in custom.css file or in Theme Options > Custom CSS section. If you use custom.css file make sure you enabled it in Them Options > Custom CSS > Enable Custom CSS file > On.

    Regards,
    Eva Kemp.

    Avatar: KlaasKoopman
    KlaasKoopman
    Participant
    June 24, 2015 at 18:30

    But how does one change the breadcrumbs to be under the pagetitle instead of on top of it?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 25, 2015 at 08:43

    Hello @KlaasKoopman,

    To swap the breadcrumbs you need edit the file wp-content/themes/royal/framework/theme-functions.php (line 772) and swap the code <?php etheme_breadcrumbs(); ?> and <h1 class="title"><span><?php echo et_get_the_title(); ?></span></h1>. We recommend to make changes in the child theme https://codex.wordpress.org/Child_Themes not to lose modifications after theme update.

    Best regards,
    Jack Richardson.

    Avatar: KlaasKoopman
    KlaasKoopman
    Participant
    June 25, 2015 at 19:45

    Dear Jack,

    thank you for responding. I changed the code, saved it and uploaded the new folder with just the theme-functions.php to the child-theme. Doesn’t change anything?

    It’s located at: wp-content/themes/royal-child/framework/theme-functions.php

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 25, 2015 at 20:02

    Hello @KlaasKoopman,

    As I see breadcrumbs are shown under page title:
    http://storage2.static.itmages.com/i/15/0625/h_1435258907_6217106_4d468d492f.png

    Please clear your browser cache and check again.

    Best regards,
    Jack Richardson.

    Avatar: KlaasKoopman
    KlaasKoopman
    Participant
    June 25, 2015 at 20:27

    Dear Jack,

    Strange thing is, it indeed looks right now, but in the code it’s still:
    <div class=”col-md-12 a-center”>
    <?php etheme_breadcrumbs(); ?>
    <h1 class=”title”><span><?php echo et_get_the_title(); ?></span></h1>
    </div>

    How is this possible?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 26, 2015 at 07:26

    Hello @KlaasKoopman,

    Have you changed any files in the theme? We may try to reupload the files to get the breadcrumbs position back.

    Best regards,
    Jack Richardson.

    Avatar: KlaasKoopman
    KlaasKoopman
    Participant
    June 26, 2015 at 09:37

    Jack, at the site the backcrumbs are good as they are, but what I don’t understand is why I did not edit theme-functions.php and still the breadcrumbs are showing correctly now?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 26, 2015 at 11:12

    Hello @KlaasKoopman,

    Sorry, but we can’t know what modifications were made. Perhaps you made some changes in Theme Options. The only way to check is to reupload theme files and check breadcrumbs after that.

    Best regards,
    Jack Richardson.

    Avatar: KlaasKoopman
    KlaasKoopman
    Participant
    June 26, 2015 at 12:21

    Jack, new question in the same category. How do I change the breadcrumbs on the category and product pages. See private content for link

    Please, contact administrator
    for this information.
    Avatar: KlaasKoopman
    KlaasKoopman
    Participant
    June 29, 2015 at 13:48

    Anyone?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    June 29, 2015 at 17:12

    Hello @KlaasKoopman,

    Please try to add this code in custom.css file

    .single-product .page-heading .title,
    .archive .page-heading .title{
      position: relative;
      top: -20px;
    }
    .single-product .woocommerce-breadcrumb,
    .archive .woocommerce-breadcrumb {
      position: relative;
      top: 25px;
    }

    Regards,
    Robert Hall.

  • Viewing 17 results - 1 through 17 (of 17 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.