Votes covering post
medelsvensson
New
I just recently installed the votes plugin and the vote up/down graphic is covering the posts. My forum is embedded into Media Wiki, which could possibly be what complicates things. Could I in some way fix this?
Best Answers
-
Kasper
Vanilla Staff
Replacing the existing code is not a good idea - you should either add the code to the bottom of the
voting.cssfile or add it tocustom.cssin your theme. Ifcustom.cssdoesn't exist within your theme'sdesigndirectory, simply create it.Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
5 -
Kasper
Vanilla Staff
Then clear your browser's cache because I see the changes just fine.
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
5
Answers
The
.Voteselement is positioned absolutely and therefore only "works" out-of-the-box with the default theme. What you could do, is position it statically and then float it like this:ul.MessageList div.Meta span.Votes { position: static; /* Reset the position attribute to default */ float: left; margin-right: 15px; /* Just to add some distance to the post meta */ }This would look like this:
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
deleted - I didn't see kasper's post (it wasn't there when I started this message.).
kasper had a better solution.
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 didn't really change anything, unless I didn't do it right. I replaced the existing code for ul.MessageList div.Meta span.Votes with yours and nothing at all happened. But thanks for the response!
Replacing the existing code is not a good idea - you should either add the code to the bottom of the
voting.cssfile or add it tocustom.cssin your theme. Ifcustom.cssdoesn't exist within your theme'sdesigndirectory, simply create it.Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
I added it to embed friendly's custom.css, it still changes nothing though.
EDIT: It works now, thanks a lot. It just had to take a little time.
Then clear your browser's cache because I see the changes just fine.
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub