- This topic has 9 replies, 2 voices, and was last updated 5 years, 9 months ago by
Leo.
-
AuthorPosts
-
August 10, 2020 at 4:43 pm #1396271
moy
In the navigation bar, I have created a subscribe page. So I visited this page and tried to convert the subscribe option into ghost button. But for some reason, subscribe option is not turning into the button. I don’t know what I am doing wrong. And I also like to give it a hover colour changing effect.
Will you be able to help me out?
August 10, 2020 at 8:57 pm #1396396Leo
StaffCustomer SupportHi there,
Any chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know 🙂
August 11, 2020 at 10:20 am #1397523moy
Whatever I did to add the button, I captured the screenshots of each of the steps that I followed. And I named the screenshots accordingly.
https://drive.google.com/drive/folders/13p_7spv16NPh_shF6ytDY_sQ6GLdL4AO?usp=sharing
August 11, 2020 at 2:57 pm #1397839Leo
StaffCustomer SupportIn screenshot 2, replace
custom-classwithnav-button.August 11, 2020 at 3:07 pm #1397860moy
thank you very much. it is now working.
August 11, 2020 at 3:08 pm #1397863Leo
StaffCustomer SupportNo problem 🙂
August 12, 2020 at 12:59 pm #1399595moy
I like to create hover effective on the subscribe ghost button.
right now “Subscribe’ is turning into black from orange and the border colour stays the same. I like to create the same hover effect on both button and subscribe option.
Is it possible to make the change?And I am using navigation as header & sticky navigation so the button is getting bugger when i am scrolling down. I don’t want the button to change it’s size. is it possible?
August 12, 2020 at 2:34 pm #1399739Leo
StaffCustomer SupportI’ll need to see the site in question for this one.
August 12, 2020 at 3:41 pm #1399796moy
This is my site –
https://aikubus.comAugust 12, 2020 at 3:48 pm #1399801Leo
StaffCustomer SupportSo this is your current CSS:
@media (min-width: 769px) { .main-navigation .main-nav ul li.nav-button a { background-color: #fff; border: 2px solid #ff4e00; color: #ff4e00; line-height: 40px; } }Edit to this to include the hover effect and fix the height issue:
@media (min-width: 769px) { .main-navigation .main-nav ul li.nav-button a { background-color: #fff; border: 2px solid #ff4e00; color: #ff4e00; line-height: 40px !important; } .main-navigation .main-nav ul li.nav-button a:hover { background-color: #000; border: 2px solid #ff4e00; color: #222; } } -
AuthorPosts
- You must be logged in to reply to this topic.