Jump to content
Sign in to follow this  
Audun MB

Horizontal menu on category page? In content sidebar?

Recommended Posts

Audun MB

Is there a way to add an horizontal menu on a category page? I have one category that is a dictionary of financial terms (called FinansABC), and I want readers to be able to navigate these posts by the alphabet. I sub-categorized the posts by letters, and created a menu with the letters (so it looks like this: A B C D E ...). I want to show this menu on the category page for the FinansABC-category, but not on other posts pages. Is there a way to only show Secondar Nav on this category page? I tried to put the menu in a widget in the content sidebar and use widget_logic (the plugin) to only show on the selected page. This works, but the menu is shown vertically, not horizontally. Is there an easy way to get it to show horizontally? Besides making the menu in a textbox widget?

Share this post


Link to post
Share on other sites
cmunns

a horizontal menu is easy..just need slight css mod. Do you have a link?

Share this post


Link to post
Share on other sites
Kate

Hi Audun, Here you go:

#menu-abc li{float:left;}

Share this post


Link to post
Share on other sites
Audun MB

Thanks! But where to use it?

Share this post


Link to post
Share on other sites
cmunns

In your child theme css file. If base.css is there use that if not add to the style.css in the child theme.

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  

×