KatherineS Posted January 8, 2021 Share Posted January 8, 2021 Site URL: https://www.qbpsychology.ca/ Hi, I wanted to make a drop down that looked like a button so that I wouldn't have to have two buttons on my header. I found some css to make the folder "book an appointment" have the color and border of a button, but if you mouse over it its a drop down. The issue is, that the text of my "button" is no longer in line with any of the other header links. More specifically, it caused all the other header links to shift up so that they are in line with the top of my "button", and are no longer in line with my company name. Can anyone please tell me what to do to change this? I would like the company name and all text in the header to be in the same horizontal alignment. Thanks! header#header [href="/book-an-appointment"] { color: #ffffff; background-color: #54c057; border-color: #54c057; border-radius: 0.0rem; padding: 12.8px 18.736px; } Link to comment
tuanphan Posted January 10, 2021 Share Posted January 10, 2021 I solved a similar problem. Set Flex for nav class. If you share password, we can check easier. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
KatherineS Posted January 14, 2021 Author Share Posted January 14, 2021 hi, thanks for your response. I tried typing nav-class: flex; but it didn't seem to do anything. I'm not sure if that's what you meant. The password is psychology would you mind taking another look? Link to comment
tuanphan Posted January 17, 2021 Share Posted January 17, 2021 On 1/15/2021 at 2:03 AM, KatherineS said: hi, thanks for your response. I tried typing nav-class: flex; but it didn't seem to do anything. I'm not sure if that's what you meant. The password is psychology would you mind taking another look? Add to Design > Custom CSS nav.header-nav-list { display: flex; align-items: center; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.