Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Question title background color

+3 votes
58 views
asked Aug 11 in Themes by Emre

Where to change the title title background color in the picture?

Thank you for the answers!

1 Answer

+2 votes
answered Aug 11 by pupi1985
selected Aug 11 by Emre
 
Best answer

1. Edit file qa-theme/SnowFlat/qa-styles.css

2.a. Add this rule to the end of the file to change it only in the question template:

.qa-template-question .qa-main-heading {
    background-color: red;
}

2.b. Or add this rule to the end of the file to change it all pages:

.qa-main-heading {
    background-color: red;
}

commented Aug 11 by Emre
@pupi1985
Thank you, i will try.
commented Aug 11 by Emre
@Pupi1985
I changed from h1 color setting


h1 {
    position: relative;
    margin: 0 0 5px;
    padding: 8px 52px 8px 20px;
    background: #000000;
    color: #fff;
    font-size: 1.4em;
    line-height: 1.35em;
}
...