Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

HELP PLEASE! Changing header Basil template 7.0 to transparent. It is currently white and I have tried everything.


crownvideos

Question

Site URL: https://www.crownvideos.co.uk/

Hello,

My header used to be transparent but today I tried to change it and it has become solid white without touching anything. How can I revert this to be transparent again when it is at the top? My header layout elements are all set to bottom. Colour changes when changing the site styles >main>color section but I cannot get it to be transparent at the top. When padding added to the header the logo and menu slide down from the white banner. Also when parallax option is unticked the white rectangle disappears from on top of the header menu but the elements are still on top of black andI would like to have the parallax effect like it had it before anyway.

 

I have used the following code which hasn't worked:

body.tweak-transparent-header:not (.header--menu-open):not([data-menu-overlay-theme-switcher="true"]) .header-announcement-bar-wrapper.dark {
    background-color: transparent !important;
}

 

header.Header.Header--bottom.Header--overlay {
    background-color: transparent !important;
}

 

HELP!

Thanks,

Claudia

Link to comment
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
2 hours ago, crownvideos said:

Site URL: https://www.crownvideos.co.uk/

Hello,

My header used to be transparent but today I tried to change it and it has become solid white without touching anything. How can I revert this to be transparent again when it is at the top? My header layout elements are all set to bottom. Colour changes when changing the site styles >main>color section but I cannot get it to be transparent at the top. When padding added to the header the logo and menu slide down from the white banner. Also when parallax option is unticked the white rectangle disappears from on top of the header menu but the elements are still on top of black andI would like to have the parallax effect like it had it before anyway.

 

I have used the following code which hasn't worked:

body.tweak-transparent-header:not (.header--menu-open):not([data-menu-overlay-theme-switcher="true"]) .header-announcement-bar-wrapper.dark {
    background-color: transparent !important;
}

 

header.Header.Header--bottom.Header--overlay {
    background-color: transparent !important;
}

 

HELP!

Thanks,

Claudia

It is because of the sticky code you implement on it. You can use fixed property instead of sticky.
header.Header.Header--bottom.Header--overlay { position: fixed; }

Link to comment
  • 0
21 hours ago, crownvideos said:

But this would just make it transparent all the way through the website correct when scrolling down?

I would like for it to be transparent at the top and then have a colour background when scrolling down.

It looks like you solved this?

.Header.Header--bottom.Header--overlay {
    position: fixed;
    z-index: 1000;
    width: 100%
}

.Header.Header--bottom.Header--overlay.scrollNav {
    background: #000
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...