Styling post title

Hi!

i would like to style the background-colour of a post title (with a special category).
i almost did it, but i can't delete the left margin/padding(of the red section, see picture below) ...
here is the css i tried:

h1.entry-title {
    color: blue !important;
    background-color: red !important;
    width: 100%;
    padding: 20px 0 20px 0;
    width: 1220px;}

Do i have to adress s. th. else?

Thanks!

image


Comments

Sign In or Register to comment.