Home › Forums › Weaver Xtreme Theme › Message to John (merlojh)
- This topic has 27 replies, 2 voices, and was last updated 2 years, 8 months ago by
scrambler.
-
AuthorPosts
-
January 27, 2021 at 18:53 UTC - Views: 64 #67150
scrambler
ModeratorHi John @merlojh
I am wondering if you are not seeing my posts on your last thread.
Have you seen the one below
Button – Weaver Support Forum (weavertheme.com)
It said”
Are you reading my posts John???
You have the Button HTML in the Menu Right HTML box.
I asked you to move it into the Header HTML Box
Main options > Header >Header HTML > Header HTML Content
Once it is there I can come up with CSS to try and do what you want
January 27, 2021 at 19:24 UTC - Views: 67 #67153merlojh
ParticipantThis css was in the fonts and custom I removed it from there so I should put it in the Header HTML box.
.is-mobile .menu-primary .custom-logo-on-menu img {height:5em;}
.is-mobile .wvrx-menu-right {font-size:80%;}
January 27, 2021 at 19:28 UTC - Views: 60 #67154merlojh
ParticipantThat did not work it came in below the header as css text John
January 27, 2021 at 19:33 UTC - Views: 60 #67155scrambler
ModeratorJohn you are confused.
The CSS was removed, and that was fine, don’t put it back anywhere!
I am speaking about the HTML that CREATES the buttons.
Right now, you have that HTML in the Menu Right HTML box, located in Main Options > Menus > Primary Menu Bar > Right HTML box
I asked you to move The HTML in that box (NOT the CSS) into the Header HTML Box located below
Main options > Header >Header HTML > Header HTML Content
Once it is there I can come up with CSS to try and do what you want
January 27, 2021 at 22:26 UTC - Views: 56 #67156merlojh
ParticipantI did that and it ended up in a white space below the header yes a little confused not remembering John
January 27, 2021 at 22:53 UTC - Views: 54 #67157scrambler
ModeratorThat is fine, the white will go away once I come up with the CSS
January 27, 2021 at 22:57 UTC - Views: 54 #67158scrambler
ModeratorThat said while the buttons are here, we can see the menu has the same “centering” that it had before when we had positioned the buttons….
So I don’t understand the centering issue you had with it when we did….
January 27, 2021 at 23:15 UTC - Views: 52 #67159merlojh
ParticipantYes menu looks fine but what about the donate button it is a white space below? John
January 28, 2021 at 02:55 UTC - Views: 47 #67161merlojh
ParticipantAre you going to give me the css so the PayPal button is not under the header in a white space? John
January 28, 2021 at 04:51 UTC - Views: 54 #67162scrambler
ModeratorI forgot your menu was fixed.
We need to move the buttons again, sorry.
Remove the HTML from the Header HTML content box.
Instead insert it in Advanced options > HTML Insertion Areas > Pre wrapper code box, and change your HTML code to the one below
<form action="https://www.paypal.com/donate" method="post" target="_top"> <input type="hidden" name="hosted_button_id" value="BKT5XZR2CLDSN"> <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button">
</form>
And post back
January 28, 2021 at 20:27 UTC - Views: 42 #67165merlojh
ParticipantDone but now it is way on the left and there is a white area under the header John
January 28, 2021 at 20:54 UTC - Views: 45 #67166scrambler
ModeratorAdd the CSS below to your therem Global Custom CSS Rule box.
First rule moves the button above the menu
second rule shifts the menu down to make place for it
#inject_prewrapper {
position: fixed;
top: 0;z-index: 20000;
left: 50%;max-width: 1100px;
margin-left: -550px;
display: block;width: 100%;
text-align: right;}.menu-primary ul {margin-top:30px;}
The white you have below the header si because you still have some stuff in the Header HTML box. go there, select all that is in the box and delete
January 28, 2021 at 23:38 UTC - Views: 37 #67171merlojh
ParticipantIt is sitting a little to high now near the top and to close to the menu
[buttons start='first-to-show' end='last-to-show' list='1,3,2' wrap='div'] I can’t remember where this needs to go? John
January 29, 2021 at 00:14 UTC - Views: 43 #67172scrambler
ModeratorYou can increase the space above the buttons by changing the top value in the first rule from top:0 to something else like top:5px
You can increase the space between buttons and menu by changing the value in
.menu-primary ul {margin-top:30px;}
Your button shortcode is to display your social icons, I cant tell you where you want them….
January 29, 2021 at 02:38 UTC - Views: 32 #67176merlojh
ParticipantThanks so much for the help that worked!! John
January 29, 2021 at 05:08 UTC - Views: 39 #67179scrambler
ModeratorYou need to do a few changes to improve on mobile,
First set the menu BG to transparent (type transparent in the menu BG color box)
then Change the rules I gave you and you modified to the ones below
#inject_prewrapper {
position: fixed;
top: 80px;left: 50%;max-width: 1100px;
margin-left: -550px;
display: block;width: 100%;
text-align: right;}.menu-primary ul {margin-top:80px;}
.is-mobile #inject_prewrapper {left:auto;right:40px;margin-left:0;top:20px;}
@media (max-width:1030px){.menu-primary ul {margin-top:10px;}}
This will improve the spacing as the menu stacks under and on mobile
-
AuthorPosts
- You must be logged in to reply to this topic.