On the website [[LINK href="http://www.whatworksweightloss.com/"]]http://www.whatworksweightloss.com/[[/LINK]] I have an issue where subpage drop down menu items show up very cluttered together (there are actually three subpages of the "Articles" tab) and they all are listed with the same title as their parent page. How can I fix this? It's worth noting that Thesis doesn't support WP menus.
I need to know what the problem is so it doesn't happen again as I add pages in the future.
The second thing I'd like to accomplish is getting a tag cloud and categories list at the bottom of the right sidebar, but only on the blog.
Anybody knowledgeable with Thesis?
Jim Dugan answers:
Yes, Thesis DOES support WP menus and in fact, in recent versions (which you upgrade to, at least up to 1.8.2). Thesis is actually ditching its own menu system in V2.
So using the WP menus might solve this problem.
Also, the label "Articles" that's in all those buttons is coming from the sprite. I'd recommend using a blank background and text, if you want those names to reflect what's actually in the articles.
Josh Sauberman comments:
That may fix the problem, but this is a clients site and both their WP and theme are not up to date. They only want to fix the menus right now and I'm worried that updating those things may cause other unexpected problems. Any ideas how to fix this with what we've got?
Josh Sauberman comments:
Jim,
I don't know what a sprite is or how to do what you said? Can you help me with this?
Josh
Jim Dugan comments:
I'm looking into it. A sprite is an image file with various images in it. It's what makes the buttons in your menu. That menu is NOT built for submenus. That's really your problem. Making it work with submenus might be tough and they at least will NOT look like the ones above.
Josh Sauberman comments:
Maybe I do need to upgrade then. ...but if I do, won't it mess up the buttons?
Jim Dugan comments:
Give me a minute. I'm getting closer to a solution.
Your sprite is locate at:
http://www.whatworksweightloss.com/wp-content/themes/thesis_17/custom/images/menu_sprite.png
Note that there is no BLANK sprite; they're all meant to be used without the text label.
The text that goes with these buttons is set to show up off the page.
You might be able to get those labels to show with some CSS like:
.custom ul.menu li.tab-4 .submenu li a {background-image: none; background-color: #ffffff; text-indent:0; height: 60px; text-offset: 0;}
.custom ul.menu li.tab-4 .submenu {position: relative; top: 30px; }
add that to the custom.css in thesis_17/custom/
But it's not working perfectly for me: the link isn't working right for one of the menu items.
Jim Dugan comments:
I've got to run and feel a little stymied by this. The code below is what's controlling ALL links in that Articles position.
You need to override that with code for .submenu
This is all in custom.css in the theme's custom folder:
.custom ul.menu li.tab-4 a {
background: url("./images/menu_sprite.png") no-repeat scroll 0 -300px transparent;
height: 46px;
margin: 0 0 0 -54px;
text-indent: -9999px;
width: 171px;
}
.custom ul.menu li.tab-4 a:hover {
background-position: -200px -300px;
}
.custom ul.menu li.tab-4.current a {
background-position: -400px -300px !important;
height: 46px;
margin: 0 0 0 -57px;
width: 169px;
}
.custom ul.menu li.tab-4.current a:hover {
}
Josh Sauberman comments:
Thanks Jim. I appreciate the help. I have to run too, but I'll come back and try your code.
Dbranes answers:
Hi Josh
Regarding the tag cloud and categories list at the bottom of the right sidebar
You could try installing this plugin:
[[LINK href="http://wordpress.org/extend/plugins/widget-logic/screenshots/"]]http://wordpress.org/extend/plugins/widget-logic/screenshots/[[/LINK]]
Add the default "tag cloud" and "categories list" widgets and try
is_page("blog")
if your blog is a page with custom page template.
ps: here is another plugin that you might find useful to control the widgets:
[[LINK href="http://wordpress.org/extend/plugins/widgets-controller/screenshots/"]]http://wordpress.org/extend/plugins/widgets-controller/screenshots/[[/LINK]]