Search Bar Overlapping Logo Issue in Header

Search Bar Overlapping Logo Issue in Header

manbru
Pathfinder
114 0 31

Hey,

 

First I would need you to watch this video of my store to understand the problem: https://imgur.com/a/p7FrK82 

 

The search bar in my header overrides the logo which it should not. I believe it is because the logo does not have this "grid-template-area" so that at the moment it's not a separate element in the header which causes the search bar to override it.

 

Skärmavbild 2024-09-25 kl. 01.05.35.png

 

My store: https://r1vex.myshopify.com/ 

 

 

 

I would be very grateful if you could help me fix this!

 

Replies 7 (7)
manbru
Pathfinder
114 0 31

If you mean collaboration request, the code is 5850

webwondersco
Shopify Partner
1164 169 170

@manbru Hope you are doing well.

 

Please add the below line of CSS code at the end of your CSS file.

 

body .desktop-search{
transform: translateX(-45%)!important;
}

 

result:

webwondersco_0-1727225417954.png

 

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram
manbru
Pathfinder
114 0 31

This didn't work unfortunately?

webwondersco
Shopify Partner
1164 169 170

@manbru where did you add this CSS? can you share the screenshot?

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram
manbru
Pathfinder
114 0 31

The code you provided only moves the search bar, and does not really fix the problem.

 

As you can see in this image below I need to add this line that that exist for the icons in my header, and give the logo an exactly the same "border/container" because it is this line that makes the search bar unable to overlap the logo.

 

Skärmavbild 2024-09-26 kl. 07.14.35.png

webwondersco
Shopify Partner
1164 169 170

Okat got it. but for that, need to update your header structure and update some CSS to make it possible.

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram
manbru
Pathfinder
114 0 31

Okay sounds very good!