Tagged: x
-
AuthorPosts
-
November 6, 2016 at 9:37 am #1245943
Jesse EParticipantHello –
I am currently building out http://beta.lovethyneighborhood.org/ to be our new website. I would like to make “APPLY NOW” a button in the top righthand corner of the navbar that perfectly replicates the style of the buttons I am using in the body.
I am using this shortcode for those buttons: [button type=”flat” shape=”rounded” size=”large” href=”http://lovethyneighborhood.org/apply/” title=”APPLY NOW”]APPLY NOW[/button]
How can I achieve this?
I love the X theme and recommend it to everyone. So many websites now have a Call to Action button in the top righthand corner of the navbar that it’s becoming an industry standard. If there is room for suggestions, I would love to see the option of buttons in the navbar become a more user-friendly process that don’t require adjustments to the CSS. I appreciate any help you can offer. Thank you!
November 6, 2016 at 9:53 am #1245953
RupokMemberHi there,
Thanks for writing in! Do you want the button in Navbar? You can add it as a menu item and style as a button.
You can follow these threads – https://community.theme.co/forums/topic/button-in-the-navbar/ and https://community.theme.co/forums/topic/add-button-to-header-2/
If you face any issue, let us know. We’ll assist you to get it done.
Cheers!
November 6, 2016 at 10:05 am #1245962
Jesse EParticipantThank you for your response. Perhaps I am misunderstanding? Nothing is happening with I add to the CSS. See attached image.
November 6, 2016 at 10:34 am #1245994
RupokMemberHi there,
I think you are not using the right code. Here goes the code to make the menu item “Apply Now” as button :
.x-navbar .x-container { position: static; } #menu-item-320 { position: absolute; right: 30px; top: 25px; } #menu-item-320 > a, #menu-item-320 > a:hover { background-color: rgba(194, 28, 28, 0.75); border-radius: 5px; box-shadow: none; color: #fff; height: 40px; line-height: 40px; padding: 0 15px; }The result should be like this – http://prntscr.com/d3trr6
Cheers!
November 6, 2016 at 10:47 am #1246002
Jesse EParticipantStep in the right direction! Thanks! When the screen gets smaller, the navbar ends up overlapping the APPLY NOW button. They lay on top of one another. How can I avoid this? See attached image.
November 6, 2016 at 10:49 am #1246006
Jesse EParticipantOr, is there a way to make APPLY NOW part of the responsive menu? Right now, it appears we have removed it from the responsive menu and set it over by itself to the side. I’d rather it be located in the menu where it was before only with the added graphic of being a button.
November 6, 2016 at 11:54 am #1246061
RupokMemberHi there,
Let’s add this CSS as well :
.x-nav-wrap.desktop { padding-right: 150px; }Hope this helps.
November 7, 2016 at 9:39 pm #1248091
Jesse EParticipantThis is a version of what I am looking for but not quite. I am wanting the original menu position. I only wanted the last link on the right in the primary menu to be a button. I wasn’t wanting to remove it from its position in the menu. Is there a way to move it back to its original position in the menu and simply turn it into a button? Thanks for your help on this!
November 8, 2016 at 12:17 am #1248216
RupokMemberHi there,
In that case, update the last code to following :
@media only screen and (min-width: 980px) and (max-width: 1500px) { .x-nav-wrap.desktop { padding-right: 150px; } }Cheers!
November 8, 2016 at 7:01 am #1248591
Jesse EParticipantThat is still not what I am looking for. I have attached a mockup to give more clarity. I apologize if I have been unclear. Thank you for your help and patience.
November 8, 2016 at 7:13 am #1248603
JadeModeratorHI Jesse,
Thanks for clarifying.
Please find this code:
#menu-item-320 { position: absolute; right: 30px; top: 25px; }and update it to:
#menu-item-320 { top: 25px; }Hope this helps.
November 8, 2016 at 7:41 am #1248637
Jesse EParticipantPerfect! Thank you! You nailed it!
November 8, 2016 at 7:54 am #1248657
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1245943 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
