Home › Forums › Theone WordPress Theme › Transparent header
Tagged: header, transparent
- This topic has 13 replies, 3 voices, and was last updated 11 years, 2 months ago by
SeaTheme.
-
AuthorPosts
-
November 19, 2014 at 2:58 pm #5463
ramb0zamb0
ParticipantHi,
I just bought your theme and was wondering if i could change the header to where it will stay transparent the whole time even when scrolling through the page?
Thanks,
ramb0zamb0
November 20, 2014 at 2:59 am #5470Hi, thank you for purchasing our theme
plz go to wp-admin, paste the code into Theone(theme option) / General settings / Custom Css
body.page #header.headerbg { background-color:transparent;}Best,Bwsm
Follow on @uiueux to get update news!March 6, 2015 at 9:08 pm #6545dashmista
ParticipantIs it possible to have the header at 50% opacity? So you can see through it but it is not completely transparent?
March 6, 2015 at 9:13 pm #6546dashmista
ParticipantOkay I did this: body.page #header.headerbg {
opacity: .5;
}And it worked
However, can you goto uxdash.com and see now there are two logos in the header. I had this problem before with the other type of header (square box animation) but you gave me CSS to fix it. Can you give me css to fix it for this style of header now too? I appreciate it.
March 7, 2015 at 1:30 am #6547remove the css in this topic: https://seatheme.net/forums/topic/how-to-have-separate-logos/
March 7, 2015 at 2:46 am #6550dashmista
ParticipantThe css in that topic does not work for this problem.
I tried it as follows: body:not(.page) .logo-image {display: none;}
But please see uxdash.com – the problem still exists.
Thank you
March 7, 2015 at 8:11 am #6552– use the css to hide short logo:
.logo-image { display: none; }– remove the background to hide long logo(the logo with text) : https://www.dropbox.com/s/xtfo2ij8xuto5m6/QQ20150307-1.jpg?dl=0
March 8, 2015 at 12:24 am #6562dashmista
ParticipantSorry I think I was not clear in stating my problem.
The code you provided does work in removing the small logo from the header – but it also removes the small “uxd” logo from the loading box and square box on page load. I want to keep the “uxd” in the loading page and square box, but remove it from the header and only have “uxdash” in the header. How can I do this? Sorry for the confusion.
Also, how can I style the header to not be transparent on mouseover? I want it transparent when scrolling, but I want it solid on mouseover.
I really appreciate your help.
March 8, 2015 at 1:33 am #6564Hi dashmista
Try update to:
#header .logo-image { display: none; }I don’t understand 2nd question
March 8, 2015 at 3:06 am #6565dashmista
ParticipantPerfect! Works! I appreciate it so much.
Sorry for the confusion. So the 2nd question is: on the current uxdash website, the header is transparent. However, if the user moves their mouse to the header (for example, to click a link), I want the header to change opacity to full (not transparent) so that they can focus on the header links better. How can I code this?
March 8, 2015 at 3:14 am #6566dashmista
ParticipantWhoops, I found the solution:
body.page #header.headerbg:hover {
opacity: 1;
}This achieves the effect. However, how can I make the transition from opacity: 0.7 to opacity: 1 smooth? How can I make the transition smooth? I tried several codes from the internet and I am not able to figure it out. Thanks.
March 9, 2015 at 2:48 am #6578Use the css:
body.page #header.headerbg { -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -o-transition: all 0.5s; -ms-transition: all 0.5s; transition: all 0.5s; }March 9, 2015 at 5:23 pm #6581dashmista
ParticipantHmmm does not work? The menu still “snaps” from 0.7 to 1.0 opacity on hover.
March 10, 2015 at 2:04 am #6591It is complicated, the css is conflict with scroll effect. There is not perfect solution.
-
AuthorPosts
- You must be logged in to reply to this topic.
