WordPress.org

Ready to get started?Download WordPress

Forums

1024 width - literally? (8 posts)

  1. epmclaughlin@gmail.com
    Member
    Posted 5 years ago #

    I am selecting the 1024 width for my layout, but I'm finding that on screens with a 1024x768 resolution, the layout extends beyond the scroll bar. It appears that the width of the body is literally 1024px.

    Shouldn't the body width be around 960px to accommodate the scroll bar and give the layout a little room to breath?

    Or am I doing something wrong?

  2. whooami
    Member
    Posted 5 years ago #

    I would be interested in knowing what theme you are referring to. too bad you wont be back.

  3. epmclaughlin@gmail.com
    Member
    Posted 5 years ago #

    I am using the magazine basic theme.

    http://wordpress.org/extend/themes/magazine-basic

  4. whooami
    Member
    Posted 5 years ago #

    ahh thank you for coming back! :)

  5. petercasier
    Member
    Posted 5 years ago #

    I was asking myself the same question.. Would love to shrink the width a little bit so it fits onto an average laptop.

    Does anyone know how to do this with the Magazine Basic theme?

    P.

  6. EMG
    Forum Volunteer
    Posted 5 years ago #

    Would making the width of the body (or of the element that is taking up the same side-to-side space) 100% and specifying margins and paddings at 0px solve that problem or does the Magazine theme utilize pixels in its dimensions?

  7. Falcon11
    Member
    Posted 4 years ago #

    Did someone figure this out?
    I just installed the Magazine Basic theme and I'd also be very interested to know how to fix this issue!

  8. Peter A. Gebhardt
    Member
    Posted 4 years ago #

    Take a look into style.php:

    $site = get_option('uwc_site_width') - 20; //
    	$sidebar = get_option('uwc_sidebar_width1');
    	$sidewidget = get_option('uwc_sidebar_width1') - 20;
    	$secondsidebar = get_option('uwc_sidebar_width2');
    	$sidewidget2 = get_option('uwc_sidebar_width2') - 20;
    	if(get_option('uwc_site_sidebars') == 1) {
    		$content =  get_option('uwc_site_width') - get_option('uwc_sidebar_width1') - 47;
    	} else {
    		$content =  get_option('uwc_site_width') - get_option('uwc_sidebar_width1') - get_option('uwc_sidebar_width2') - 84;	// 64
    	}

Topic Closed

This topic has been closed to new replies.

About this Topic