[Resolved] Part of theme not centering
I was looking into centering my theme so on bigger screens than mine there wasn’t a huge blank space to the right. I know how to do this in the CSS, but the black line that runs along the y-axis, where the dates are attached to does not move when I stretch the page out as it centers, stays right where it is. Fixed.
I found it in the style.css and it’s in the body tag under the theme section as:
background: #fff url(img/bg.png) repeat-y 0 0;
I was under the impression I knew what all that meant and wondered why the bar was sticking to the same spot.
To make it centered, i just added, a width of 1200 and margin: 0 auto right above where the background image is in the CSS and it everything worked perfectly except the black line stayed put.
the site is hunterstanford.com/blog
currently it’s where it originally was, all of it pushed left. It just looks weird and I didn’t want to leave it like that, though I could change it if someone wanted to see exactly what I meant. Any help appreciated. Thanks!
- The topic ‘[Resolved] Part of theme not centering’ is closed to new replies.