[Resolved] Help creating a button on the Zeal GP Theme for the hero header

Home Forums Support [Resolved] Help creating a button on the Zeal GP Theme for the hero header

Home Forums Support Help creating a button on the Zeal GP Theme for the hero header

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1138390
    Peter

    Hello,

    I have a button using the basic css, however I’d like to give it a hover effect but anytime I do it is not working. The css I used for the hover is identical to the other buttons so I figured it would work.

    .btndonate2, #nf-field-4{
    	display: inline-block;
    	border-radius: 5px;
    	background: #ef3e42;
    }
    .btndonate2 a {
    	color: #ffffff !important;
    	border-radius: 5px;
    
    }
    .btndonate2 a:hover {
    	background: #8C1C1D;
    	border-radius: 5px;
    }
    

    It seems to completely ignore the a portions of the button and I cannot figure out why.

    #1138412
    Leo
    Staff
    Customer Support

    Hi there,

    Your site requires login and password to view.

    Any chance you can unlock it or provide the info through Account Issues here?
    https://generatepress.com/contact/

    Let me know πŸ™‚

    #1139251
    Peter

    Hi Leo,

    I sent it via the link you provided.

    #1139439
    Leo
    Staff
    Customer Support

    Does this CSS help?

    .page-hero a.btn:hover {
        background-color: #fff;
    }

    Let me know πŸ™‚

    #1139569
    Peter

    Thank you so much! Worked perfectly.

    #1139738
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.