StephanieMemory Posted March 10, 2020 Share Posted March 10, 2020 Site URL: https://www.dekoninggroup.com/ Hello everyone, I bought a plugin from Squarestud.io and i haven't heard back from their support team for almost a week. The plugin is a logo loading screen using the site's logo. I was hoping increase the logo size of the logo showing on the load screen. Any help is appreciated! Here is the code: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> <div class="logoload"></div> <script> $(function() { var loadLogo = $('header').find('img').attr('src'); $('.logoload').css('background-image', 'url(' + loadLogo + ')'); }); </script> <style> .logoload { /* SET BACKGROUND COLOR */ background-color: #00000; /* SET BACKGROUND SIZE */ background-size: 90px; position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; z-index: 9999; background-position: center; background-repeat: no-repeat; } </style> <script type="text/javascript"> $(window).load(function() { $(".logoload").delay(500).fadeOut("slow"); }) </script> Link to comment
paul2009 Posted March 10, 2020 Share Posted March 10, 2020 Hey @StephanieMemory Try changing the background-size from 90px to a larger value such as 500px: background-size: 500px; Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
StephanieMemory Posted March 11, 2020 Author Share Posted March 11, 2020 Thank you @paul2009! I had been adjusting the background size but not by that much. 😳🤭 Link to comment
tuanphan Posted March 12, 2020 Share Posted March 12, 2020 On 3/11/2020 at 7:28 PM, StephanieMemory said: Thank you @paul2009! I had been adjusting the background size but not by that much. 😳🤭 I see it worked here. Try clearing browser cache Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.