Solved

How can I reduce header white space without resizing my logo?

CrazyBobble
Tourist
12 0 1

Does anyone know how to reduce the amount of white space in the header? I don't want to make my logo smaller to make the height of the header smaller.

I'm not very experienced so some help would be much appreciated. I'm using the symmetry theme.

Thanks.

Accepted Solution (1)
suyash1
Shopify Partner
9133 1137 1484

This is an accepted solution.

@CrazyBobble- change the number 2 in above code to the number you want and check

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session

View solution in original post

Replies 31 (31)

dmwwebartisan
Shopify Partner
12289 2547 3698

@CrazyBobble 

Please share store URL.

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app
CrazyBobble
Tourist
12 0 1

It's crazybobble.co.uk

Thanks.

suyash1
Shopify Partner
9133 1137 1484

@CrazyBobble- if you want something like in given screenshot then please add this css to the very end of styles.css file and check

.pageheader .logo {
    padding: 2px 0;
}

 

suyash1_0-1634736803747.png

 

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
CrazyBobble
Tourist
12 0 1

Hi, yeah this is what i mean. What would i change to leave a little bit more white space? This is reduced a bit too much.

Thanks.

suyash1
Shopify Partner
9133 1137 1484

This is an accepted solution.

@CrazyBobble- change the number 2 in above code to the number you want and check

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

@suyash1 @suyash1 @suyash1 

 

Hello🙂

 

Please could you help me to make the logo appear on my page as it is in the image that I send you?

 

The problem is that if I increase the size of the logo, the size of the header also increases. Because the header keeps the logo inside, but we want them to be independent. In order to increase the size of the logo so that it protrudes a bit from the header.

 

What is the code and where do we have to modify to make the size of the logo and header independent?

 

Our page is: https://kongpods.com/

 

Thank you

 

IMG-2584.jpg

suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- please try this code, adjust number as per need and you can increase logo size from customize options

@media screen and (min-width:749px){
header__logo-image{position: absolute;left: -50px;}
}

 

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0
 
I have sent you an image, where should I put the code? Do we have to add or replace with another code?
 
Thanks
Captura de pantalla 2021-12-04 a las 5.55.47.png
suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2-  please add given code in theme.css file and check, sorry I forgot to mention it

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

Hello, please help

 

I have already added it to the end of theme.css

 

I want to reduce the height of the header, and that the size of the logo does not change

 

Captura de pantalla 2021-12-04 a las 6.12.50.png

 

 

AlexBrowe2
New Member
18 0 0

Hello, please help @suyash1 @suyash1 @suyash1 Captura de pantalla 2021-12-04 a las 6.12.50.png

 

I have already added it to the end of theme.css

 

I want to reduce the height of the header, and that the size of the logo does not change

suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- sorry again, my bad, please remvoe previous code and ad this, it will make it like screenshot I gave you

@media screen and (min-width:750px){
.header__logo-image{position: absolute;left: -50px;}
}
To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

@suyash1 @suyash1 @suyash1 

 

Now it looks like this

 

Logo needs to be raised above to fit in the center of the header

 

Thanks

 

Captura de pantalla 2021-12-04 a las 6.23.46.png

suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- add top:-20px to it, so it becomes

.header__logo-image {
    position: absolute;
    left: -50px;
    top: -20px;
}
To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

@suyash1 @suyash1 @suyash1 

 

Only 2 things are missing:

 

1) Overlay the logo on top of the announcement bar, so that the head of the logo can be seen well and completely.

 

2) The same but in the mobile version, nothing has changed with this code

 

Captura de pantalla 2021-12-04 a las 6.35.05.png

 

 

 

 

Captura de pantalla 2021-12-04 a las 6.26.33.png

 

suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- remove that media query part to make it work on mobile , so instead of

@media screen and (min-width:750px){
.header__logo-image {
    position: absolute;
    left: -50px;
    top: -50px;
}
}

 

 

it will be this only, adjust numbers as per your need to make logo at position you want, you will need to adjust them as per need

 

.header__logo-image {
    position: absolute;
    left: -50px;
    top: -20px;
}

 

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

@suyash1 

 

Thank you very much for your help, there is only one detail missing to make it look good

 

Overlay the logo on the announcement bar to make it look complete, it has the head cut off

 

Captura de pantalla 2021-12-04 a las 6.35.05.png

suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- checking, somehow css not working on it

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- please add this css too

#shopify-section-header{z-index: 7;}

 

suyash1_0-1638598367827.png

 

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

@suyash1 

 

Don't work, I'm doing something wrong

 

Captura de pantalla 2021-12-04 a las 7.12.03.png

suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- no you did correct, just need !important, so it becomes

#shopify-section-header {
    z-index: 7 !important;
}
To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

@suyash1 

 

Thank you so much

 

Can you solve the following? Add a little more space or blank margin in the indicated areaCaptura de pantalla 2021-12-04 a las 7.17.34.png

suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- add this css and check, adjust number as per need

.shopify-section--apps .shopify-app-block{
    margin-bottom: 30px;
}

 

suyash1_0-1638599317699.png

 

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

@suyash1 

 

Thanks

 

How you could change the following: "Estándar 3 a 4 días laborables" and "Exprés 1 a 2 días laborables"

 

From the settings configuration I cannot

 

Captura de pantalla 2021-12-04 a las 7.36.34.png

suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- hi, please check in customize settings or language settings in online store->themes->actions

 

actually we do not get shopify checkout file to edit

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

Hello @suyash1 

 

Only in the mobile version and the "collection" page, this appears that we want to move down so that it is located below the photo and not above.

 

How can we do it?

 

Thanks

 

IMG-2626 (1).jpg

suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- please share this page link

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

Hello @suyash1 

 

https://kongpods.com/collections/x

 

But you have to see it from the mobile version

 

Thanks

suyash1
Shopify Partner
9133 1137 1484

@AlexBrowe2- this will need multiple css code settings and can affect other pages too, hence I recommend not to do it

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
suyash1
Shopify Partner
9133 1137 1484
Can you please check language settings?
To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
AlexBrowe2
New Member
18 0 0

@suyash1 @suyash1 @suyash1 

 

In the mobile version nothing has changed with the code

 

Captura de pantalla 2021-12-04 a las 6.26.33.png

 

 

 

Now it looks like this (desktop version)

 

Logo needs to be raised above to fit in the center of the header

 

Captura de pantalla 2021-12-04 a las 6.23.46.png

 

Thanks