CSS Struggles, please Help
CSS Struggles, please Help
|
|
---|---|
Posted 2020-10-26 23:24:04 (edited)
So I wanted to make my Den Page pretty with some coding, like many people But there are still a few things I need help with ^^' 1. How do I change the text color of links? The described way in the guide seems to not work for me, I wrote "a color" where I'd use "color" for normal text |
Zombiehund #7367 |
Posted 2020-10-27 12:11:37 (edited)
Not using new lines or indents here to make the post shorter, but (as you probably know from the guide) they’re not important in CSS anyway :o Using #fff (white) as a placeholder color, and you can swap out
Also, I thiink you might be missing a closing tag somewhere? I’d have to look at the code directly to see what’s up, but on my computer your den info kinda D: Anyway, most of your questions have to do with selectors, so you might want to get familiar with your browser’s Inspect element tool! This is easier to explain with a visual; here’s what it looks like in Firefox: Look for 1) the property you want to change and 2) the selector it’s defined by. Add that to your code with the value you want, and it should overwrite the default. (Some elements are nested and/or just complicated in general; I definitely recommend looking up how HTML/CSS interact in general if something goes amiss. And as noted in Tetra’s guide, you may need to use Good luck and hope this helps! |
🐺 #9672 |
Posted 2020-10-27 12:30:01
Thank you so much! Also thank you for showing the expect tool visualy, my browseris in german so it would have been hard to find for me otherwise :'D I'm not sure though why my den information looks that messy for you, it works on both my pc and my phone, as well as for some friends of mine... strange. |
Zombiehund #7367 |
Posted 2020-10-27 12:40:58
No problem :D About element inspection, HTML and CSS are in English by default, so all the code will look exactly the same no matter what the tool is called. On the den info… weird, but in that case it’s a problem on my end, yeah. Never mind that part, then! |
🐺 #9672 |
Posted 2020-10-27 17:58:40
Ok I tried everything you told me and while doing so a few more quesions came up, as well as the gray border staying (turns out it has to be #sidebar .card {border-bottom-color: #fff;} to work in changing the color). |
Zombiehund #7367 |
Posted 2020-10-27 18:37:03
|
🐺 #9672 |