WordPress.org

Ready to get started?Download WordPress

Forums

twenty xs width (12 posts)

  1. andrewelman
    Member
    Posted 2 years ago #

    i have been unable to adjust the text container and header width of my website. After reading several posts on how to do this through editing the css or php, which i know little about, hence why am i using a wordpress site, i have had no success.

    this is my website
    http://www.andrewelman.com

    i would like to adjust the width. please help!

  2. iamgarrett
    Member
    Posted 2 years ago #

    You are still going to have to edit the CSS of your site's theme if you want to alter its appearance, despite using WordPress.

  3. andrewelman
    Member
    Posted 2 years ago #

    ok, how do i do that?

  4. iamgarrett
    Member
    Posted 2 years ago #

    Open your theme directory on an ftp client and edit the CSS file for your theme.

  5. andrewelman
    Member
    Posted 2 years ago #

    how about this, if i login to wordpress i can go into "appearance" and then under "twentyXS" settings it allows you to customize the css. what code should i put here to expand the overall width of everything?

  6. iamgarrett
    Member
    Posted 2 years ago #

    Ah, you are using a custom theme. Your best resource for altering a custom theme would probably be the developer that originally created it. Twenty XS looks to come from here: http://wordpressthememu.com/extend-themes/twentyxs.html

  7. kevinweber
    Member
    Posted 2 years ago #

    andrewelman, add a new topic here: http://wordpress.org/tags/twentyxs
    Write in your post how wide the width should be in your case.
    And write what version of TwentyXS you're using :)

    Regards Kevin

  8. Digital Raindrops
    Member
    Posted 2 years ago #

    This is how I make a wide 1140 twenty eleven theme:

    In my child theme style.css

    #page {
    	max-width: 1140px;
    }
    .featured-posts,
    #ie7 article.intro {
    	max-width: 1140px;
    }

    In functions.php

    /* 200px less that the width! */
    if ( ! isset( $content_width ) )
    	$content_width = 940;

    That's it!

    HTH

    David

  9. andrewelman
    Member
    Posted 2 years ago #

    @Digital Raindrops -im not finding any child theme style.css when i open the "edit themes" section of wordpress

  10. Digital Raindrops
    Member
    Posted 2 years ago #

    Hi Andrew,
    That is how I do it in a twenty eleven child theme, it may help others finding this topic :)

    I can go into "appearance" and then under "twentyXS" settings it allows you to customize the css

    That is where you would add the first block in your theme.

    The second should already be in functions.php, you would edit the value.

    You should really use a child theme, as it is based on a default theme it should support child themes.

    HTH

    David

  11. andrewelman
    Member
    Posted 2 years ago #

    well after doing what youve recommended not much has changed. im sure i did it wrong though.

  12. andrewelman
    Member
    Posted 2 years ago #

    also i dont understand what you mean by "child" theme

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.