WordPress.org

Ready to get started?Download WordPress

Forums

resolution maybe? (5 posts)

  1. darbok
    Member
    Posted 4 months ago #

    so i did a one click install of wordpress to my website. Looking at the default theme I notice its all the way to the left with this empty gap of space to the right, then I loaded one of the other pre canned themes which was centered but all this unused space to the left and right. Is this my resolution? can I make wordpress look bigger to take up the room? Not sure what to do about this.

  2. bemdesign
    Member
    Posted 4 months ago #

    How much do you know about HTML layout? How much do you know about Cascading Style Sheets? How much do you know about the Dao of Web Design?

    Once you understand these core concepts of the web, then you'll understand that there's many ways to skin the cat and that the web is...flexible. Yes you can make your content spread across the entire browser screen, no margin or padding from the edges. But it doesn't make for a good reading experience. So then you start adding padding and margins to make things look nice. And pretty soon you end up at something like twenty-twelve. All the content is in a nice central area, with a good width, and some nice padding and margins to make it appear centered in the browser window. Or twenty-fourteen which decides that putting all the content into a left-aligned column works best and the stuff to the right can be decorated with background images if so desired.

    So to sum up - you can do pretty much anything - left aligned, justified, centered, no margins or padding, lots of padding and margins, no set widths, very specific widths, or more flexible percentage-based widths, or whatever.

    But just because you can do something doesn't mean you should.

  3. darbok
    Member
    Posted 4 months ago #

    i know some about html and css and even a little php. I wish I could make twenty-fourteen be center aligned, I'm not sure where to edit it in wordpress to make that happen.

  4. JumboClicks
    Member
    Posted 4 months ago #

    you want to
    text-align: center; margin:0px auto;
    the top most element

  5. Senff
    Member
    Posted 4 months ago #

    Easy answer: you can change it in /wp-content/themes/twentyfourteen/style.css by adding margin: 0 auto; to .site. However, once you update the theme, your changes will be overwritten.

    Less easy: you should look into child themes when you want to change any CSS in a theme. That way, you can change whatever you want and keep the theme up to date.

Reply

You must log in to post.

About this Topic