We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

how to align header in dawn theme

how to align header in dawn theme

logiclayer
New Member
9 0 0

logiclayer_0-1750947447464.png

how  can i  align my header similar to the reference image. 

my  theme is fresh dawn theme and i only put one code in base.css till now just to change the size of header and is  there a way buy which i can change  icons too which are in the header and change them and put a 3d glb format file instead same as the reference image cart option

 

.site-header {
padding: 8px 0;
height: 60px;
}
.header__heading-logo {
max-height: 40px;
}
.header__menu-item {
font-size: 14px;
padding: 10px;
}

Replies 5 (5)

AiTrillion
Shopify Partner
4265 250 754

Hi @logiclayer ,

 

Can you please highlight the part where you want to add the logo. Also, can you please provide the image so that I can check it on my side.

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.
logiclayer
New Member
9 0 0

I WANNA PUT A 3D MODEL INSTEAD OF CART WHICH WILL KEEP ROTATING

Daniel481
Visitor
2 0 0

Your current CSS is good for resizing, but alignment (like centering logo, spreading out nav items, or aligning icons) usually needs Flexbox adjustments in Dawn's layout structure.

Try this enhanced CSS in base.css or component-header.css:




/* == Custom Header Layout Adjustments == */

.site-header {
padding: 8px 0;
height: 60px;
display: flex;
align-items: center;
justify-content: space-between; /* adjust as needed */
}

.header__heading {
display: flex;
align-items: center;
}

.header__heading-logo {
max-height: 40px;
margin-right: 20px; /* adjust spacing */
}

.header__inline-menu {
flex-grow: 1;
display: flex;
justify-content: center; /* center nav items */
}

.header__menu-item {
font-size: 14px;
padding: 10px;
}

.header__icons {
display: flex;
align-items: center;
gap: 12px;
}

logiclayer
New Member
9 0 0

DIDNT WORKED

CodingFifty
Shopify Partner
1102 162 191

Hey! @logiclayer,

 

Could you kindly share your store URL and password (if it’s password-protected) so I can review it and provide you with an update?

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com