tuanphan Posted May 20, 2020 Posted May 20, 2020 9 minutes ago, Iryne said: Hi, @tuanphanI want ask you.I want to add an arrow icon (dropdown icon near "Learn more" item) in navigation bar Because in my wireframe it was look like...(add attachment below)Question to you:Could I added this icon? Maybe I could fixed it after the launch the website? Add to Home > Settings > Advanced > Code Injection > Header <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> a.header-nav-folder-title:after { content: "\f107"; font-family: FontAwesome; font-weight: bold; } </style> AtomicTangerine 1 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!)
Guest Posted May 20, 2020 Posted May 20, 2020 6 minutes ago, tuanphan said: Add to Home > Settings > Advanced > Code Injection > Header <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> a.header-nav-folder-title:after { content: "\f107"; font-family: FontAwesome; font-weight: bold; } </style> Nice! Thanks!!!
crrjuilliard Posted May 24, 2020 Posted May 24, 2020 (edited) Looking to center the dropdown background. Anyone have the code for that? https://tarpon-mandolin-lblr.squarespace.com/ (password is password) Couple more dropdown ideas: •Can the hover color on the folder link be made different than the hover on the nav links in the dropdown itself? •Wondering if I can have part of the dropdown background change on the nav link that I hover over. Does that make sense? Edited May 24, 2020 by crrjuilliard
tuanphan Posted May 25, 2020 Posted May 25, 2020 7 hours ago, crrjuilliard said: Looking to center the dropdown background. Anyone have the code for that? https://tarpon-mandolin-lblr.squarespace.com/ (password is password) Couple more dropdown ideas: •Can the hover color on the folder link be made different than the hover on the nav links in the dropdown itself? •Wondering if I can have part of the dropdown background change on the nav link that I hover over. Does that make sense? Q1. Folder title or folder items? Q2. hover 6 folder links change folder background (6 background color)? 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!)
crrjuilliard Posted May 25, 2020 Posted May 25, 2020 2 hours ago, tuanphan said: Q1. Folder title or folder items? Q2. hover 6 folder links change folder background (6 background color)? Q1: Right now the folder title and items are the same color on hover. Looking to have the folder title be one color and all the items be a different color. Q2: I'm envisioning when you hover over a folder link/item, the section of the background behind that link changes color, but the rest of the background behind the other folder items/links stays the same.
tuanphan Posted May 25, 2020 Posted May 25, 2020 5 hours ago, crrjuilliard said: Q1: Right now the folder title and items are the same color on hover. Looking to have the folder title be one color and all the items be a different color. Q2: I'm envisioning when you hover over a folder link/item, the section of the background behind that link changes color, but the rest of the background behind the other folder items/links stays the same. Add to Home > Design > Custom CSS /* Q2 */ .header-nav-folder-item:hover { background: red; } /* Q1 */ .header-nav-folder-item:hover a { color: blue !important; } 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!)
crrjuilliard Posted May 25, 2020 Posted May 25, 2020 12 hours ago, tuanphan said: Add to Home > Design > Custom CSS /* Q2 */ .header-nav-folder-item:hover { background: red; } /* Q1 */ .header-nav-folder-item:hover a { color: blue !important; } Q1 is perfect, thanks For Q2, it's almost perfect. Here's what it looks like for me (I made the dropdown have rounded corners too). Is there any way to have the change in color extend to the edge of the dropdown?
crrjuilliard Posted May 25, 2020 Posted May 25, 2020 Also, I'm still looking to center the dropdown itself. Already got your code for centering the text.
tuanphan Posted May 26, 2020 Posted May 26, 2020 13 hours ago, crrjuilliard said: Also, I'm still looking to center the dropdown itself. Already got your code for centering the text. No Such Website The website you requested does not exist. Can you check your site url? 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!)
crrjuilliard Posted May 26, 2020 Posted May 26, 2020 7 hours ago, tuanphan said: No Such Website The website you requested does not exist. Can you check your site url? sorry, domain transfer just went through. www.cherieroe.com (pw is password)
tuanphan Posted May 27, 2020 Posted May 27, 2020 14 hours ago, crrjuilliard said: sorry, domain transfer just went through. www.cherieroe.com (pw is password) Add to Home > Design > Custom CSS a.header-nav-folder-title:hover+div, .header-nav-folder-content { text-align: center !important; position: absolute; left: 40% !important; right: unset !important; -webkit-transform: translatex(-50%); -o-transform: translatex(-50%); transform: translatex(-50%); background: transparent !important; } Just-Adam 1 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!)
crrjuilliard Posted May 27, 2020 Posted May 27, 2020 6 hours ago, tuanphan said: Add to Home > Design > Custom CSS a.header-nav-folder-title:hover+div, .header-nav-folder-content { text-align: center !important; position: absolute; left: 40% !important; right: unset !important; -webkit-transform: translatex(-50%); -o-transform: translatex(-50%); transform: translatex(-50%); background: transparent !important; } I've added this in so you can see what it looks like. It's still not centered and now the dropdown background is gone. I liked the background, I was just wanting the background color change on hover to go from edge to edge of the background. I understand this may not be possible since I gave the dropdown background rounded corners.
tuanphan Posted May 28, 2020 Posted May 28, 2020 16 hours ago, crrjuilliard said: I've added this in so you can see what it looks like. It's still not centered and now the dropdown background is gone. I liked the background, I was just wanting the background color change on hover to go from edge to edge of the background. I understand this may not be possible since I gave the dropdown background rounded corners. you can delete background: transparent !important in above code 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!)
crrjuilliard Posted May 28, 2020 Posted May 28, 2020 8 hours ago, tuanphan said: you can delete background: transparent !important in above code Perfect. Still not quite centered. And the background change isn't full width.
tuanphan Posted May 30, 2020 Posted May 30, 2020 On 5/28/2020 at 10:26 PM, crrjuilliard said: Perfect. Still not quite centered. And the background change isn't full width. Edit 40% to 50% Add this to Home > Design > Custom CSS .header-nav-folder-content { padding: 0 !important; } .header-nav-folder-content div { padding: 0.5em 1em; } 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!)
Kate Posted June 7, 2020 Posted June 7, 2020 I’ve been wondering the same @heller! If you are looking for a way to add Anchor Links, Gallery Blocks, or a Rotating Banner with Content Blocks overlaid in Squarespace 7.1, you can find all these plugins in our Squarespace add-on store here: www.Squareaddons.com -- Enjoy!
justbcuz73 Posted June 12, 2020 Posted June 12, 2020 Hi, I want to make the color of text of the name of the "About" folder to change when active on a page in that section. I tried using the code below in a Brine family template but it didn't work. Would appreciate any help! Thanks! https://hexagon-mustard-99j4.squarespace.com/mission /* folder */ .header-nav-folder-item--active a { color: red !important; }
Just-Adam Posted June 18, 2020 Posted June 18, 2020 On 5/27/2020 at 3:36 PM, tuanphan said: Add to Home > Design > Custom CSS a.header-nav-folder-title:hover+div, .header-nav-folder-content { text-align: center !important; position: absolute; left: 40% !important; right: unset !important; -webkit-transform: translatex(-50%); -o-transform: translatex(-50%); transform: translatex(-50%); background: transparent !important; } Thank you! so much. just used this myself!!!!
tuanphan Posted June 21, 2020 Posted June 21, 2020 On 6/13/2020 at 1:07 AM, justbcuz73 said: Hi, I want to make the color of text of the name of the "About" folder to change when active on a page in that section. I tried using the code below in a Brine family template but it didn't work. Would appreciate any help! Thanks! https://hexagon-mustard-99j4.squarespace.com/mission /* folder */ .header-nav-folder-item--active a { color: red !important; } Private Site This site is currently private. If you’re the owner or contributor, log in. Can you setup password & share url? 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!)
sundboell Posted July 14, 2020 Posted July 14, 2020 Hi @tuanphan, everyone - what a good thread to find. I hope you may be able to help me with my question, too ? Is it possible to completely change the drop down menu to something more 'elegant', for example like what you find on stripe.com, under 'products' ? Would that be custom CSS - and if so, are there any code snippets out there I can use for something similar ?
tuanphan Posted July 14, 2020 Posted July 14, 2020 1 hour ago, sundboell said: Hi @tuanphan, everyone - what a good thread to find. I hope you may be able to help me with my question, too ? Is it possible to completely change the drop down menu to something more 'elegant', for example like what you find on stripe.com, under 'products' ? Would that be custom CSS - and if so, are there any code snippets out there I can use for something similar ? Hi. You can, with simpler layout. You can send link to your site, I can take a look You can also use the mega menu plugin. 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!)
lilibetovesen Posted August 6, 2020 Posted August 6, 2020 @tuanphan, This thread has been very helpful. Thank you. I may have missed this, if someone else asked already, but I'd like to change the drop-down menu items to this color #ef6299. Can you help me with that code? Thank you.
tuanphan Posted August 6, 2020 Posted August 6, 2020 4 hours ago, lilibetovesen said: @tuanphan, This thread has been very helpful. Thank you. I may have missed this, if someone else asked already, but I'd like to change the drop-down menu items to this color #ef6299. Can you help me with that code? Thank you. Can you share site url? 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!)
COASTANDCROP Posted September 1, 2020 Posted September 1, 2020 On 7/30/2019 at 2:09 AM, tuanphan said: You're welcome. Have a nice week. Hi There, I have tried using this for a different colour drop downbox, however it goes black. I'm hoping to have a transparent background where only the words show with no colour. Is this possible? Thank you!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment