Soma Theme Help Free theme

Transparent menu

M Started by Michiel · May 12, 2021 at 9:08 am · 1 reply 0 voices Last reply 5 years, 1 month ago
ST
Spiracle Themes Original poster
#2

Hi Michiel,

Try the following CSS


header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    color: #fff;
    border-bottom: none;
}

header #soma-main-menu-wrapper .nav>li>a {
    color: #fff;
}

.soma-top-bar .top-social a, .soma-top-header .top-social a {
    padding-right: 10px;
    color: #fff;
}

#soma-main-menu-wrapper .navbar-toggle .icon-bar {
    background: #fff;
}

#page-title h1 {
    margin-top: 150px;
}

@media only screen and (max-width: 767px) {
	.scroll-fix {
	    position: relative !important;
	    border: 0;
	}

	header #soma-main-menu-wrapper .nav>li>a {
	    color: #555;
	}
}


/* sticky header */
header.fixed {
    color: #555;
}

header.fixed #soma-main-menu-wrapper .nav>li>a {
    color: #555;
}

header.fixed .soma-top-bar .top-social a, 
header.fixed .soma-top-header .top-social a {
    padding-right: 10px;
    color: #555;
}

Copy and paste it in Appearance -> Customize -> Additional CSS

Let us know if this works for you 🙂

Best Regards

Post a reply

Join the conversation. Be kind — this is a public forum.

Replying to Transparent menu

By posting, your reply becomes public (unless marked private).