Hi! I'm having a hard time figuring out how to center the header on my website...I've been searching forums for hours and nothing! My website is http://rachelngom.com and I'm using woothemes.
Thank you!
Hi! I'm having a hard time figuring out how to center the header on my website...I've been searching forums for hours and nothing! My website is http://rachelngom.com and I'm using woothemes.
Thank you!
What code have you tried so far?
This is a guide to centring things in CSS
http://www.w3.org/Style/Examples/007/center.en.html
so so many different ones i dont even know, im not really used to coding or css. which one of those would i need? and would i need to plug in anything specific?
Does your theme come with a plugin named, "Custom CSS", "Custom Styles" or "Jetpack"?
i've been adding code to something called custom css
Okay, let's use that.
So, within the Custom CSS section of the dashboard, enter this;
#header.col-full {
width: auto;
}
#logo,
#navigation {
margin: 0 auto;
float: none;
}
#logo {
width: 1064px;
}
#navigation {
display: table;
}
I don't think that's how you're supposed to do it, as your page elements have classes named "col-left" and "col-right", but I don't know that theme. There could be a way to assign a class "col-center" instead.
looks like it worked!!!! yay thank you!!!!!!!
You must log in to post.