Jump to content

move product title above image on MOBILE

Recommended Posts

  • Replies 7
  • Views 892
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
On 11/28/2021 at 5:56 PM, Tungstene said:

Add this to last line in Code Injection > Footer > Then check again on real mobile

<script>
jQuery(document).ready(function($){
if (jQuery(window).width() < 767) {
$('h1.ProductItem-details-title').insertAfter('nav.ProductItem-nav');
}
});
</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
  • 1 year later...
On 7/12/2023 at 7:00 PM, HydroPonic_se said:

@tuanphan 
I also struggle with the same issue. 
I tried your code but it did not do the trick.

Any other ideas?

Thank you in advance!

Above code missing jQuery library, but the site has already jquery installed, so no need that line. But if your site haven't installed jQuery, the code won't work. 

Can you share link to a product on your site? We can check 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

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.