-
AuthorPosts
-
May 19, 2018 at 9:11 pm #959199
Is it possible to have a background image in the footer that stretches into the socket area and fills in to the bottom of the site?
May 21, 2018 at 10:39 am #959630Hey ronduring,
Could you please attach a mockup of what you’re trying to achieve?
Best regards,
VictoriaMay 21, 2018 at 3:12 pm #959802View the footer area of this site. The background image stretches from the footer over the socket as well. It is another theme, but wanted to know if it was possible.
May 21, 2018 at 3:17 pm #959806Hi,
Yes this is possible, but would require a bit of css to achieve. It is not an out-of-the-box function.
Best regards,
Jordan ShannonMay 21, 2018 at 3:23 pm #959808I could not find anything within the Enfold Support on the site. Would it be CSS only or would a child theme have to be used as well?
May 21, 2018 at 3:31 pm #959812Hi,
Well child-themes are generally recommended if you plan on doing a lot of customization to the theme, so yes you should use a child theme.
Best regards,
Jordan ShannonMay 21, 2018 at 3:54 pm #959821Thanks.
May 21, 2018 at 4:11 pm #959833Hi,
No problem at all. I will keep this thread open for when you proceed with this.
Best regards,
Jordan ShannonMay 21, 2018 at 4:14 pm #959836I already have a dev site up on this. See link. I tried a few things to get it to work, and can’t seem to find the right area to adjust.
May 21, 2018 at 4:34 pm #959844Hi,
Can you send me a link to the image you want in the background? Also, a screenshot of how it should look?
Best regards,
Jordan ShannonMay 21, 2018 at 4:43 pm #959848Info attached.
May 22, 2018 at 1:18 pm #960324Hi,
You would have to edit footer.php to achieve that since the socket is outside of the footer container. Try to add a div which wraps both the footer and socket and then add the background image to it using CSS.
Best regards,
RikardMay 23, 2018 at 11:01 am #960725I’m having issues trying to wrap the container for the footer and socket in one div.
My first div starts here:
<div>
<div class=’container_wrap footer_color’ id=’footer’><!– ####### END SOCKET CONTAINER ####### –>
</footer>
</div> — This is the bottom div.May 24, 2018 at 11:08 pm #961877Hi,
Can you please post your code at a service like pastebin?
Best regards,
BasilisMay 24, 2018 at 11:25 pm #961882Done, see link.
Line 86 is the start
Line 205 endMay 28, 2018 at 3:15 pm #963286Hi,
Please revert the changes you made on Footer.php file and set your background image in Enfold theme options > General Styling > Footer and then add following code to Quick CSS in Enfold theme options > General Styling > General Styling
#socket { background: transparent; top: -55px; margin-bottom: -56px; } #footer { background-size: cover; background-color: transparent!important; background-position: center bottom; }
Best regards,
YigitMay 28, 2018 at 9:39 pm #963439Thanks Yigit. I put the code in you suggested and those does give the desired effect I was looking for. I removed all the footer.php code I had in place. If you look at the site link now there is a bottom bar, like the socket showing. Any suggestions for this. Thanks in advance.
May 28, 2018 at 10:16 pm #963448Hey!
I attached a screenshot in private content field. That is how it looks on my end at the moment. Could you please post a screenshot and show the changes you would like to make?
Regards,
YigitMay 29, 2018 at 4:36 pm #963795Thanks, Yigit. I was just double checking everything, and getting some new screen shots ready for you, I just wanted to be sure all the site and server cache was cleared, and then testing in all browsers. After checking everything I did see the suggested updates you sent are working 100% in Chrome. If you see the new attached file, a white bar/row is showing at the bottom in the latest version of FireFox and Edge. Let me know if there is something that can be added to adjust for that in those browsers? Thanks.
June 1, 2018 at 9:58 am #965151Hi,
The space is created by this css code.
#socket { background: transparent; top: -55px; margin-bottom: -56px; }
Please adjust the previous css code a bit.
#footer { background-size: cover; background-color: transparent !important; background-position: center bottom; padding-bottom: 70px; } #socket { background: transparent; margin-top: -70px; }
Best regards,
IsmaelJune 1, 2018 at 10:26 pm #965581I tried that CSS update and it basically made it appear like it does by default with having the footer background stop at the socket.
With the CSS Yigit posted, that got us close and it worked in Chrome, just not in Firefox or Edge.
Is there anything else we can try? Thanks in advance.June 6, 2018 at 3:51 am #967596Hi,
My bad. The css declaration was invalid. The socket selector was incorrect. Please try it again.
Best regards,
IsmaelJune 6, 2018 at 5:15 am #967624Thanks for the follow up, that worked.
June 7, 2018 at 5:49 am #968180 -
AuthorPosts
- You must be logged in to reply to this topic.