Jump to content

Mobile navigation link

Recommended Posts

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

Edited by Ladybug
Link to comment
  • Ladybug changed the title to Mobile navigation link
  • Replies 2
  • Views 384
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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!)

Link to comment
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  😂

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.