drewdp Posted June 22 Share Posted June 22 Hi, I recently added a folder to my navigation and am wondering how to edit my existing custom CSS for two purposes: (1) When you hover over "work," the dropdown menu currently cuts off the word "work" a bit. I'd like to move it down slightly. (2) I'd like to remove the underline that appears under the "work" subheadings when you click on them. Apparently the code used to remove the underline previously doesn't apply to the categories within the folder. Here is my current custom CSS: [data-section-id="61808ef21e351d4c7fc79bcd"] { min-height: unset !important; } [data-section-id="61808ef21e351d4c7fc79bcd"] .content-wrapper { padding-bottom: 0 !important; } .video-caption * { font-size: 12px; margin-top: 8px; color: white; text-align: center; } h3.portfolio-title { font-size: 30px !important; letter-spacing: 7px !important; } body {background-color: black !important;} body.tweak-transparent-header:not(.header--menu-open):not([data-menu-overlay-theme-switcher="true"]) .header-announcement-bar-wrapper.dark { background-color: transparent !important; } /* Remove Navigation Link Underline */ .header-nav-item--active a{ background: unset !important; } /* Change the color as needed to match your branding */ :not(.header-nav-item--folder).header-nav-item--active a, .header-nav-folder-item--active > a { color: #2F4F4F !important; } @font-face { font-family: 'Phontfreak'; src: url('https://static1.squarespace.com/static/617dd816b5b76e3ec33fc583/t/62eec91b27081e7c4461ff43/1659816219907/PhontPhreaks+Handwriting.ttf'); } @font-face { font-family: 'Yuqato'; src: url('https://static1.squarespace.com/static/617dd816b5b76e3ec33fc583/t/62eec91490acc7521db8c03f/1659816212149/YuqatoHandwritingRegular.ttf'); } #site-title {font-family: 'Phontfreak';} div#block-yui_3_17_2_1_1656032988531_8204 { padding-top: 0px; } Thanks for your help! Link to comment
tuanphan Posted June 23 Share Posted June 23 Hi, What is your site url? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
tuanphan Posted July 7 Share Posted July 7 #1. You set line-height in Site Styles too low. You can adjust it in Site Styles or add this to Design > Custom CSS /* Folder title cut off */ div.header-nav-item>a { line-height: 25px; } #2. Add to Design > Custom CSS /* remove nav underline */ span.header-nav-folder-item-content { background-image: none !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
drewdp Posted July 7 Author Share Posted July 7 Thanks so much for your help. I was able to change the spacing, but after adding that code the underline is still appearing in the navigation folder. Link to comment
tuanphan Posted July 9 Share Posted July 9 On 7/7/2023 at 11:56 PM, drewdp said: Thanks so much for your help. I was able to change the spacing, but after adding that code the underline is still appearing in the navigation folder. I see you added code in wrong position so CSS box add an ID before the code, so it won't work. Try move my code to top of CSS box Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Dovely2023 Posted September 19 Share Posted September 19 Hi @tuanphan we have a client with a customization similar to this. We were able to adjust the underlined color but noticed when the user is on the whole home & remodels or children's spaces that the background is green. Is there a way to prevent this from happening? Below is the link for reference. Thank you so much! https://www.bleugracedesigns.com/whole-homes-remodels Link to comment
tuanphan Posted September 21 Share Posted September 21 On 9/20/2023 at 12:27 AM, Dovely2023 said: Hi @tuanphan we have a client with a customization similar to this. We were able to adjust the underlined color but noticed when the user is on the whole home & remodels or children's spaces that the background is green. Is there a way to prevent this from happening? Below is the link for reference. Thank you so much! https://www.bleugracedesigns.com/whole-homes-remodels You mean remove green lines or remove black line? if green line, remove on both items, or remove on Children's spaces only? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment