Ladybug Posted July 1, 2021 Posted July 1, 2021 Site URL: https://www.faceplusform.com Hello! Could you please tell me a code for redirecting last child "shop" in the mobile navigation? I am using this code for the desktop and it works, but I am not able to target it on mobile. <script> $(document).ready(function() { $('.header-nav-item:last-child a ').attr('href','https://negujse.com'); }); </script> As I am using new auto list as slideshow banner on homepage, but I have a problem with mobile as I am not able to find the code to address the height. Also, I am not able to solve overstretching the background photos on mobile. Thank you! @tuanphan
tuanphan Posted July 2, 2021 Posted July 2, 2021 On 7/1/2021 at 1:33 PM, Ladybug said: Site URL: https://www.faceplusform.com Hello! Could you please tell me a code for redirecting last child "shop" in the mobile navigation? I am using this code for the desktop and it works, but I am not able to target it on mobile. <script> $(document).ready(function() { $('.header-nav-item:last-child a ').attr('href','https://negujse.com'); }); </script> As I am using new auto list as slideshow banner on homepage, but I have a problem with mobile as I am not able to find the code to address the height. Also, I am not able to solve overstretching the background photos on mobile. Thank you! @tuanphan I wonder why you don't add a Link Item to Navigation >> Add custom url??? 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!)
Ladybug Posted July 2, 2021 Author Posted July 2, 2021 4 hours ago, tuanphan said: I wonder why you don't add a Link Item to Navigation >> Add custom url??? THANKSS!! Well, I guess I am stupid 😂 And do you maybe have solution for the background images on mobile as they always stretch too much?😀 And what is the code name for the auto list banner slideshow as I have tried it all, so that I can change the height on mobile only 😂
Recommended Posts
Archived
This topic is now archived and is closed to further replies.