hi ignis! how do i add borders to posts in your revamp of virtue theme? i used to have a simple color background but now that i want to use a background picture instead the text on the blog is not very visible so i need post borders
hey! sorry i never saw this before, i had some spam asks in this inbox... it's been ages so this probably isn't helpful anymore (😭) but from my memory you should be able to add something like:
border: solid color 1px;
each of the parameters above can be modified as needed for different options. if i recall correctly, my themes should utilize tumblr's internal infrastructure to have something like {accent} in the coding to correspond with the color dropper in the theme customization itself rather than having to put the hex code again (or just a flat color like red, if you decide that's what you want to do).
however, most likely the actual reason you can't see anything is because you also need post backgrounds, in which case you'll also want to add the following:
background-color: #fff;
this is because, otherwise, you'll end up with the same issue as before, just with a border adding to the visual clutter. that being said, because i made virtue with the original intent of it not being a theme which uses backgrounds to begin with, you'll also need to add padding to the posts themselves. this is something you'll have to experiment with to your liking, as i have not looked at the coding for any of my themes in such a long time that i can only offer tips from this point forward. but to add padding, that coding would look like so:
padding: 20px;
adjust the padding size as needed. if you want, you can change it to be 20px 20px 20px 20px, where each input of size corresponds with top/bottom/left/right. this is true of most size inputs—including the border size above! so if you don't want a border after you set the padding size and background color, or decide you only want a border on the left side, tinker around with the inputs to see what you get.
if you do see this after all this time, i'm very sorry i didn't see it before! truth be told, i've been dealing with a lot IRL, which—combined with my endless frustration at tumblr's nonsensical changes to its' theme infrastructure—is the primary reason i retired. but i have been missing this hobby, in some shape or another, so i will try to at least do better about answering asks again. thank you. ❤️














