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; About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.