Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Make the 1 level sub categories line up horizontally?
bluesea
New
I have removed the rss icon, discussions and comments count from all.php. And place nested categories in a comma-delimited list when they are "more than 1 level deep" from dashboard). How can I make the 1 level sub categories line up horizontally? Thanks for help.
Tagged:
0
Comments
What version of Vanilla?
Version 2.0.18.9
I am not offering an answer, but i'd like to point out that it is unclear exactly what you mean. perhaps you could put some arrows or markup in your screen shot to show exactly what you want to accomplish and maybe someone else can take a swing at it.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
This css will make the categories in the categories index list appear side by side, just adjust the width to your liking. This goes in the custom.css file of your theme.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks vrijvlinder but it is not working.
By using a combination of these I got my categories to look like tiles, I am sure it would look better as more categories are entered.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks for the tiles style but I only need 1 level text sub categories which appear side by side. I don't need rss icon, discussions and comments count and I think this is the code i need to modify. all.php
No the code you need to modify is the CSS
Just use css to hide the things you don't want to be seen and use the code I gave you to make them side by side. Mine come out as a tile because I did not remove the other stuff. For just the title , simply add display:none to the other elements via the css file of your theme. No need to alter the php.
Please look at this discussion
http://vanillaforums.org/discussion/25914/how-do-i-remove-the-text-and-stuff-on-the-categories#latest
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
there was a typo up there this is the right code
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I am not sure why and I just can't make the title side by side.
I explained how, did you proceed as I explained ?
You can give me a link to the page if you can and I will check it out.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Yes, I did follow your instruction. Sorry the site is not open to the public yet.
unless the edits you made inside the php file you edited are causing this not to work, or it is a cache issue. Unfortunately without seeing it and testing it out using a web inspector, there is nothing I can do.
You can private message the link if you feel comfortable with that. Otherwise I recommend some tutorials on html and css and also the use of firebug or some kind of web inspector to figure out how to change things the way you like .
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌