Hi there,
I was wondering if it is possible to move the main content over to the left and the side bar to the right?
I already tried the code below but that just seems to push the sidebar over, rather than making the main content move to the left.
Is it possible to “move” both containers over and change the width of them at the same time?
I included a screenshot including drawings, so you can see what I mean.
For bigger screens it looks like that, you can increase the width of the container for bigger screens,
@media only screen
and (max-width: 1400px) {
.container {
max-width: 1400px;
width: 1400px;
}
}
You can play with the media query’s min and max width, and also adjust the CSS properties max-width and width according to your needs, you can check this article Media Queries for Standard Devices | CSS-Tricks for the media queries.
Instead 1400px you can use 100% so that it took the whole space of the browser window width. Adjust the media query max-width on which screen you want this.
I tried that but it also doesn’t do anything.
I would love to just make the container wider - meaning I want the content to be broader (more words in one line, not just bigger).
That has to be possible somehow.
Right now there is a lot of white space right and left (see attachement) and I want to change that.
So basically making the conent wider while pushing the sidebar over a bit.
When I try that with code, it always pushes the sidebar down. (Side bare is then underneath the content.)
I just need the white space on the right and left to be more narrow.