peyo Posted August 6, 2023 Posted August 6, 2023 (edited) How do I remove the underline in links in the menu? I would like to remove the underline from 'Candles' and 'Found Items' in the menu when viewing the website from the mobile view. I tried this custom code and it did not work: .header-menu-nav-item { text-decordation: none; } Thank you! Here is the site URL: https://jellyfish-primrose-rjjw.squarespace.com/ Edited August 7, 2023 by peyo
derricksrandomviews Posted August 7, 2023 Posted August 7, 2023 (edited) The nav item may need to be targeted with custom CSS and to do that your website address needs to be posted. Edited August 7, 2023 by derricksrandomviews peyo 1
peyo Posted August 7, 2023 Author Posted August 7, 2023 @derricksrandomviews I added the site URL to the original post. Thanks.
Solution derricksrandomviews Posted August 7, 2023 Solution Posted August 7, 2023 (edited) This should help, you can choose which code snippet to use, one for the entire site, or header or footer. It will replace the CSS snippet you used. https://www.rebeccagracedesigns.com/blog/remove-underline-from-links Edited August 7, 2023 by derricksrandomviews peyo 1
peyo Posted August 7, 2023 Author Posted August 7, 2023 (edited) @derricksrandomviews Thanks for the link. I was able to edit the header to links so that they are consistent with the links in the footer in desktop view. Do you have any tips for formatting the links that appear in the hamburger menu? See the attached image. I used the same logic as the above but I can't get the links to show as 'none' for all the links: .header-menu-nav-item a { text-decoration: none !important; background-image: none !important; } Thank you. Edited August 7, 2023 by peyo
derricksrandomviews Posted August 8, 2023 Posted August 8, 2023 (edited) Removing the underline from the hamburger/mobile menu has me stumped for the moment. My 7.0 code doesn't work in 7.1 not this time anyway. Edited August 8, 2023 by derricksrandomviews
peyo Posted August 8, 2023 Author Posted August 8, 2023 Thanks for looking into this. I'll fiddle around and report back any findings.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment