A user is trying to vertically center their search bar to align with the logo, ensuring equal spacing above and below. The challenge is making this adjustment only for desktop while keeping the mobile version unaffected.
Attempted Solutions:
Initial suggestion involved adding CSS code to the theme.liquid file (above the </body> tag)
Alternative approach recommended adding padding CSS to the Assets > Base.css file
Issue:
The proposed CSS changes are affecting both desktop and mobile views, which is not the desired outcome.
Current Status:
The discussion remains ongoing. A revised code snippet has been offered to replace the previous solution, but it’s unclear if this addresses the mobile responsiveness concern. The user needs a CSS solution that targets only the desktop layout without impacting mobile styling.
Summarized with AI on November 17.
AI used: claude-sonnet-4-5-20250929.
How to bring the search-bar a bit down so it is the same as logo . The height above the search bar should be same as the height below . What ever change i make affects the mobile version too , mobile version should not be affected . how should i do it?