Jump to content

is there a way to remove the default magnifying glass image in the search bar?

Go to solution Solved by Beyondspace,

Recommended Posts

Posted (edited)

hi! i was wondering if there is a way to remove the default magnifying glass image in the search bar on my website: cledeclarte.squarespace.com/search 

i tried doing it in css, and i even changed the background image of the search bar, and it appeared in the css editor, and i saved it. but once i looked at my website on another window, it reverted back to the original search bar, even though the changes appeared in my css editor ://

 

1. also, is there a way to also remove the border on the search bar completely? i removed it in css, but from time to time i still see the border in the edit page, but when i look at my website in a different window, the border isn't there, so i'm wondering if i did it correctly

2. also, is there a way to edit the current text that is in the bar? mine says "type to search," but i was wondering if there is a way to change it to all uppercase, black font, size 0.7rem, and bold

3. and is there a way for me to align the input text with my site title?

password: rachelle

 

thank you so much!!image.thumb.png.c62c4f26b7b9c7d676293e79bc5a434b.png

Screen Shot 2023-01-20 at 12.00.48 AM.png

Screen Shot 2023-01-20 at 12.06.55 AM.png

Edited by rachellefreddie
  • rachellefreddie changed the title to is there a way to remove the default magnifying glass image in the search bar?
  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Posted
4 hours ago, rachellefreddie said:

hi! i was wondering if there is a way to remove the default magnifying glass image in the search bar on my website: cledeclarte.squarespace.com/search 

i tried doing it in css, and i even changed the background image of the search bar, and it appeared in the css editor, and i saved it. but once i looked at my website on another window, it reverted back to the original search bar, even though the changes appeared in my css editor ://

 

1. also, is there a way to also remove the border on the search bar completely? i removed it in css, but from time to time i still see the border in the edit page, but when i look at my website in a different window, the border isn't there, so i'm wondering if i did it correctly

2. also, is there a way to edit the current text that is in the bar? mine says "type to search," but i was wondering if there is a way to change it to all uppercase, black font, size 0.7rem, and bold

3. and is there a way for me to align the input text with my site title?

password: rachelle

 

thank you so much!!image.thumb.png.c62c4f26b7b9c7d676293e79bc5a434b.png

Screen Shot 2023-01-20 at 12.00.48 AM.png

Screen Shot 2023-01-20 at 12.06.55 AM.png

I check that it is using the following code to set the glass icon

image.thumb.png.58022209fe76aaa854e1cf04d4667e08.png

If you want to set another icon, try this on Home > Design > Custom Css

.sqs-search-page-input {
  background-image: url('https://api.iconify.design/material-symbols/search.svg?width=40'); /*url for icon*/
  background-repeat: no-repeat;
  background-position: left center;
    
}
/*placeholder of input*/
.sqs-search-page-input input::placeholder {
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  text-decoration: uppercase;
}

Support me by pressing 👍  or marking as solution if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

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.