_WB
November 18, 2023, 5:40pm
1
I tried many things by searching on google but I couldn’t get the job done. I want the logo of my website to be center aligned on desktop and mobile. Also I want the search icon to be eliminated in mobile version. The theme I’m using is warehouse. Quick help would be appreciated.
Mobile Issue Screenshot:
Desktop:
1 Like
Hi @_WB
Would you mind to share your Store URL website? with password if its unpublish. Thanks!
_WB
November 19, 2023, 3:20pm
3
Hi, the store URL is
I have it published as of now.
Hi @_WB ,
You can center your logo following these steps:
Open your online store, open your theme, choose edit code:
Find the file names theme.css and patse the code below:
.header__logo-image {
position: absolute;
left: 0;
right: 0;
margin: auto;
top: 0;
bottom: 0;
}
.header__inner {
min-height: 50px;
}
Hope it helps @_WB
1 Like
_WB
November 20, 2023, 1:12pm
5
Hi,
The solution worked perfectly for the logo alignment. Could you help with the removal of the search icon as well(in the mobile version)? Thanks
Hi @_WB
You can remove search icon in the mobile with this code:
.header__action-item a[data-action="toggle-search"] {
display: none;
}
Just find the file names theme.css in your theme and paste the code i mention
Hope it helps @_WB
_WB
November 21, 2023, 1:09pm
7
Thanks! It worked perfectly.