Hello! I was wondering if anyone would have any advice on how to get the names of the months in my archive to start with a capital letter? I'd like it to say "January" instead of "january" for example. I managed to get my journal entries fixed, but I'm not sure about the archive itself. Thanks!
Tags:
no subject
Date: 2019-11-29 01:39 am (UTC)So to finally get to the point: just add this to your CSS:
.month h3:first-letter {text-transform: capitalize;
no subject
Date: 2019-11-29 03:34 am (UTC)no subject
Date: 2019-11-29 06:48 am (UTC)no subject
Date: 2019-11-29 03:03 pm (UTC)no subject
Date: 2019-11-29 03:41 pm (UTC)would be to take out that bit of the code instead of overriding it.
My Web Developer add-on shows me that your layout's CSS and your CSS edits are separate, so I'm guessing you linked to the layout CSS. If you put it into the "Custom stylesheet" field instead (in this case you can remove the archive-page code I gave you), you could just take out the bits of code that bother you. If you do that, go to
#archive-year .header h3, .tags-container .header h2, .icons-container .header h2 {font-family: Franklin Gothic Medium, Arial, sans-serif; font-size: 2.1em;
color: #000000;
;
text-transform: lowercase;
padding: .5em;
}
and remove
;text-transform: lowercase;
If you can't or don't want to do that, let me know and I'll give you something to override instead.
no subject
Date: 2019-11-29 08:23 pm (UTC)Your explanation makes sense to me and that would definitely be the best way of adjusting things, but I'm unsure of how to access the preexisting CSS (unfortunately I don't have a lot of experience with it). Thank you for taking the time to look into all of this! I really appreciate it. ^^
no subject
Date: 2019-11-29 08:59 pm (UTC).tags-container h2 {text-transform: capitalize!important;
}
D'oh, I just noticed the closing curly bracket is missing in the code I gave you for the archive page. You need to add one after the semicolon or any code after it won't work.
no subject
Date: 2019-11-29 09:30 pm (UTC)no subject
Date: 2019-11-30 03:44 am (UTC)(also, while capitalize works just fine, you can also use 'text-transform:none' to override the lowercase transform and set it back to the unstyled default!
no subject
Date: 2019-11-30 07:29 am (UTC)