gambreu Posted May 22, 2020 Share Posted May 22, 2020 Site URL: https://brecha.online Hi! I'm trying to figure out a way to change the color of my header on one specific page of my website (it's black throughout the website and I want to make it yellow on one page). I followed this helpful article and was able to find a code snippet that makes the header yellow while I'm on the custom CSS page, but whenever I leave, the live website goes back to the black header. Can someone help me figure out where the error is? As mentioned, I would like to ideally add this to a specific page, so if anyone could also recommend how to do this (via unique page id for instance) that would be very much appreciated! .header#header {position: fixed!important;} .header-nav-folder-content { background: #fac124!important; } body:not(.tweak-transparent-header) .black .header-announcement-bar-wrapper { background-color: #fac124; } Link to comment
tuanphan Posted May 22, 2020 Share Posted May 22, 2020 If you use Business Plan, add to Page Settings > Advanced > Header <style> .header-announcement-bar-wrapper { background: red !important; } </style> If you use Personal Plan, add Code Block > Insert above code Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
gambreu Posted May 24, 2020 Author Share Posted May 24, 2020 @tuanphan Thank you so much, that worked beautifully!! Do you also know how to set a custom color for the button in the header on that particular page? Link to comment
tuanphan Posted May 24, 2020 Share Posted May 24, 2020 7 hours ago, gambreu said: @tuanphan Thank you so much, that worked beautifully!! Do you also know how to set a custom color for the button in the header on that particular page? Which plan do you use? Personal or Business Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
gambreu Posted May 25, 2020 Author Share Posted May 25, 2020 @tuanphan Persona, but I actually managed to do it by adding this code block on that particular page: <!--Navigation bar--> <style> .header-announcement-bar-wrapper { background: #fac124!important; color: #fac124!important; } </style> <!--Navigation dropdown--> <style> .header-nav-folder-content { background: #fac124!important; color: RGB(0,0,0)!important; </style> <!--Button color--> <style> .btn.btn--border.theme-btn--primary-inverse { background: RGB(0,0,0)!important; color: #fff; } </style> Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.