Home › Forums › Weaver Xtreme Theme › Want No margin / padding on the edge of menu bar & footer
- This topic has 11 replies, 2 voices, and was last updated 11 years, 3 months ago by
GR8FL.
-
AuthorPosts
-
June 3, 2015 at 01:47 UTC - Views: 1 #17837
GR8FL
ParticipantI want to items on the right side of the menu bar to be flush right with the theme. No padding. No margin. Same goes with the left side. Same goes with the footer.
I tried the #4 tip from http://forum-archive.weavertheme.com/discussion/10343/weaver-xtreme-tips-and-tutorial-part-2#Item_1ul.wvrx-menu {margin-left:0px;}.is-desktop .menu-alignright {padding-right:0px;}But it is not flush left or right on the menu bar. And I still need something for the footer.
I believe in Weaver Pro II I had #access.menu_bar div {margin:0px;}. What do I do with Xtreme?June 3, 2015 at 03:56 UTC - Views: 4 #22382scrambler
ModeratorFor the Social icons to the flush right, you need the rule below in the Custom CSS Rule box
.wvrx-menu-right {margin-right:0px;}
The Home menu Item is flush to the left , except for the actual padding on menu items. If you want to remove the left padding on the first menu items but keep overall spacing, add the rule below
@media and (min-width:768px){
.wvrx-menu li:nth-of-type(1) a {padding-left:0;}
}For the footer you need
.is-desktop #footer-widget-area {padding-left:0;padding-right:0;}
.is-desktop #footer-widget-area .widget-4 {padding-right:0;}June 3, 2015 at 10:28 UTC - Views: 3 #22383GR8FL
ParticipantThe left menu items are still not flush left even after adding the rule you gave me.
June 3, 2015 at 16:59 UTC - Views: 2 #22384scrambler
ModeratorSorry syntax error on my part
@media only screen and (min-width:768px){
.wvrx-menu li:nth-of-type(1) a {padding-left:0;}
}June 3, 2015 at 17:17 UTC - Views: 3 #22385GR8FL
ParticipantIt’s still not right.
Please see the Weaver Pro Site: http://weaverhattie.littledropup.com/ compared to the Xtreme site: http://hattiesgarden.com/
June 3, 2015 at 18:09 UTC - Views: 2 #22386scrambler
ModeratorThe rule appear to be there but is not being applied, and I cannot see why. I have copy pasted the rules from your site in mine and they work fine there, so this is a puzzle.
There is a second rule missing too to get rid of some margin on the menu bar.
To get rid of the margin on the menu bar, add the rule
ul.wvrx-menu {margin-left:0;}
to get rid on the left padding on the home menu, remove the @media rule and try
.is-desktop .wvrx-menu li:nth-of-type(1) a {padding-left:0;}
June 3, 2015 at 18:39 UTC - Views: 4 #22387GR8FL
ParticipantIt works.
I have now….
.is-desktop .wvrx-menu li:nth-of-type(1) a {padding-left:0;}
@media only screen and (min-width:768px){.wvrx-menu li:nth-of-type(1) a {padding-left:0;}}
.wvrx-menu-right {margin-right:0px;}
ul.wvrx-menu {margin-left:0;}June 3, 2015 at 19:15 UTC - Views: 2 #22388scrambler
ModeratorGiven the @media rule does not work, I said to remove it.
.is-desktop .wvrx-menu li:nth-of-type(1) a {padding-left:0;}
.wvrx-menu-right {margin-right:0px;}
ul.wvrx-menu {margin-left:0;}June 3, 2015 at 21:31 UTC - Views: 3 #22389GR8FL
ParticipantThank you.
June 3, 2015 at 21:42 UTC - Views: 4 #22390GR8FL
ParticipantHow do I have the same effect on this site: http://lavenderfieldsde.com/? No margins or padding on footer or menu bar.
June 3, 2015 at 22:18 UTC - Views: 9 #22391scrambler
Moderatorfor the footer, start by putting a zero in Main Options > Footer > Footer Area > padding boxes as well as the Footer widget Area padding boxes
For the menu bar add the rules below to the Theme custom CSS Rule box
.is-menu-desktop .menu-alignright {padding-right:0;}
.wvrx-menu-left {margin-left:0;}
.weaverx-plus-search input {max-width:100% !important;}
.is-desktop .wvrx-menu li:last-of-type a {padding-right:0;}June 4, 2015 at 00:27 UTC - Views: 3 #22392GR8FL
Participantperfect!
thank you.
-
AuthorPosts
- You must be logged in to reply to this topic.

