Jump to content

Moving Search Icon & Account Icon

Recommended Posts

Hello,

I was wondering if anyone could help me. I would like to move my search icon on my navigation to the opposite side (right side) next to the account icon. Is there a way to do this? 

 

Also, is it possible to get both of these icons in the navigation on mobile view to the right of the logo? i have attached pictures with where i would like these to be. 

 

Thank you in advance for any help! 

Screenshot 2023-02-06 at 17.01.56.png

Screenshot 2023-02-06 at 16.56.50.png

Screenshot 2023-02-06 at 16.56.05.png

Link to comment
  • Replies 17
  • Created
  • Last Reply

Top Posters In This Topic

On 2/13/2023 at 2:33 AM, Emilienev said:

@tuanphansorry! its www.thealchemiguide.com

Add this to Last Line in Code Injection > Footer

<script>
  $(document).ready(function() { 
		$('header#header .search-icon').insertBefore('.header-actions.header-actions--right>.user-accounts-link');
	});
</script>
<style>
  .header-layout-branding-center-nav-center .header-actions--right>div:first-child {
    display: none;
}
</style>

image.thumb.png.6fd8c1a22f949e03d40b261b03f7f273.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

@tuanphan thank you so much that worked perfectly on the desktop! Is there a way to get the search icon and the members icon into my navigation header on mobile view next to the site title? At the moment i cant see the search icon and the members icon is positioned like a navigation title. 

 

Thanks again for your help! 🙂 

Link to comment
On 2/16/2023 at 5:00 AM, Emilienev said:

@tuanphan thank you so much that worked perfectly on the desktop! Is there a way to get the search icon and the members icon into my navigation header on mobile view next to the site title? At the moment i cant see the search icon and the members icon is positioned like a navigation title. 

 

Thanks again for your help! 🙂 

Current Member Icon is in overlay Menu. You want to move it outside + add a search icon to right of header. Is this right?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 2/21/2023 at 4:38 PM, Emilienev said:

@tuanphanYes please, so the search icon and member icon are together to the right of the header if possible 🙂 Thank you! 

Add this code under

<style>
  @media screen and (max-width:991px) {
  .header-actions.header-actions--right, .header-actions.header-actions--right>div {
    display: flex !important;
    position: relative;
    left: -40px;
}
  }
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 2/27/2023 at 5:14 PM, Emilienev said:

@tuanphanthank you! It has worked but now there are two search icons and the members icon is still in the overlay menu...I added it underneath the previous piece of code have i added it in the wrong place? Thanks again 🙂 

Screenshot 2023-02-27 at 10.12.17.png

Add this under to hide them

<style>
  .header-actions.header-actions--right>div:first-child {
    display: none !important;
}
  .user-accounts-link.header-menu-nav-item.header-nav-item--collection.customerAccountLoginMobile.loaded {
    display: none;
}
</style>

image.png.e82a2a776a69bb4a9d1fa05dbcfa9e64.png

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 weeks later...
  • 1 month later...

Hey @tuanphan so sorry but i was wondering if you could help me (again!). I would ideally like the search icon to be next to account icon on my desktop page. It's perfect on mobile view, just desktop where they are slightly too far apart, would you please be able to help me with this? 🙂 

Screenshot 2023-04-26 at 16.00.51.png

Link to comment
On 5/2/2023 at 9:41 PM, Emilienev said:

sorry @tuanphan the password Hello123 should work now! 

Add to Design > Custom CSS

.header-actions--right .customerAccountLoginDesktop {
    margin-left: 0px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.