• Resolved woonoob

    (@woonoob)


    I’m working in latest WordPress. It’s installed in xampp @ localhost/wordpress.
    I installed and activated latest Woocommerce. The “Shop” page adds a default nav/menu button that looks like –

    Home/Shop

    /home/cotam/Pictures/Woo Menu Button.png

    How do I get rid of it?

    I checked all of my css files and can’t find a reference to it, at least nothing I’m capable of recognizing as such.

    Thnx

    • This topic was modified 5 years, 10 months ago by woonoob.
    • This topic was modified 5 years, 10 months ago by woonoob.
    • This topic was modified 5 years, 10 months ago by woonoob.
    • This topic was modified 5 years, 10 months ago by woonoob.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Are you referring to the breadcrumb?

    Thread Starter woonoob

    (@woonoob)

    I saw a breadcrumb reference to nav in one of the css files. Why do you ask? Is this where a code change would/could eliminate the button showing up on the Shop page?

    Yes. Take a screenshot of what you want removed and post it back here. So that we’re on the same page.

    Thread Starter woonoob

    (@woonoob)

    Sorry Stef, but I’m not very good at these things, so here’s the best I can do.

    See the underlined word “Home” in this pic?

    [IMG]https://s-ssl.wordpress.com/mshots/v1/https%3A%2F%2Fbrushandpencil.com%2F?w=700[IMG]

    That’s the kind of button I’m talking about, but mine shows up below the header div, whereas the one in the pic has been placed (obviously after install) in the header menu by whoever created the theme.

    In other words, the link/button I’m talking about looks just like the one in the pic (it’s just a “text” button that changes when you hover on it) only mine showed up in the page content area, not in the header. Get it?

    Anyway, gimme a minute and I’ll come back and post the breadcrumb code that shows up in the css file when I use the “examine” or “explore” tool thingy in my browser.

    Thnx, right back.

    p.s. I tried to use a coupla online screenshot image tools for the .png file to no avail, and as ya can tell by my last post, I ain’t very good at loading images into forum forms, so I don’t know if the attempt above is gonna work either.

    Nope, man… this shit sucks! How do you code guys stay sane?

    • This reply was modified 5 years, 10 months ago by woonoob.

    I saw the pic. No worries there. I have to say I’m still a little confused.

    Are you saying you don’t want the underline css action to happen on hover or you don’t want the home button in the main nav at all? Typically that’s a theme deal. Not created by WC.

    You can usually override Menus by creating your own inside the Menu area. Again, this is if your theme was coded properly.

    Breadcrumbs are a different beast all together. Those will be generated when you create your pages and product categories and so on.

    Thread Starter woonoob

    (@woonoob)

    Oh great!! you’re here! Well… ok, I think I get it, but when I made the Shop page my Homepage via the Customize tool and added it to the “main menu” or “top menu” (up in the header) the breadcrumb link/button still appeared in the content area.

    Anyway, yes – I’d rather just get rid of the thing altogether.

    Here’s the nav info from the css:

    <nav class= “woocommerce-breadcrumb”>
    Home event
    / Shop
    </nav>

    but ya prob’ly already knew whatthat looks like

    BTW the theme I’m using is WP “Twenty Seventeen”.

    • This reply was modified 5 years, 10 months ago by woonoob.
    • This reply was modified 5 years, 10 months ago by woonoob.

    So on your screenshot that you posted there is no breadcrumb on that page. Just a main menu.

    Your saying you created a main menu in customize. Can you take a screen shot for me of that please and post. Thx

    Thread Starter woonoob

    (@woonoob)

    here ya go

    [IMG]https://ibb.co/6Pb35Jj[IMG]

    Yes. That’s a breadcrumb. You want that removed?

    If so add this

    remove_action('woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);
    
    Thread Starter woonoob

    (@woonoob)

    that doesn’t look like css code, so am I adding to wp-config.php or a css file?

    And which one or where etc, etc.?

    Also, as long as I’ve got ya, I dunno if you guys are assigned to certain tasks, but maybe ya know a way to fix this?

    [IMG]https://ibb.co/gFJR8Vm[IMG]

    Those are warnings I got when I installed WP eCommerce plugin.

    Gotta tell ya man, don’t know how you guys handle this crap – drives me f*?%&ing nuts! Try to fix one thing- and up pops another.

    • This reply was modified 5 years, 10 months ago by woonoob.

    No, you’re adding this to your functions.php file.

    Thread Starter woonoob

    (@woonoob)

    Thanks Stef, worked like a charm. Slowly gettin’ the hang o’ dis stuff. If I ever get the site up-n-runnin’ ……

    Great to hear. It can be fun learning and drive you to drink at the same time. Enjoy. Always here to help.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Woocommerce Shop Page “Home” Button’ is closed to new replies.