StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 07-28-2009, 10:23 PM
pakalrtb pakalrtb is offline
Registered User
Genesis Member
 
Join Date: Jul 2009
Location: Bay Islands - Caribbean
Posts: 80
Default Second line of subnav bar is not showing properly

The second line of category tabs DOES NOT show the background. It only appears when hovering on the link.

[attachment=0:19gprdfj]magazine.jpg[/attachment:19gprdfj]

Furthermore, is there a way to limit the number of category showing in the tabs, in order to have just 1 line of the most important categories !?!?
Thanks for yr help,
P/
__________________
http://www.lasrocasresort.com - Need a Caribbean vacation, come to Roatan !
  #2  
Old 07-28-2009, 10:58 PM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default Re: Second line of subnav bar is not showing properly

Quote:
Originally Posted by pakalrtb
The second line of category tabs DOES NOT show the background. It only appears when hovering on the link.
It was not designed to wrap. It must remain on one line to function properly.


Quote:
Originally Posted by pakalrtb
Furthermore, is there a way to limit the number of category showing in the tabs, in order to have just 1 line of the most important categories !?!?
The categories are displayed with this line from header.php:
Code:
<?php wp_list_categories('orderby=name&title_li=&depth=4'); ?>
You can use the wp_list_categories Codex page to change the options to limit which categories it will be sent to the browser.


HTH,
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
  #3  
Old 07-29-2009, 12:10 AM
pakalrtb pakalrtb is offline
Registered User
Genesis Member
 
Join Date: Jul 2009
Location: Bay Islands - Caribbean
Posts: 80
Default Re: Second line of subnav bar is not showing properly

Quote:
Originally Posted by CharlesClarkson
It was not designed to wrap. It must remain on one line to function properly.
Hmm, I am not sure about that; if it gives you the possibility of showing two rows of categories, it should properly handle the second one as well.

Quote:
Originally Posted by CharlesClarkson
The categories are displayed with this line from header.php:
Code:
<?php wp_list_categories('orderby=name&title_li=&depth=4'); ?>
You can use the wp_list_categories Codex page to change the options to limit which categories it will be sent to the browser.


HTH,
Thanks a lot, one last thing : Is it right to assume that any change made to the "wp_list_categories" file will NOT affect the Category widget on the sidebar.

P/
__________________
http://www.lasrocasresort.com - Need a Caribbean vacation, come to Roatan !
  #4  
Old 07-29-2009, 12:31 AM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Default Re: Second line of subnav bar is not showing properly

Quote:
Originally Posted by pakalrtb
Hmm, I am not sure about that; if it gives you the possibility of showing two rows of categories, it should properly handle the second one as well.
Additional menu rows have not been handled by StudioPress themes in the past or in the current selection. It has always been left to the designer to add more menu rows or to encourage the client not to have so many items on the menu.

If you want more space without the expense of a StudioPress customization, remove the search box. It can go in the sidebar and will leave room to widen the navbar.


Quote:
Originally Posted by CharlesClarkson
Is it right to assume that any change made to the "wp_list_categories" file will NOT affect the Category widget on the sidebar.
They each use their own instances of the function. You are not foolish to ask. WordPress uses "filters" and "actions" to increase interoperability between the core files, themes and plugins. Filters and Actions can be used to change the return values of all calls to wp_list_categories().


HTH,
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
  #5  
Old 07-29-2009, 06:33 PM
pakalrtb pakalrtb is offline
Registered User
Genesis Member
 
Join Date: Jul 2009
Location: Bay Islands - Caribbean
Posts: 80
Default Re: Second line of subnav bar is not showing properly

Thanks man, I used your suggestion and modified the line this way :
Code:
<?php wp_list_categories('orderby=name&include=3,5,6,8,10,11,12,14,16,19&title_li=&depth=4'); ?>
Now the subnav it's ONLY showing the categories that I selected. The subnav is one row only, and I still show ALL the categories in the Sidebar.
Thanks for the support,
P/
__________________
http://www.lasrocasresort.com - Need a Caribbean vacation, come to Roatan !
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Top navbar 2nd line doesn't display properly tammiekaren General Discussion 2 04-05-2010 05:20 PM
Listing Categories in SubNav Bar.. goes to second line jvilla General Discussion 2 06-10-2009 01:22 PM
Right side bar doesn't line up properly busyrich General Discussion 3 05-14-2009 05:11 PM
Weird white line between nav bar and subnav wparlaman General Discussion 2 04-06-2009 12:43 PM


All times are GMT -5. The time now is 09:19 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.