- This topic has 15 replies, 3 voices, and was last updated 3 years, 4 months ago by Leo.
-
AuthorPosts
-
November 27, 2020 at 7:15 am #1552517Sourabh
Hi Leo/David,
Refer below GP site Library and guide me on how to make this documentation button in the header and how to paste link into it –
Regds:
November 27, 2020 at 10:08 am #1553026LeoStaffCustomer SupportHi there,
This should help:
https://docs.generatepress.com/article/adding-buttons-navigation/Let me know 🙂
November 28, 2020 at 1:25 am #1554285SourabhI think I am making something wrong again, i have pasted css into an additional CSS Section in customizer but things not working, no button appears???
help..
November 28, 2020 at 8:28 am #1555074DavidStaffCustomer SupportDid you follow step 1 in the article that Leo provided ?
November 28, 2020 at 8:34 am #1555082SourabhI tried to follow but stuck in add a custom class in nav menu, I saw that and added custom class from screen of top, but could not understand where should i paste the CSS there which is been given in article??
it was bit confusing for me …so created custom class but where should i paste CSS code ??
November 28, 2020 at 10:18 am #1555262LeoStaffCustomer SupportDecember 3, 2020 at 7:41 am #1565943Sourabhno, I did this and followed all the steps, but didn’t get any result, seems I am making something wrong…Don’t know how to check now
December 3, 2020 at 11:42 am #1566298LeoStaffCustomer SupportCan you follow the steps again and link me to the page in question if it doesn’t work?
December 4, 2020 at 5:44 am #1567107SourabhI tried whole day, and did something, but still something is missing which i have requested, i used below CSS but its not looking as same i want –
/* Navigation styles */
@media (min-width:769px) {
.main-navigation .main-nav ul li.nav-button a {
border-width: 3px;
border-style: solid;
border-color: inherit;
border-radius: 5px;
line-height: 3em;
}
}now what is missing is –
some hover effect
Border
want to reduce some width and height to make equal, Below is url to check –December 4, 2020 at 10:22 am #1567659LeoStaffCustomer SupportCan you clear and disable your caching plugin first?
December 4, 2020 at 10:23 am #1567662SourabhDone, deactivated now
December 4, 2020 at 5:29 pm #1567957LeoStaffCustomer SupportI’m seeing this CSS added:
/*for account button in header*/ /* Navigation styles */ @media (min-width:769px) { .main-navigation .main-nav ul li.nav-button a { border-width: 3px; border-style: solid; border-color: inherit; border-radius: 5px; line-height: 3em; } }
and also this:
@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*/ } }
Can remove the first block first?
December 4, 2020 at 11:43 pm #1568133SourabhBelow is deleted now –
/*for account button in header*/
/* Navigation styles */
@media (min-width:769px) {
.main-navigation .main-nav ul li.nav-button a {
border-width: 3px;
border-style: solid;
border-color: inherit;
border-radius: 5px;
line-height: 3em;
}
}December 5, 2020 at 10:15 am #1568641LeoStaffCustomer SupportSo what isn’t working?
The border is indeed working – it’s just not obvious as your navigation background is also a dark color.
You can see it working if you use
2px solid #ff0000;
instead of2px solid #000000;
:
https://www.screencast.com/t/mFyA1yMCWDecember 5, 2020 at 11:48 am #1568723Sourabhokay..
-
AuthorPosts
- You must be logged in to reply to this topic.