Jump to content

Make search functionality appear on top for mobile version

Recommended Posts

6 hours ago, LindseyMexico14 said:

Site URL: https://usa-dog-behavior.squarespace.com/blog

Hi! 

 

The part that is circled I want it to appear on the top in the mobile version

 

I cannot seem to find a code for this!

 

 

Screen Shot 2022-08-02 at 5.53.24 PM.png

Do you mean adding this field under the logo navigator box on mobile?

image.thumb.png.735b37e5696b587a6bb640ab8e5ed228.png

Or making it beyond all element?

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
8 hours ago, LindseyMexico14 said:

@bangank36 let me know if you have any ideas please!

My suggestion is using javascript to create a new search function and insert it to the location as you require. Then using the Css media query to hide the new one on desktop, only set visible for mobile breakpoint only

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
13 minutes ago, bangank36 said:

My suggestion is using javascript to create a new search function and insert it to the location as you require. Then using the Css media query to hide the new one on desktop, only set visible for mobile breakpoint only

thanks! I actually wrote:

 

/* reverse columns on mobile */

#collection-53a5d492e4b0ac2a8752cbbb

{

@media screen and (max-width: 767px)

{ .sqs-row

{ display: flex !important; flex-direction: column-reverse !important; }

}

}

 

and it seems to work!

Link to comment

It 's good to know that

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.