- This topic has 10 replies, 2 voices, and was last updated 4 years, 10 months ago by Leo.
-
AuthorPosts
-
June 24, 2019 at 11:11 am #939832Jana
I have to replicate this navigation bar with the logo and the signup included in it. I’ve tried several things from your help sections but haven’t gotten anywhere.
Thanks, JanaJune 24, 2019 at 11:19 am #939835LeoStaffCustomer SupportHi there,
Have you tried this?
https://docs.generatepress.com/article/adding-buttons-navigation/Can you link me to your current site so I can see the progress?
June 24, 2019 at 11:37 am #939847JanaHi – I added the your-custom-class in the home menu but I don’t know where to add the css (I tried putting it into custom css but that didn’t work.
And I also don’t’ know how to personalize the code or how to add a logo to the nav bar.
This is the site – https://centerforahumaneeconomy.org/testsite/
June 24, 2019 at 11:41 am #939851LeoStaffCustomer SupportTry adding a logo in Site Identity:
https://docs.generatepress.com/article/adding-header-logo/Then use this method:
https://docs.generatepress.com/article/navigation-as-a-header/As for buttons in navigation, can you follow every step in this article first?
https://docs.generatepress.com/article/adding-buttons-navigation/June 24, 2019 at 12:09 pm #939868JanaI tried adding the logo to the site identity but couldn’t get it to be up on left side of nav bar without moving the Site title as well. And when I turned it off and put the site title in Elements instead, I couldn’t get it centered – maybe you can send me the code to center it in elements?
As far as following the steps for the nav button – I don’t understand where to put the CSS code – it’s not clear to me. Could you explain that part?
June 24, 2019 at 12:15 pm #939873LeoStaffCustomer SupportSo just to make sure, you are wanting logo as well as site title in the navigation?
It usually works much better if it’s just the logo as you’ve shown in the example.
Positioning the header element content can be done within the settings:
https://docs.generatepress.com/article/how-to-create-a-page-hero/#step-5-position-the-contentCSS can be added using one of these methods:
https://docs.generatepress.com/article/adding-css/June 24, 2019 at 2:22 pm #939949JanaJust to deal with the nav button issue right now – I have this in my Customize > Additional css:
@media (min-width:769px) {
.main-navigation .main-nav ul li.nav-button a {
background-color: #ffffff;
border: 2px solid #000000;
color: #000000;
line-height: 80px;
}
}But it isn’t adding a button in the nav bar – what am I doing wrong?
June 24, 2019 at 2:58 pm #939972LeoStaffCustomer SupportI don’t see the
nav-botton
class being added to any of the menu items.Can you double check?
Let me know ๐
June 24, 2019 at 5:49 pm #940049JanaI tried following the instructions and just can’t make it work!
I’ve added “nav-botton” to the CSS Classes of a separate menu item (Donate) and it did nothing.
And I’ve got this in the additional css:
@media (min-width:769px) {
.main-navigation .main-nav ul li.nav-button a {
background-color: #ffffff;
border: 2px solid #000000;
color: #000000;
line-height: 35px; /*this number will likely need to be adjusted*/
}
}Thanks, Jana
June 24, 2019 at 5:56 pm #940050JanaWhoa! I got it to work! Thanks for yoru patience! Love your theme and your customer support!
June 24, 2019 at 6:14 pm #940060LeoStaffCustomer SupportGlad to hear ๐
-
AuthorPosts
- You must be logged in to reply to this topic.