EmilyRose Posted February 3, 2022 Posted February 3, 2022 Site URL: https://seanandemilytravels.com/ Hi All, Im really struggling to figure this out. I want my menu navigation link titles to link to a page. I have created the page in the folder i want it to link to as you can see on the website and i remember reading something about CSS code *remove first child* but i cant find the post. Does anyone know the code for me to do this? Thanks!!
tuanphan Posted February 3, 2022 Posted February 3, 2022 Now: can't click Folder title (About, Tours, Travel..) You want: can click Is this right? 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!)
EmilyRose Posted February 3, 2022 Author Posted February 3, 2022 Hi! Yes I want the top folder to be the main page. And the title pages to be clicked on!
tuanphan Posted February 7, 2022 Posted February 7, 2022 It looks like you solved with this script code? <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function(){ $('.header-nav-item.header-nav-item--folder>a').click(function(){ window.location.href=$(this).attr('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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment