• Resolved ThomDJ

    (@thomdj)


    Hello!

    I am trying to hide the breadcrumb provided by this plug-in from a my search page. I read the FAQ and after some trial and error I found out I had to put the following code into the header.php:

    <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
        <?php if(function_exists('bcn_display') && !is_search())
        {
            bcn_display();
        }?>
    </div>

    This removes the breadcrumb text, but not the styled div. So I am trying to remove this as well on this particular page. For this I am using something like this in style.css:

    body.page-id-00 .breadcrumb { 
         display: none !important; 
    }

    I’m not sure how to find out the page ID of my search page, though. Is there one, even? I’m eager for someone’s assistance in this. You’d have my eternal gratitude.

    Have a happy new year!
    ThomDJ

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Remove breadcrumb plus styled div from page’ is closed to new replies.