How do I make a transparent header in Colorblock 3.0.0?

I would like to make a transparent header in Colorblock 3.0.0 that allows my image banner to show seamlessly altogether with the menu navigation inside the image banner.

Hello,

Please share your website link.

Thank you for your help.

Could I share it privately with you?

Sure - DM me.

The below code can be a way to achieve what you are looking for:

@media (min-width:768px) {
#shopify-section-header {
  background: transparent;
}
main#MainContent {
  margin-top: -115px;
}
}
@media (max-width:768px) {
main#MainContent {
  margin-top: -60px;
}
}

Regards,

Gabriel

1 Like

Thank you so much Gabriel!

Which part of the code should I be editing?

Adding the code at the end of your base.css file should work as expected.

Cheers!

1 Like