Jump to content

"Custom CSS" code to use images (.gifs) from CUSTOM FILES in image blocks, so they will hopefully not have to load

Recommended Posts

  • Replies 7
  • Views 353
  • Created
  • Last Reply

Top Posters In This Topic

I don't understand your question, Could you please explain

Also what is the site URL? Thanks

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

I apologize for the late response.   www.lapanimation.com / password: lapanimation

I am using numerous gifs for my website, and have been unable to use the CUSTOM CSS coded method vs. using the fluid engine upload. It may be that one is not better than the other. But I would like to be able to put in different size/layout GIFS for mobile & desktop if possible.

I am looking for best result if there is anything other than making sure you file size is not to large.

Thanks for your time.

Link to comment
On 5/16/2023 at 6:32 AM, lapanimation said:

I apologize for the late response.   www.lapanimation.com / password: lapanimation

I am using numerous gifs for my website, and have been unable to use the CUSTOM CSS coded method vs. using the fluid engine upload. It may be that one is not better than the other. But I would like to be able to put in different size/layout GIFS for mobile & desktop if possible.

I am looking for best result if there is anything other than making sure you file size is not to large.

Thanks for your time.

You mean use a version gif on desktop & change to another on mobile?

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

Yes. I am under the impression that I need to write a source code line, as the screenshot below shows for my custom font files. I am wanting the source code for custom images, so I can use textures as backgrounds or gifs in certain areas due to size changes.

Hopefully this makes sense. Sorry for the late response.

@font-face {font-family: 'WorkSans_Black'; src: url('https://static1.squarespace.com/static/6324b1c9fb6a995e4f496a1d/t/63a269ab3c6d585a59b3b80a/1671588267330/WorkSans_Black.ttf');}

*that is my source code setup for fonts* / What is the image version?

LPN_Website_code example of font source code line.jpg

Link to comment
On 5/19/2023 at 9:03 PM, tuanphan said:

You mean use a version gif on desktop & change to another on mobile?

You will need to use different CSS code to achieve this. Just share link to a page where you used a gif, we can give an example code

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
On 5/29/2023 at 7:18 PM, lapanimation said:

https://www.lapanimation.com/the-process

I would like to put different looping .gif texture in various sections to help give visual separation between sections. There are already .gifs in there obviously

You mean these gifts? Change to another gif on mobile?

image.thumb.png.605c8baafd798ba28c231fcb71f1b9a0.png

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

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.