Help make the banner the same for every desktop size

Topic summary

A user is trying to position their logo inside a circular element on their homepage banner (specifically fitting it into the Parthenon design), but the positioning breaks across different desktop screen sizes.

Proposed Solutions:

Three different CSS approaches were suggested:

  1. BSSCommerce-TC: Add min-width: 150% !important to img.header__heading-logo in base.css

  2. Sweans: Use absolute positioning with media queries:

    • Set .header__heading-link a to position: absolute with top: 10% and centered horizontally
    • Adjust top positioning at different breakpoints (768px and 480px max-width)
    • Set logo width to 100px with auto height
  3. PageFly-Richard: Insert custom CSS code in theme.liquid above </head> tag

Current Status:

The issue remains unresolved. The user reported “no change” after attempting at least one solution and provided a screenshot showing the persistent problem. No further troubleshooting or alternative solutions have been offered yet.

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

Hi, i need help in order to make the banner on the home page have the same margin-top in every desktop screen. More specifically I am trying to put my logo inside that circle that fits into the Parthenon. But when I do it for the big screen it destroys the small screen, can you help me keep it the same for every screen size? thank you

Pass: biangu

Url: www.matibrnd.com

Hi @MT27 ,

You can follow these steps

Step 1: Go to Online store > Themes > Edit code and find base.css file

Step 2: Insert below code at the end file and Save them

img.header__heading-logo {
    min-width: 150% !important;
}

Result:

Hi @MT27 ,

check this one,.

From your Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below

.banner {
position: relative;
}

.header__heading-link a {
position: absolute;
top: 10%; /* Adjust this value to position the logo */
left: 50%;
transform: translateX(-50%);
width: 100px; /* Adjust the width as necessary */
height: auto;
}

@media (max-width: 768px) {
.header__heading-link a {
top: 15%; /* Adjust this value for smaller screens */
}
}

@media (max-width: 480px) {
.header__heading-link a {
top: 20%; /* Adjust this value for even smaller screens */
}
}

And Save.

  • Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful.

Regards,
Sweans

Hi @MT27

This is Richard from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


Hope this can help you solve the issue

Best regards,

Richard | PageFly

no change…