Jump to content
Sign in to follow this  
andulka

Modifying BNS Featured Category plugin

Recommended Posts

andulka    0
andulka

Hi, revisiting the subject above. I would like to display a different sidebar on the category pages (the main pages 'News' and the individual blogs and their subpages), apparetly just changing the sidebar setting for one page in the category does the trick, so no problem there. I've chosen the secondary sidebar for the category pages, and the problem is the formatting of the BNS Featured Category plugin is lost there, so obviously I need to add something to the custom css to make it work. I suppose it's just some simple modification of the original code (above), I just can't figure it out. Any suggestions? Thanks again. :-)

Share this post


Link to post
Share on other sites
Kate    3
Kate

Hey Jaana - I just took a look here. However, I can't seem to see the issue. Could you explain a little more, please?

Share this post


Link to post
Share on other sites
andulka    0
andulka

Kate, at the moment I have the same sidebar on all the pages because I'm not able to change the appearance of the plugin if I place it in ay other sidebar than the default one. What I mean is, I would like to have a different sidebar (the secondary sidebar, say) on the news and blog pages but if I change the sidebar, the appearance of the plugin is changed to its default, which doesn't fit very well with the theme. On the default sidebar the plugin appearance has been changed using the code below, so now I would need to be able to the same with the other sidebars, or one of them, as well. The code that was used to change it on the default sidebar was ` #sidebar #bns-featured-category-3 .hentry{ background:none; border-top:2px solid #222222; clear:both; overflow:hidden; padding:1px; padding-left:10px} .bns-featured-category strong a{font-weight:normal} ` so it could be as simple as replacing the `#sidebar` with something else, I just don't know what that would be for the secondary sidebar, for example.

Share this post


Link to post
Share on other sites
bryan-hadaway    3
bryan-hadaway

I think you're right, I think there are different ID's for the different sidebars. I want you to check out: http://www.pagelines.com/docs/changing-colors-fonts It'll show you how to dig into the code easily to find what you need and will save you a lot of time in the future with customizations. Thanks, Bryan

Share this post


Link to post
Share on other sites
andulka    0
andulka

It's a great tool but unfortunately doesn't help me at all in finding out the id of the secondary sidebar. All I get when clicking on the secondary sidebar is 'sidebar' and 'widgets'. Still it's obvious it has to be a different id as the default sidebar code doesn't affect the secondary sidebar. Was rather hoping you would know...

Share this post


Link to post
Share on other sites
Andrew    201
Andrew

New thread time, if one is called for.

Share this post


Link to post
Share on other sites
andulka    0
andulka

Sorry, continued it here as I thought it would be simpler to have it in the same thread, as we're still talking about the same thing, changing the appearance of the plugin on a sidebar, albeit a secondary one. The FireBug mention rather lead it off the original subject, I think... :-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×