Home › Forums › Weaver Xtreme Theme › Positioning menu at the top
- This topic has 4 replies, 2 voices, and was last updated 11 years, 3 months ago by
tiziani.
-
AuthorPosts
-
May 22, 2015 at 09:50 UTC #17782
tiziani
ParticipantHello from Bavaria/Germany,we bought the Xtreme Plus Theme. – It’s great but not really easy to handle.Here is the page I try to build:I want 2 things with the menu at the top:1) it should be centered with the BAUM-logo (now on the left side)2) the menu shoud be at the bottom of this gray boxIs that possible?Thank you in advanceand greetings from BavariaMarcelMay 22, 2015 at 20:25 UTC - Views: 2 #22081scrambler
ModeratorI am not clear about what you mean by 1-
You have set your site to a very large width, so are you saying you want the menu and logo to be constrained to a smaller width and centered?
If so, I noticed you set your menu bar to have a fixed width of 1200px, which is a very bad a idea because if breaks responsiveness. What you want is a max-width of 1200px and a margin:0 auto to center it.
I am sure where you entered the width:1200px rule, but instead of that you want is
{max-width:1200px;margin:0 auto;}
about 2-, in order to keep things responsive when the menu bar will stack under the logo, you can try to add the rules below in Main options > Fonts & Custom Custom CSS Rule box
.menu-primary .wvrx-menu-html {margin-top:-50px;}
and changed the previous rule to add the same top madding value as this margin
{max-width:1200px;margin:0 auto;padding-top:50px;}
May 26, 2015 at 09:12 UTC - Views: 1 #22082tiziani
ParticipantThank you for your answer.It works really good with it.I have two more questions regarding my layout.1) Can I have the logo more adaptive? The logo getting smaller with the browser-window?The width definition in % doesn’t work.2) I want the primary-widget-area (in light blue) not to stick to right window edge but be centered with the content (stick right to the content-div). Is that possible?Thank you.MarcelMay 26, 2015 at 09:26 UTC - Views: 1 #22083scrambler
Moderator1) The percentage size needs to be on the logo container.
try adding the rule below in Main Options > Fonts & Custom > Custom CSS Rule box
.wvrx-menu-html {width:25%;}
2) If what you want is the content and sidebar to be less wide than the header and centered, you need to change the way you handled the content.
Right now you reduced and centered the content itself using
#content .entry-content{max-width:720px;margin-left:auto;margin-right:auto;padding-left:2%;padding-right:1%;}
What I suspect you want is remove that, and instead put a value in Main Options > Wrapping areas > Container Area > Max Width box, and select center for alignment right above that
May 26, 2015 at 11:03 UTC #22084tiziani
ParticipantEverything works fine now.
Thank you very much. -
AuthorPosts
- You must be logged in to reply to this topic.

