[Plugin: Breadcrumb NavXT] Edit inbuilt CSS specific to Breadcrumbs NavXT?
-
I’ve inserted the php code for Breadcrumbs NavXT into page.php for my theme so that it would be active only on pages, and not during posts. I’m using it as an add-on for NextGen Gallery that lacks any sort of navigation and as such I only wanted it for the Galleries.
<?php include (TEMPLATEPATH . ‘/postTop.php’); ?>
<!– h2 class=”single-title”><?php // the_title(); ?></h2–>
<div class=”breadcrumbs”>
<!– Added from here –>
<?php if(function_exists(‘bcn_display’)){ bcn_display(); }?>
</div>
<!– to here for Breadcrumbs only on pages, not post titles–>
<?php include (TEMPLATEPATH . ‘/postMiddle.php’); ?>
<?php the_content(); ?>
<!– Metadata – tags, categories, comments and so on… –>
<p class=”postmetadata”>
<?php edit_post_link(__(‘Edit’, ‘vSlider’),”,’??? ‘); ?>The original line is the h2 class”single-title” php… where I commented out both the html and php and just left it there. I added the <div class”breadcrumbs”… in place of the post title.
What I was not able to figure out is how to edit BCNXT’s own CSS so that I could have it match the font size that the single-title style had originally.
The reason I didn’t just use the same style as the page-title is because I want the navigation separator ‘->’ to be a different color and I can’t figure out how to do it anyway, but Breadcrumbs NavXT does it for me. So..
Here’s what it looks like:
https://img171.imageshack.us/img171/2939/nggnavexample.pngI would like to increase the font size that is generated with regards to the breadcrumbs class. Looking through the code it appears that there is a CSS or Style tab in the settings, but I don’t see anything like that when I’m in the dashboard/settings for the plugin.
- The topic ‘[Plugin: Breadcrumb NavXT] Edit inbuilt CSS specific to Breadcrumbs NavXT?’ is closed to new replies.