Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Hallo
its lots easier to make pancakes than this...
i hope someone have the knowledge if it ispossible in an relative easy way to do it
ive tried to make the Navheader transparent trough making some Css stuff in different ways
And can not figure out how to do it ?? ( first time i try out... )
Ive tried with the masthead just for se if it was possible and that was easy and functionally.
and then i tried for the background color navheader... :-)
.masthead {
background-color: rgba(236, 20, 20, 0.36);
}
but for the navheadbak i cant find out how to do...
first atttempt failure = nothing happen ive find the 1st name in an export template
1st attempt:
"" nav.header.bgcolor {
background-color: rgba(236, 20, 20, 0.36);
}
2nd attempt
"" nav.header. {
background-color: rgba(236, 20, 20, 0.36);
some other names ivetried are
navigation.header
primary-menu menu ( from sourcecode )
after 5987643 different names and attempt. ive try to change a template export and then import it as a template... it will not work either.
changing from ,"nav.header.bgcolor":"#ffffff", change to ,"nav.header.bgcolor":" rgba(255, 255, 255, 0)",
Christmas wish:
Maybe in future there will be a slider in navheader menyitems background just like there is for dropdown...
Last edited by Robban (2016-11-18 11:41:41)
Offline
You can make theMasthead transparent in Backlight> designer> templates> whatever page template you are using. Then in the Masthead section for background color pull down the drop down and make the color rgba(255,255,255,0) The zero on the end controls color opacity with 0 being transparent.
Offline
what Mark said. You can do the same thing for navigation menu items
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Are you sure you have that option/ opacity slide in your menu for navigationhead background color ?
in my version (Backlight 1.1) does not the slid exist at all in that menu
only existing in the dropdown border color menu... and that do not transparens thebackground (if im right ;-) )
Earlier i mentioned my css try out for masthead just for showing how i think then try do it for navbackcolor,,,
maybe its only possible to make that css stuff if the "colorblock" for navhead have "rgba" programmed from start, therefore i cant change it with css ?? ( i hope you understand what i mean )
i think backlight is superb and easy to managed and / learn about how to do, but coding css and other stuff is a new lesson for me.
so far i used approx 4h to make the test site from scratch and lot of try and error...
im trying to make both masthead and navmeny at opacity of x %
i will be happy if you want to watch my testsite and hopefully you understand better what im trying to do :-)
Last edited by Robban (2016-11-18 10:19:40)
Offline
it's there:
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod for showing me that pic of Masthead coloradjustment ;-)
im grateful that you try to help me out even if my quest was ment to be about opacity of Navigationheader.
Im looking for the answer how to change the opacity for NavigationHead that actual " colorbox " contains no opacity slider (rgba).
Because of that i was thinking if a Css could fix it ?
( folders in backlight page)
Pagesetup
Pagelayot
MainColumn
TrayColumns
Typography
Masthead your screenshot was taken here
Navigation
Navigation.head / Menu items / Background-Color/ ""colorbox"" In here there is no Opacitysllder only (rgb)
Navigation Trays
...
...
...
...
Last edited by Robban (2016-11-18 12:30:51)
Offline
Rod i find out you have a superb and great testsite
in your enterpage there is a low opacity in the masthead and navigateheadbackground is totallyblack with white text " Enter"
Have you find away to change the opacity for the black color in navigationhead ?
http://backlight-rb-test.barbeephoto.com
One of your pages have php hooks location there i found ttg_navigation hook location.
wich gave me some ideas and a need to learn mora about php and css :-)
Offline
Navigation.head / Menu items / Background-Color/ ""colorbox"" In here there is no Opacitysllder only (rgb)
You're right, there is no slider. But you can still use rgba to create transparency in the menu items.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I wasn't aware of that hack and do not recommend it. Matt has chosen which colours support alpha based on the handling across different designs and breakpoints. Those colours are given alpha sliders.
Offline
Color values are also sometimes fed into PHP functions for format conversions, for example, if I need to break apart a hex value to create independent R, G and B values for use in a script. An invalid value -- i.e. supplying an rgba() value when the function expects a hex -- could be very, very bad.
Offline
I must have experimented with that a long time ago and forgotten about it. Didn't realize it wasn't actually supposed to that.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
So the short answer is that there is no way to make the menu bar transparent?
Charlie
www.stalkinglight.com
Offline
You can try this for the menu bar itself:
nav, nav ul.primary-menu.menu {
background-color: transparent;
}
and then for the menu items, add nav li
to that:
nav, nav ul.primary-menu.menu, nav li {
background-color: transparent;
}
if you need the :hover or other states to be transparent, just add those in too.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks.
Charlie
www.stalkinglight.com
Offline
Rod i find out you have a superb and great testsite
in your enterpage there is a low opacity in the masthead and navigateheadbackground is totallyblack with white text " Enter"
Have you find away to change the opacity for the black color in navigationhead ?
yep, custom css:
nav, nav ul.primary-menu.menu {
background-color: transparent;
}
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Rod Big big thanks ! :-)
Offline
Thanks for asking the question. Got me motivated to get rid of that dark bar on the home page slide show. Looks better now
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline