About the drop-down 'categories' widget
-
Just open a random post on my blog.
Ex. : http://techtage.com/2013/03/concept-smartphone-with-customisable-hardware/
You can see the there’s a categories widget on the sidebar on the left. As the titles of a few categories are long, the drop-down menu is also very wide, as even long titles are shown in the same line of text. What I want is, a feature like max. characters # something, after which the rest of the title will appear below, in the next line, so the widget stays within the sidebar.
Any help would be gratefully appreciated.
Regards,
Rohit
-
On a side note, is the text on my blog hard to read because of the white-on-blue setup?
[No bumping, thank you.]
You could try limiting the width of the dropdown with css, eg:
select#cat { width: 150px; }Doesn’t seem to work. :/
Where did you add that code? It’s not visible. Did you clear the caching on your site?
style.css
I cleared the caches too.
Maybe that style.css doesn’t get used because it was mostly blank. I’ll have to look if the framework’s style.css or any other ones are used.
It did work, but it shrinked the width of the dropdown menu sitewide. Is there a way to do this only for single post pages?
UPDATE: Thanks a lot. I’ve replaced 200px with 100% and it now works just the way I want it to work.
Yes, see if this works to do that:
.sidebar-b-left select#cat { width: 100%; }Thanks WPyogi, I’m using the 100% value site-wide now and it’s serving me well. 🙂
The topic ‘About the drop-down 'categories' widget’ is closed to new replies.