Archive heading format


#1

How can I customize the format of the archive headings? The text is flush up against the left edge of the content wrapper (is that the right term?). I’d like to adjust, but also would like to customize the color of each category heading to match the logo at the top.

Thanks for your help, as always.

Lance


#2

Forgot to add that the same formatting issue is present on the monthly archives as well. (Probably obvious, but still…)

http://www.leadingwithideas.com/?m=201506

Lance


#3

Hi,

You can add this in your custom CSS to move it a bit to the right and change the color:


.archive-title {
    padding-left: 15px;
    color: #fff;
}


#4

Thanks Vlad. Is there a way to use that code with an identifier for the different archive categories so that I can customize the color for each one?


#5

Sure. See the category ID in the URL, 6 in your example.


.category-6 .archive-title {
      color: #fff;
}


#6

Perfect. Thanks so much, Vlad!