joeylubelfeld Posted March 18, 2021 Share Posted March 18, 2021 Site URL: https://www.joeylubelfeldcopywriting.com Hi, Right now I don't have any customization on my website. For my menu, I have a "Services" folder where I have currently linked 5 different pages, one of which is a "services overview" page since the folder cannot act as a page. I'd like to be able to click on "services" in the menu bar to take the user to a page with content, while maintaining the dropdown menu with the four other pages. Does anyone have any suggestions? Thanks! Joey PS I apologize if this is confusing - I'm not a web developer or designer so I don't really know the proper jargon! Beyondspace 1 Link to comment
tuanphan Posted March 22, 2021 Share Posted March 22, 2021 Hi. Add this to Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('a.header-nav-folder-title[href="/all-services"]').click(function() { var link = $(this).text(), href = "/services"; window.location.href=href; }); }); </script> 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
amyfmcc Posted June 23, 2023 Share Posted June 23, 2023 Hi there - similar situation here, although I'd like to nest the page Newsletters under News. Is that possible? They are currently side by side on the menu and it doesn't make much sense. Also another topic, but can we see the date a PDF file was uploaded to our website? I see the asset library only includes images and videos, which is unfortunate. Link to comment
tuanphan Posted June 23, 2023 Share Posted June 23, 2023 29 minutes ago, amyfmcc said: Hi there - similar situation here, although I'd like to nest the page Newsletters under News. Is that possible? They are currently side by side on the menu and it doesn't make much sense. Also another topic, but can we see the date a PDF file was uploaded to our website? I see the asset library only includes images and videos, which is unfortunate. You can create a new folder with name News, then move Newsletter to News Folder, then we will give code to make News folder title clickable With PDF, I don't know this. 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
amyfmcc Posted June 26, 2023 Share Posted June 26, 2023 On 6/23/2023 at 3:01 PM, tuanphan said: You can create a new folder with name News, then move Newsletter to News Folder, then we will give code to make News folder title clickable With PDF, I don't know this. Hello! What code can I use to make the News folder clickable? Link to comment
tuanphan Posted June 27, 2023 Share Posted June 27, 2023 15 hours ago, amyfmcc said: Hello! What code can I use to make the News folder clickable? Can you do above first? We can check code 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
DameTheStoic Posted July 3, 2023 Share Posted July 3, 2023 On 6/23/2023 at 10:01 PM, tuanphan said: You can create a new folder with name News, then move Newsletter to News Folder, then we will give code to make News folder title clickable With PDF, I don't know this. damienbabington.com How can I make my Portfolio tab clickable and make it go to damienbabington.com/portfolio? Also, how can I remove the black box that appears behind the dropdown menu? Link to comment
tuanphan Posted July 5, 2023 Share Posted July 5, 2023 On 7/3/2023 at 8:05 PM, DameTheStoic said: damienbabington.com How can I make my Portfolio tab clickable and make it go to damienbabington.com/portfolio? Also, how can I remove the black box that appears behind the dropdown menu? Add to Settings > Developer Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script> <script> $(document).ready(function() { $('a.header-nav-folder-title[href="/portfolio-1"]').click(function() { var link = $(this).text(), href = "damienbabington.com/portfolio"; window.location.href=href; }); }); </script> I don't see black box. Can you check it again? 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
DameTheStoic Posted July 5, 2023 Share Posted July 5, 2023 15 hours ago, tuanphan said: Add to Settings > Developer Tools > Code Injection > Footer <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script> <script> $(document).ready(function() { $('a.header-nav-folder-title[href="/portfolio-1"]').click(function() { var link = $(this).text(), href = "damienbabington.com/portfolio"; window.location.href=href; }); }); </script> I don't see black box. Can you check it again? I fixed the black box issue already. For the clickable folder title, is there any way to do it without Code Injection since my current plan doesn't allow me to use that? Link to comment
tuanphan Posted July 9, 2023 Share Posted July 9, 2023 On 7/6/2023 at 6:52 AM, DameTheStoic said: I fixed the black box issue already. For the clickable folder title, is there any way to do it without Code Injection since my current plan doesn't allow me to use that? You try edit your Site Footer > Add a Markdown Block > paste the 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!) Link to comment
DameTheStoic Posted July 9, 2023 Share Posted July 9, 2023 1 hour ago, tuanphan said: You try edit your Site Footer > Add a Markdown Block > paste the code That worked! I just had to make this change: href = "damienbabington.com/portfolio"; to this: href = "/portfolio"; tuanphan 1 Link to comment
PrincipleD Posted January 22 Share Posted January 22 Hi is this function now possible without code? 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