Forums

Adjusting magins for the default page template (3 posts)

  1. Quickpull
    Member
    Posted 6 months ago #

    I'm trying to remove the side margins from new pages I create.

    I'm using a child theme of the default theme and from editing style.css I've managed to remove the margin on the left from my home page:

    http://jasonsmitharch.com/

    However, I can't figure out how to remove the margins from new pages I create using the default page template:

    http://jasonsmitharch.com/work/pixel-studio/

    I want the images and text to reach the full width of the page just like the header image. I would really appreciate it if someone could let me know how to do this.

  2. olavxxx
    Member
    Posted 6 months ago #

    .singular #content, .left-sidebar.singular #content {
    margin: 0 7.6%;
    position: relative;
    width: auto;
    }

    It's in style.css line 104.
    Override or remove the margin.

  3. Quickpull
    Member
    Posted 6 months ago #

    Thanks olavxxx, I was able to set the left margin using that.

    But I'm still having trouble with the right margin. Text appears to justify correctly as do images that are aligned to the right. However single images that should be the entire width of the page do not stretch all the way across when I set the margin to 0.

    http://i.imgur.com/o6JeL.png

    Does anyone know what causes this?

Reply

You must log in to post.

About this Topic

Tags