Oxygen Breadcrumbs...?! (7 posts)

  1. lassinger
    Posted 3 years ago #

    hi there,

    yesterday i found the nice theme Oxygen... today i read all of this topics here for change some parts of the theme...

    some of the tings i dont need in this theme are the breadcrumbs... i read some topics her with solutions, but after i delete the breadcrumbs-code in the functions.php - nothing is changed...

    so, please can someone describe how and where i must change the code?

    THANK YOU!!!

  2. paulwpxp
    Font hero
    Posted 3 years ago #

    Via child theme's style.css, hide it visually keeping SEO, but the code is still there in the page.

    .breadcrumbs { position: absolute !important; clip: rect(1px 1px 1px 1px); /* IE7 */ clip: rect(1px, 1px, 1px, 1px); }


    via child theme's functions.php, remove the code entirely.

    add_filter( 'breadcrumb_trail', '__return_false' );
  3. lassinger
    Posted 3 years ago #

    Hey Paul... thank you...

    what means child-theme for this?

    i only have the free theme "Oxygen"...

  4. lassinger
    Posted 3 years ago #

    i have cleared the code in functions.php from:

    /* Add the breadcrumb trail just after the container is open. */
    add_action( "{$prefix}_open_content", 'breadcrumb_trail' );

    /* Breadcrumb trail arguments. */
    add_filter( 'breadcrumb_trail_args', 'oxygen_breadcrumb_trail_args' );

    thats all..?

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    Do not edit the Oxygen theme itself. First create a child theme for your changes. Or install a custom CSS plugin.

  6. paulwpxp
    Font hero
    Posted 3 years ago #

    Please review this doc on Child themes posted above.

    In short, it's the way to keep modifications separated from theme itself, so that when the theme updates, all the changes won't be lost.

    But if you don't plan to make any other changes to the theme, except a bit of CSS here and there, this theme comes with its own Custom CSS option

    Appearance > Customize > Misc > Custom CSS

    Or you can use other Custom CSS plugins ( esmi linked to above ) that has more fancy things like code highlighting.

  7. lassinger
    Posted 3 years ago #

    ok, nice to know about "child-theme"... sounds good...!!!

    THANK YOU!!!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.