Hi, Is it possible to center the Matrix theme including sidebar, at the moment it seems to be on the left of the page and the images spread out over the page. I would like everything nice and tight in the middle of the page.
I have looked for over half an hour at other posts so sorry if I missed it.
I am also not to good at CSS but willing to have a go if pointed in the right direction.
G2.3
Posts: 32
I found that if you add width: 1000px; to the theme.css file in the following section you can make it fixed width but I am also trying to center the whole page. Please let me know if you found anything.
/* ********************************************************************************
* Sections
* body.gallery Page body in G2 standalone (doesn't apply to embedded)
* #gallery Page container
* #gsNavBar Top bar with breadcrumb and other links
* #gsSidebar Sidebar
* #gsContent Main content
*/
body.gallery {
margin: 0;
padding: 0;
width: 1000px;
}
David
Posts: 32
Ok, I found it. Try this.
/* ********************************************************************************
* Sections
* body.gallery Page body in G2 standalone (doesn't apply to embedded)
* #gallery Page container
* #gsNavBar Top bar with breadcrumb and other links
* #gsSidebar Sidebar
* #gsContent Main content
*/
body.gallery {
margin: 0;
padding: 0;
text-align:center;
}
#gallery {
padding: 8px;
width: 1000px;
text-align:left;