Padding or margin issues using The new Sample child theme

Community Forums Forums Design Tips and Tricks Padding or margin issues using The new Sample child theme

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by  sebgates 1 year, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #56113

    sebgates
    Participant
    Post count: 57

    Hi, I am still getting used to the HTML5 markup and the new Sample theme. Perhaps some one can help who has more experience.

    I need to create a portrait orientation page, so I set the .site-container to max width of 1140px with a margin 0 auto. This centred the page OK. When I check how the design scales and take the screen size to 1024px the navigation and footer stretches to full width and a big padding appears on either side of the content.

    Help? Can anyone offer any advice? I want all the elements to stay contained within the .site-container all the time.

    Seb

    • This topic was modified 1 year, 4 months ago by  sebgates.
    • This topic was modified 1 year, 4 months ago by  sebgates.
    http://cbtpsychotherapysouthampton.com/
    #56131

    sebgates
    Participant
    Post count: 57

    I figured it out. Sidebar and content now have fixed pixel widths.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.