Home › Forums › CSS › Centering logo in header in responsive wordpress › Reply To: Centering logo in header in responsive wordpress
January 15, 2015 at 12:16 pm
#193350
Ekim
Participant
Thanks for replying.
text-align:center was the first thing I tried, but didn’t work. The code that’s “almost” working:
.site-branding img {
position: absolute;
left: 50%;
margin-left: -100px; /* Half the width */
}
I got off the CSS TRICKS site. There’s gotta be a way! Thanks.