-
Author
-
October 2, 2015 at 18:26 #80457
afarahani
ParticipantIs there any way that I can have a glossy header? (e.g. like the one here
Also Let me know how I can change the header color from black to white in mobile version.
Do you have any manual that each color field changes which element color?
Thanks,
AmirOctober 3, 2015 at 23:50 #80685Laura
ModeratorHello, for the glossy header try adding this to style.css of child theme and need to find a good slider image that creates the contrast of dark and white like attached.
COPY CODEdiv#header { background: rgba(255, 255, 255, 0.07); border-bottom: 1px rgba(255, 255, 255, 0.37) solid; height: 100px; }For mobile menu white color:
COPY CODE@media only screen and (max-width: 940px) { .top-bar > ul .name h1 a { background: #000000 !important; } .top-bar ul > li.has-dropdown .dropdown li.has-dropdown > a li a:hover, .top-bar ul > li.toggle-topbar { background: #000000 !important; } nav.top-bar a { color: white !important; } }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 4, 2015 at 00:22 #80696afarahani
ParticipantThank you Laura.
Now that we turn the header background into white in mobile (480 px), the menu square should turn into some other color to be visible. How can I do that?
Amir
October 4, 2015 at 21:28 #80814Laura
ModeratorHello, could you link me to the page? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 5, 2015 at 07:51 #80863afarahani
ParticipantHere is the page link.
Another problem is this code applies to every other pages I have such as member pages, etc. I want it to be applied only to this page.
Regards,
AmirOctober 5, 2015 at 21:37 #81002Laura
ModeratorHello, so glossy header and mobile white only for that page?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 6, 2015 at 22:29 #81183Laura
ModeratorHello, try this replacing the other code
COPY CODEbody.page.page-id-816 #header { background: rgba(255, 255, 255, 0.07); border-bottom: 1px rgba(255, 255, 255, 0.37) solid; height: 100px; } @media only screen and (max-width: 940px) { body.page.page-id-816 .top-bar > ul .name h1 a { background: #000000 !important; } body.page.page-id-816 .top-bar ul > li.has-dropdown .dropdown li.has-dropdown > a li a:hover, .top-bar ul > li.toggle-topbar { background: #000000 !important; } body.page.page-id-816 nav.top-bar a { color: white !important; } }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.