Support Forums for LiveMesh Themes & Plugins › Forums › Peak Theme Support › How to change the page width
Tagged: page width
- This topic has 9 replies, 2 voices, and was last updated 4 years, 9 months ago by
Veena.
-
AuthorPosts
-
January 29, 2019 at 7:15 pm #31449
Antonio Scotti
ParticipantHi
I am using the peak theme and the default page width is the full screen of the navigator window.
Like in here
How can I change this to make it narrower?Update: I put this code inside the custom css window:
#container {
max-width: 700px;
}
and the result I get is the content part of the page shrinks (but only towards the left-hand-side)
and the menu part remains as it was.
My goal would be to shrink the page width on both sides so that the content part remains centered and the menu and logo part also keep the same width as the content part.Best regards
January 30, 2019 at 7:44 am #31450Veena
ModeratorCan you pls check boxed layout in themeoptions > Site Layout and see if that helps.
January 30, 2019 at 9:38 am #31451Antonio Scotti
ParticipantThe Boxed layout option doesn’t appear at all in my current version of Peak, at least not in the Site layout options page. Should I download a new version?
January 30, 2019 at 5:45 pm #31452Antonio Scotti
ParticipantPeak version is 2.6
February 12, 2019 at 5:30 pm #31478Antonio Scotti
ParticipantHi Veena
It would be great if you could help sorting out this issue as well. As I said earlier The Boxed layout option doesn’t appear at all in my current version of Peak. What can I do?
RegardsFebruary 15, 2019 at 5:50 am #31480Veena
ModeratorYou can try this Custom CSS –
.page-id-80 .inner.clearfix { max-width: 65%; }
Also pls reduce menu items , you can create a “pages” menu and add all the menus as sub items of pages menu like our peak theme features menu otherwise it won’t look good.
February 16, 2019 at 7:30 pm #31483Antonio Scotti
ParticipantI see….but do you think that acting on both the left and right sides of the page (see attached screenshot red rectangles), by reducing (actually cutting) them to where the text is now (so that the text could be further indented and the white space indentation column could be moved to the right and the end of the line to the left. so that there is also indentation on the right side..as it is now), and also reducing the size of the logo and the distance/gap between the logo and the start of the menu bar, so that we can keep the number of menu entries the same (we have a lot of other sub-menues to activate yet).
Also the green header bar should shrink both on the left and the right hand sides and the page title move towars right as well….
What do you think?…I wish I could find some model webpage to show you….
RegardsAttachments:
You must be logged in to access attached files.
February 18, 2019 at 11:20 am #31485Veena
ModeratorPls try the below custom CSS –
#header { max-width: 1200px; } .page.layout-1c { max-width: 1200px; margin: 0 auto; } img.standard-logo { max-width: 80%; } #site-logo { top: 30px; }
February 18, 2019 at 10:14 pm #31486Antonio Scotti
ParticipantHi
I tried it and although it seems to work, the menu does a strange behaviour
When the top of the page is shown the menu bar goes below in the image header (see attached picture)
but when the page is scrolled down it goes where it should be, in the same header with the logo (see 2nd picture)
Don’t understand why this happens. Can please you help?
Regards
AntonioAttachments:
You must be logged in to access attached files.
February 19, 2019 at 12:15 pm #31489Veena
ModeratorFor now i have removed the below custom CSS –
#primary-menu { top: 80px; } #header.sticky #primary-menu { top: -80px; }
And added this –
#primary-menu { top: -40px; }
Things will work smoother if you reduce atleast one menu item.
By the way i have seen some syntax errors in your custom CSS pls copy all your custom CSS in to your themes’s custom /custom.css folder and correct it
Because of some auto formatting issues greater than symbol “>” is getting converted to >.
For eg: the below custom CSS which is invalid CSS-.dropdown-menu-wrap > ul.menu > li > a { transition: none !important; } #primary-menu > ul.menu > li > ul.sub-menu { top: 0px; }
-
AuthorPosts
- The forum ‘Peak Theme Support’ is closed to new topics and replies.