• Resolved Reptar7

    (@reptar7)


    I am using the breadcrumbs navxt plugin. I installed the plugin, added this to my header.php file:

    <div class="breadcrumbs">
        <?php if(function_exists('bcn_display') && !is_front_page())
        {
            bcn_display();
        }?>
    </div>

    The breadcrumbs work, but aren’t styled the way I want. I added this to my css:

    .breadcrumbs
    .breadcrumbs a
    .breadcrumbs a:link
    .breadcrumbs a:visited
    .breadcrumbs a:visited
    .breadcrumbs a:hover
    .breadcrumbs a:hovered
    {
    	color:#0351A6;
    }

    After saving and refreshing, the breadcrumbs stayed the same. No new styling. I tried doing the CSS a few ways, and searched through my theme for prior breadcrumb code.

    What am I doing wrong? What is the problem? Can someone tell me what to do?

    https://www.ads-software.com/plugins/breadcrumb-navxt/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Havlik

    (@mtekk)

    Try using a page inspector such as Firebug in Firefox, or the Chrome developer tools to see what CSS is getting applied to the breadcrumbs. Breadcrumb NavXT does not ship with any styling so this is likely just a theme thing.

    Thread Starter Reptar7

    (@reptar7)

    Here is what I got from Firebug:

    h1, h2, h3, h4, h5, h6, p, a, ul, ol, li {
        margin: 0;
        padding: 0;
    }
    .wp-sheet {
        cursor: auto; (striked through)
    }
    #wp-main {
        cursor: default; (striked through)
        font-family: Verdana,Geneva,Arial,Helvetica,Sans-Serif;
        font-size: 13px;
        font-style: normal;
        font-weight: normal;
    }
    body {
        color: #000000; (striked through)
    }

    This isn’t really helpful to me as it is all being overriden (the strikethroughs) and I don’t know what is overriding it.

    I tried just adding !important to my css, and that didn’t work either.

    Is it the wp main or wp sheet that is overriding it, and how do I get my new css to be used?

    Plugin Author John Havlik

    (@mtekk)

    What file are you adding your CSS to? It likely should be the style.css for your currently active theme/child theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS troubles’ is closed to new replies.