TFWC Posted April 3, 2022 Posted April 3, 2022 Site URL: https://www.twinforkswindow.com I'm trying to make my dropdown menu look like https://www.ramsa.com. If you hover over "About" you see a horizontal drop down menu instead of vertical. I also would like it to be semi-translucent white like RAMSA. Thank you!
tuanphan Posted April 3, 2022 Posted April 3, 2022 Add to Design > Custom CSS /* Nav dropdown */ .header-nav-folder-content { width: 100% !important; display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; justify-content: flex-end; } .header-nav-folder-content div { margin-right: 20px; } .header-nav .header-nav-item--folder { position: static; } 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!)
TFWC Posted April 3, 2022 Author Posted April 3, 2022 For some reason when I entered this, the width of the drop down menu didn't go 100% across the screen. It stopped an inch from the edge on both sides as if there were margins. When I changed it to 120% it went all the way to the left edge but the right edge kept the 1" margin.
tuanphan Posted April 4, 2022 Posted April 4, 2022 7 hours ago, TFWC said: For some reason when I entered this, the width of the drop down menu didn't go 100% across the screen. It stopped an inch from the edge on both sides as if there were margins. When I changed it to 120% it went all the way to the left edge but the right edge kept the 1" margin. You want to space out all dropdown items? 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!)
TFWC Posted April 4, 2022 Author Posted April 4, 2022 I've been working on a duplicate site behind the scenes. I just published it so you can see what I'm talking about. Check www.twinforkswindow.com now and you'll see the menu drop down doesn't go all the way to the edge of the screen on the right hand side. Additionally can you help me change the curser icon on the homepage when it hovers over the slideshow gallery. I'd like it to look like a standard cursor pointer instead of a hand icon. Thank you!
TFWC Posted April 4, 2022 Author Posted April 4, 2022 Also, when I view my website on my 32" desktop monitor the logo gets blurry. So I'm trying to change the logo from a png file to a svg file. I tried using this https://medium.com/kick-point/how-to-add-an-svg-logo-to-your-squarespace-website-d76dc8669679 but it didn't work. I was just left with blank white where the logo is supposed to be.
TFWC Posted April 4, 2022 Author Posted April 4, 2022 One last questions, on the mobile site https://www.twinforkswindow.com/fleetwood-mobile when I scroll down from the top the image grows and zooms in and it looks choppy and not smooth. Can you help me make this image static so it doesn't grow when I scroll. Thanks again for everything.
tuanphan Posted April 5, 2022 Posted April 5, 2022 17 hours ago, TFWC said: I've been working on a duplicate site behind the scenes. I just published it so you can see what I'm talking about. Check www.twinforkswindow.com now and you'll see the menu drop down doesn't go all the way to the edge of the screen on the right hand side. Additionally can you help me change the curser icon on the homepage when it hovers over the slideshow gallery. I'd like it to look like a standard cursor pointer instead of a hand icon. Thank you! try this new code /* Nav dropdown */ .header-nav-folder-content { width: 100% !important; display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; justify-content: center; width: 3000px; position: relative; left: -25% !Important; } .header-nav-folder-content div { margin-right: 20px; } .header-nav .header-nav-item--folder { position: static; } /* slideshow cursor */ .gallery-fullscreen-slideshow * { cursor: initial; } #2. You can upload svg to your site & replace below code url with svg url /* Header logo */ header#header img { content: url(https://cdn.pixabay.com/photo/2022/03/22/18/24/flowers-7085710__480.jpg); } 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!)
TFWC Posted April 5, 2022 Author Posted April 5, 2022 The drop down menu code didn't work. It shifted the submenu all the way to the left and I was unable to click anything because it would disappear when I moved my cursor. I had to change it back.
TFWC Posted April 5, 2022 Author Posted April 5, 2022 I also got a broken link where my logo is supposed to be. I typed "SVG" in a textbox on a hidden page on my site then linked the svg logo to that text. I then highlighted the link and added it to the code you sent where the url goes.
tuanphan Posted April 6, 2022 Posted April 6, 2022 19 hours ago, TFWC said: I also got a broken link where my logo is supposed to be. I typed "SVG" in a textbox on a hidden page on my site then linked the svg logo to that text. I then highlighted the link and added it to the code you sent where the url goes. #1. Seeing #2. Can you send the code after you added new link? 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!)
TFWC Posted April 6, 2022 Author Posted April 6, 2022 I changed the logo back to the .jpeg image because I can't leave a broken link icon as my header all day. Below is the code. The svg image is linked to text on a page that I don't have viewable to the public. When I enabled the page so that it was viewable to the public, the logo was still a broken link. /* Header logo */ header#header img { content: url(/s/Website-Header-Logo-3-d4yb.svg); }
tuanphan Posted April 10, 2022 Posted April 10, 2022 On 4/6/2022 at 8:56 PM, TFWC said: I changed the logo back to the .jpeg image because I can't leave a broken link icon as my header all day. Below is the code. The svg image is linked to text on a page that I don't have viewable to the public. When I enabled the page so that it was viewable to the public, the logo was still a broken link. /* Header logo */ header#header img { content: url(/s/Website-Header-Logo-3-d4yb.svg); } With code in Custom CSS, you need to enter Full image url It should be /* Header logo */ header#header img { content: url(https://www.twinforkswindow.com/s/Website-Header-Logo-3-d4yb.svg); } 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!)
TFWC Posted April 20, 2022 Author Posted April 20, 2022 I did this and it worked but for some reason the svg logo still looks blurry on my 32" desktop. Perhaps its the size of the svg file? When I open TextEdit on my Mac I see the size is width=2409.0pt height=295.0pt. Maybe the larger desktop is having trouble scaling? It looks great on my 16" MacBook Pro.
peterlimapires Posted January 14, 2023 Posted January 14, 2023 On 4/3/2022 at 4:34 PM, tuanphan said: Add to Design > Custom CSS /* Nav dropdown */ .header-nav-folder-content { width: 100% !important; display: -webkit-box !important; display: -ms-flexbox !important; display: flex !important; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; justify-content: flex-end; } .header-nav-folder-content div { margin-right: 20px; } .header-nav .header-nav-item--folder { position: static; } Hi tuanphan, thanks so much for your updated. I'm a big fan of your code, really helpfull ! I'm trying to add this one to my website but the dropdown gets align to the right. Any idea of how to ajust it to the correct position ? The dropdown should be aligned / centered with "Collection" from the main navigation. Thanks for any help you can provide
tuanphan Posted January 18, 2023 Posted January 18, 2023 On 1/14/2023 at 11:04 PM, peterlimapires said: Hi tuanphan, thanks so much for your updated. I'm a big fan of your code, really helpfull ! I'm trying to add this one to my website but the dropdown gets align to the right. Any idea of how to ajust it to the correct position ? The dropdown should be aligned / centered with "Collection" from the main navigation. Thanks for any help you can provide What is your site url? But I think you can remove this line first justify-content: flex-end; 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!)
niyachristine Posted May 2 Posted May 2 Hello, I'm also trying to create a flyout menu with horizontal menu items (and a new color background), I tried all of the code suggestions here and this is what I get. See screenshot. I wonder why it's not taking. We are on Squarespace Advanced eCommerce. Niya Christine Squarespace Circle Developer
paul2009 Posted May 3 Posted May 3 Your screenshot shows some CSS. This should be inserted into the Custom CSS panel (find it here), not the Code Injection panel 🙂. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment