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.
CSS issues with Vanilla 2.0.18 default Theme
GideonLupine
New
I am using the Voting Plugin with the Vanilla Default theme, and the CSS seems to be off. Even with all plugins off.
CSS ISSUE 1: The voting box is off the screen to the left on iPad, and it is outside the container to the left on PC. When my PC browser is not full screen the voting is cut off.
CSS ISSUE2: The check boxes on comments in a discussion are positioned where they would be in the discussion view.
I turned off all my plugins to check if something was jamming it, and it was still off.
I tried it in different themes and the issue remains.
I did not mod anything, so I am working from all default files. Is this only happening with my setup? I am keeping things pretty bland.
Tagged:
0
Comments
This is a known issue with that plugin and every theme. You must edit the vote css file
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Are there some example Voting CSS files around? I hate to reinvent the wheel.
I don't need anything special, just to work with the default Vanilla theme. If it does not work with the default theme, then what does it work with?
lol, I know but that is a problem with the css of that plugin, any plugin with it's own css might not work well for everyone. You must edit the vote plugin css file to work with this or any theme. There is no other way. You must edit to make it work for you.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
copy the classes of the voting css file to your custom.css file.
Then add !important to each class / id. Then change the classes to suit, its quite easy
If you are using default theme, just add a custom.css file to design folder within that theme
There was an error rendering this rich post.
I guess you are right, but it is the default factory Vanilla Theme.
Anything beyond the factory default, you should be expected tweak. That is cool. It can't be built to work with everything, but it should work with at least one thing.
I just expected an approved app to work with a factory fresh install. That way you have a working example to grow from.
I will figure it out and post a solution for default.
@422 I tried using your approach and added the css to the custom, important etc... but for some reason it would not work, it has to be within the vote css. I think it has to do with it only calling the vote css and it ignores the custom part . It is the strangest thing that plugin lmao ....
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
In the default theme add: custom.css file to design folder.
Then add the voting css classes and shizznit to this custom.css file.
You should be able to override the voting.css ( whatever it is called ) by adding !important to class / id
I don't use voting plugin, as it is very buggy.
Just checked I added it to: http://vanillaskins.com/stackoverflow-forum/
There was an error rendering this rich post.
@Todd said
Would I not do that instead?
< isn't gonna argue with Todd. However, I would assume you would then have 2 voting.css files being loaded from 2 locations, and the latter would initiate the css classes, as more important because they are fetched last
There was an error rendering this rich post.
Surely this method just renders it from its existing location
There was an error rendering this rich post.
Do whatever works for you. That is what we all do. Some things work some may not so you try something else.
ditto, not to mention the admin can jimmy the votes lol
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Maybe it should be like this
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
This fixed a check box issue on the discussion comments, but the vote box is still outside of the container and invisible to iPad.
something is funny there with the float:right when it is totally to the left, try putting float:left or float none and adjust the margin and padding.
This may or may not work but you can try,
ul.MessageList div.Meta span.Votes { text-align: center; display: block; position: absolute; left: 90%; line-height: normal; padding: 0; }
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Tried that nothing changed. Still wonky.
I would need a link to see what you got going there...my crystal ball has gone opaque...
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I just nuked my changes. Restored the original CSS. Then I made the change you suggested.
Now I got a change.
Voting box is now on the right and inside the container.
The comment Admincheck boxes are still out of place.
I am switching from "Vanilla" Template to the "Vanilla Default" Template, The problems are the same.
I am also disabling Voting because I am out of time. I will come back to it later.
It's a waste of time. Needs overhauling
There was an error rendering this rich post.