Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Code Injection


StephanieMemory

Question

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 post
  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Hey @StephanieMemory Try changing the background-size from 90px to a larger value such as 500px: background-size: 500px;  

I see it worked here. Try clearing browser cache

3 answers to this question

Recommended Posts

  • 0

Hey @StephanieMemory

Try changing the background-size from 90px to a larger value such as 500px:

background-size: 500px;

 

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digitalbuilding the features that Squarespace didn't include.
I value honesty, integrity, transparency and respect. Links in my posts may refer to SF Digital products or may be affiliate links.
Squarespace. I've been a loyal and enthusiastic supporter of the platform since 2007. 

Link to post
  • 0
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

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...