Theme overlay for Umami
Support Area › Forums › Umami › Theme overlay for Umami
Tagged: theme overlay
- This topic has 10 replies, 2 voices, and was last updated 9 years, 1 month ago by Bill Robbins.
-
AuthorPosts
-
February 20, 2015 at 18:12 #26967traci cooleyParticipant
Hi again,
I am wondering how I can extend the theme overlay so that it fills up the whole page or site. It looks silly with my background pictures being partly clear and partly darkened out. I have done a bunch of research and I just don’t know what I am looking for to fix it. LOL You helped me lighten the transparency which I LOVE.. Now I just nee to get the overlay over the entire screen. I hope that makes sense.Thank you again for your help
February 20, 2015 at 18:51 #26968Bill RobbinsModeratorHello Traci,
Just about anything can be done. Let me make sure I understand exactly what you’re going for here. Are you saying you want the semi-transparent black to be everywhere and not just where there is text. For example there would be no space on the right where that background wouldn’t be present. Is that what you’re looking for?
Enjoy your weekend,
BillFebruary 20, 2015 at 18:59 #26971traci cooleyParticipantI believe that is what I am looking for. The transparent overlay goes over that little bit of the right side that is not covered. The feedback I have received says that it is a bit distracting from the content.
Thank you so much for your help
TraciFebruary 20, 2015 at 19:08 #26972Bill RobbinsModeratorI think we can do that. Give this a try:
- Go to your theme options page and choose the Advanced tab.
- Scroll down to the Custom CSS box and add this:
#content, #sidebar { background: none !important; z-index: 10; } body:after { content: ' '; position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: 0; background-color: rgba(0, 0, 0, 0.8); }
- Update your settings.
Take care,
BillFebruary 20, 2015 at 19:17 #26973traci cooleyParticipantAwesome!!!! Just what I was looking for!!!! Thank you so much!!!!! Have a great weekend. Traci
February 20, 2015 at 19:24 #26974Bill RobbinsModeratorFantastic 🙂
February 20, 2015 at 19:24 #26975traci cooleyParticipantone more question on this subject. I just noticed that it only scrolls part way down. Is there a way to have the overlay scroll all the way down? So the text is easier to read as the site continues to grow?
February 20, 2015 at 19:30 #26976Bill RobbinsModeratorI had hoped that would work without requiring us to make an edit, but that doesn’t appear to be possible after all. So let’s do this:
- Go to the Appearance section in your WordPress dashboard and choose Edit.
- From the list of files on your right, choose footer.php and find this line:
<!-- Load wp_footer -->
- Right above that add this:
<div id="cover"></div>
(Be sure to copy that code from the support site and not the notification email).
- Next go to the Custom CSS box in the theme options again. You can take this out:
body:after { content: ' '; position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: 0; background-color: rgba(0, 0, 0, 0.8); }
and add this in its place:
#cover { position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: 100%; width: 100%; z-index: 0; background-color: rgba(0, 0, 0, 0.8); }
- Save your changes.
See if that doesn’t do a more complete job of covering it all for you.
Bill
February 20, 2015 at 19:51 #26977traci cooleyParticipantAwesome, that got it to cover everything which I love. but now it is not as dark as it was:( Any thoughts
February 20, 2015 at 19:56 #26978traci cooleyParticipantI fixed it. So sorry I did not save it the first time. You Rock. thank you for all your help
February 20, 2015 at 20:12 #26979Bill RobbinsModeratorGlad that got you where you wanted to go. Thanks again 🙂
-
AuthorPosts
- The topic ‘Theme overlay for Umami’ is closed to new replies.