Support » Themes and Templates » centering main content

  • Resolved twistbeats

    (@twistbeats)


    i’m using Arras theme. Really like the featured post layout.

    except i’m trying to extend the width of the main area and it floats the main content and sidebar to the right.

    the header and footer are fine with my auto margins. there doesn’t seem to be a div for the content between the header and footer so im stumped as far as my CSS goes. any help?

    url: anarcho-capitalist.org

    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try changing:

    .main-aside {
         float:right;
         position:relative;
         width:300px;
    }

    to:

    .main-aside {
    	float:right;
    	position:relative;
    	width:200px;
    }

    and changing:

    #content {
    	margin: 0;
    	overflow:hidden;
    	width:660px;
    }

    to:

    #content {
    	margin:0;
    	overflow:hidden;
    	width:760px;
    }

    and lastly:

    #container {
    	float:left;
    	width:660px;
    }

    to:

    #container {
    	float:left;
    	width:760px;
    }

    Is this what you meant?

    Thread Starter twistbeats

    (@twistbeats)

    fraid not. there are no divs like this in the style sheet. the template is a mess of stylesheets. here is the code from the main one:
    [huge chunk of code moderated – please use a pastebin or link to file]

    Thread Starter twistbeats

    (@twistbeats)

    default.css

    Thread Starter twistbeats

    (@twistbeats)

    bump

    Thread Starter twistbeats

    (@twistbeats)

    ah. fixed. messy style sheets.

    content was displaying off centre, to the right of the header and navbar. i put a
    in the header.php file just after the menu items in the navbar. it aint a great fix but at least i know where the problem is. i’ll figure something out later.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘centering main content’ is closed to new replies.