Thanks man! I learned something new from this video!
@SEWebDesign2 жыл бұрын
No problem! Great to hear!
@oriehi_raphael_paul2 жыл бұрын
Hi Chris, I'm grateful for this video but while I now understand how to put an icon on my website, I don't understand how to put the icon of a particular business on my website. For instance, how do I put the icon of Klaviyo on my website? Please help
@felixglasenapp61923 жыл бұрын
you are insanely good man
@SEWebDesign3 жыл бұрын
Thank you Felix!
@DanielLeftwich2 жыл бұрын
Excellent video, thanks again Chris. Is it a hop, skip, and a jump to add an SVG pattern as a section background? Or perhaps a full bleed code block (in fluid Engine) is the way to go now 🤔
@SEWebDesign2 жыл бұрын
I haven't added an SVG as a pattern to a background yet, so I am not sure the best way to go about it to be honest. Uploading the file to internal storage and then adding it a background image to the section via CSS seems like the best route just on instinct though.
@DanielLeftwich2 жыл бұрын
@@SEWebDesign yup, me too. If I have any joy, happy to let you know - cheers!
@kondjanegongo7964 жыл бұрын
Thanks a million. I most deff will. I do have one question, how do you change the colour of the icon to a certain shade of red for example.
@SEWebDesign4 жыл бұрын
Hi Kondja, I cover that in the video! You change the fill color
@kondjanegongo7964 жыл бұрын
@@SEWebDesign Yeah but you typed in the colour name (example RED) lets say i want #304D73 as a colour, do i just add that in as is?
@SEWebDesign4 жыл бұрын
@@kondjanegongo796 correct!
@kondjanegongo7964 жыл бұрын
@@SEWebDesign Thanks.
@stephanyjones74693 жыл бұрын
This is SO helpful, thank you for creating this! I have 1 question - When I enter that View Box code to change the size, the box surrounding my icon changes but the icon itself stays the same size. Anyway to fix that? Looking to make my icon a bit bigger. Thank you!!
@BirdzEyeViewAV2 жыл бұрын
VERY helpful! Thank you for your time and the great video!!!
@SEWebDesign2 жыл бұрын
I'm so glad! No problem!
@jordanc24892 жыл бұрын
Nice tutorial! Is there an easy way to remove the padding around the icons? Particularly the white space between the icon and the text underneath. Cheers!
@SEWebDesign2 жыл бұрын
Since the icon is in a code block and the text is in a text block and all Squarespace blocks get 17px of padding, there will always be 34px of padding in between. So if you want to make them closer together, I would give the icon a negative bottom-margin
@ThePresentPerspective4 жыл бұрын
This was great! I’m glad that now I know about iconmonster. I hate having to add affiliate links. May I suggest the next video be “how to add/layer/position your graphics to your site” ? 🙈 I feel like there are so many different ways and so many different file types. Do I stick with svg? But what if I need my page to load faster and I have a lot of graphics to place around and layer? Do I create it as an image block? Or just upload it through CSS and position it through there? I’ve been searching for a while for a solid answer to this question and haven’t been able to find it. I don’t know how there isn’t a tutorial on it. You would be revolutionary if you were the first to post an answer ;)
@SEWebDesign4 жыл бұрын
I would recommend always using svg icons over image icons. Svg icons are generally much smaller in file size than images. For example, the svg icon in this video was 775 bytes. So not even 1kb.
@ThePresentPerspective4 жыл бұрын
@@SEWebDesign OK I had no idea! I suppose I just assumed they were larger size because they are so responsive and can do so much more. Once again, your channel is so amazing and I'm so grateful. A solid 50% of all that I've learned so far has been directly from you! Thank you!
@SEWebDesign4 жыл бұрын
@@ThePresentPerspective that is awesome to hear! You are welcome!
@hendrikwilhelmpsi3 жыл бұрын
Really added value! Thanks a lot my site looks so much nicer now! :)
@PilateBeljour4 жыл бұрын
You just save my life. Thanks a lot.
@SEWebDesign4 жыл бұрын
I'm glad it was helpful! No problem!!
@annaseragarcia40764 жыл бұрын
This is so helpful thanks for providing this content! I'm currently using SVG's on a Squarespace site and am using them as larger images vs. just smaller icons. Unfortunately while they look great on desktop, they aren't scaling down to Mobile size which results in having my images cropped outside of the browser area. Is there a way to keep them contained and scaled appropriately according to browser size? Was looking for this information for ages, would love it if you could provide any suggestions. Thank you 🤗
@SEWebDesign4 жыл бұрын
I recommend opening them in illustrator and then re-exporting them as svg's with "responsiveness" checked. That is all I can think of at the moment if the viewbox trick from the video doesn't work.
@annaseragarcia40764 жыл бұрын
@@SEWebDesign Yes, that seemed to work! Thank you so much for the swift response, greatly appreciate your videos :)
@TonyWebslinger4 жыл бұрын
Nice! Great info!
@n.d.wilson29754 жыл бұрын
It's probably best practice to assign a class (and even id) to the container div in use cases similar to the one you showcase in this video so that the styling can be modified easily in the Custom CSS window.
@SEWebDesign4 жыл бұрын
Yes that is a great point especially if you will have lots of icons throughout your site!
@ilze5244 жыл бұрын
Brilliant. This worked like a charm. Thank you :-)
@SEWebDesign4 жыл бұрын
Great! You are welcome!
@jaymak13073 жыл бұрын
Thanks very much for this video - I have been searching for days trying to find exactly this. I have two questions: 1. How would I change the colour to a very specific colour using a colour code? 2. I would love to know how to add a link to the .svg file so that it is clickable on the website - is that difficult to do?
@SEWebDesign3 жыл бұрын
I cover changing the svg color in the video. All you would need to do is put in the valid hex code, rgb value, or color name. To make it a link, surround the svg tag in a link tag: (svg code goes here). You can Google creating links in html for more on that
@karolinebrydebl94243 жыл бұрын
Thank you for the great and easy to follow video, I really appreciate it! I have one question - I entered several svg codes in individual code blocks in squarespace (evenly scattered across the page in a grid form) and it looked fine when I edited and saved. But when I enter the page now, all the icons (svg) and all the text from further down the page is all cramped up very narrowly in the left side and all the way down. (so all the text boxes have also been affected and it looks as though there is something big and invisible on the rest of the page that "pushes" it all together in the left). Can it be something in the coding that causes this?
@SEWebDesign3 жыл бұрын
Is there a text block or spacer block that is pushing the content over? If you have an error in one of the code blocks perhaps that could be the problem as well. If you would like to hire me to troubleshoot you can do so through my website!
@labrini35723 жыл бұрын
@@SEWebDesign Yeah having the same problem as well, nothing wrong in the code. Tried making the block larger size and made it worse!
@floatingonwater703 жыл бұрын
sorry newbie here... where do you find the code to embed? i am able to donwload png and svg but do not have option, do i have to open in illustrator and copy the code from somewhere?
@SEWebDesign3 жыл бұрын
You can open the icon in illustrator and do save as SVG and then copy the code. I'd look up "embed svg on website from illustrator"
@floatingonwater703 жыл бұрын
@@SEWebDesign Genial!!! So appreciate the sharing the knowledge to us web newbies. Be well..
@ebonybullock16962 жыл бұрын
I am in the 7.1 version and I cannot figure out how to format this in the same manner as you. If I choose the a section list template, I cannot add another block. If I do a blank section, I cannot get it to align correctly. Any ideas how to get this layout when the new version?
@SEWebDesign2 жыл бұрын
I am using 7.1 in this tutorial. Each icon can be placed in its own code block in a blank section - just drag the code blocks next to each other
@ebonybullock16962 жыл бұрын
@@SEWebDesign Thank you!
@moragcheshire3 жыл бұрын
Hey thanks heaps for the video. I put up my icons and it all looks great on editor view, however as soon as I save it, the icons stack ontop of each other on the left-hand side. I've put 4 code blocks side by side, the icon size is 120 and I got one from iconmonstr and the other 3 from Material Design Icons as SVG files following your direction. How can I get 4 icons sitting side by side across the page? Any help would be appreciated
@SEWebDesign3 жыл бұрын
Make sure you have closed all open div tags. 4 code blocks will be next to each other until they stack on mobile. So if you are seeing them stack on desktop it must be an error in the code - usually not closing open divs
@moragcheshire3 жыл бұрын
@@SEWebDesign I’ve checked all that, sadly it’s still not working. I was real pleased when I saw your video and worked it out. It looks great on a mobile but terrible on a desktop. I’m at a loss
@moragcheshire3 жыл бұрын
@@SEWebDesign I got it! I hadn't closed one of the divs. Thank you so much!!!
@SEWebDesign3 жыл бұрын
@@moragcheshire glad to hear it!
@AmrAlchalati3 жыл бұрын
Thanks for the video. I'm having an issue, when I add the icon it looks right in the edit, but when I click done they stock on top of each other? I'm using the same scenario as you when it comes to text blocks and icons from icon monster... any idea?
@AmrAlchalati3 жыл бұрын
Update, I found when I remove this line it removes the issue, did squarespace do some updates on how to use the code? I need the icons to be in the center :(
@SEWebDesign3 жыл бұрын
@@AmrAlchalati you have to add a closing below. Any time you open a tag in html you have to close the tag.
@AmrAlchalati3 жыл бұрын
@@SEWebDesign It worked and I can't thank you enough!!!!!!!!!!! For us average people we won't catch these basic stuff lol for it's a common sense. Thanks again! ❤️
@SEWebDesign3 жыл бұрын
@@AmrAlchalati no problem!
@mmazz4143 жыл бұрын
Hey man, love this tutorial. Although, I'm a designer, and create my own icons. How the heck do I do this without the .svg code?
@SEWebDesign3 жыл бұрын
You can save your icon designs as images and upload them to image blocks. But I prefer svgs when it comes to icons because of their crispness
@christopheprunier18513 жыл бұрын
Thank you very much for these explanations, it works perfectly! Nevertheless, as a designer, I would have liked to be able to integrate my own icons (made under Illustrator in .svg) but I can't find how to do it :( I tried by making a link (instead of the one to Iconmonstr) to my .svg deposited on Google drive or Dropbox, but nothing works. Do you have a solution for me? Thanks again for sharing your knowledge this way!
@SEWebDesign3 жыл бұрын
You can export svg's from illustrator and copy the embed code into the code block
@christopheprunier18513 жыл бұрын
@@SEWebDesign Thanks!
@EmmaCOW933 жыл бұрын
@@SEWebDesign Hi Chris, so if a designer sends me an SVG file and I'm adding it to the site, is there a way for me to grab the embed code for it?
@SEWebDesign3 жыл бұрын
@@EmmaCOW93 yeah open it in illustrator and then follow the steps to get the embed code!
@EmmaCOW933 жыл бұрын
@@SEWebDesign Well dang. I don't have access to that :/ Thanks for your response!
@MitchelJerome Жыл бұрын
Could you put the re-center code in the comments I can’t make it work
@SEWebDesign Жыл бұрын
//svg code goes here
@laurencalicutt59603 жыл бұрын
What to do if the icon is not centering and the coding is correct? Could it be the type of template that I'm using for squarespace?
@SEWebDesign3 жыл бұрын
I don't think the template would effect the centering. Perhaps it is the svg itself. You can also try giving the svg a style of display: block like so and adding that to your custom CSS window: .code-block svg { display:block; }
@buuraors2 жыл бұрын
how can I align that icon vertically?
@SEWebDesign2 жыл бұрын
The height of the div container will be the height of the icon. So there shouldn't be extra vertical space for the logo to be centered in, since the height of the container div is determined by the height of the logo
@buuraors2 жыл бұрын
@@SEWebDesign thank you !
@SuperCd093 жыл бұрын
Hi i replicated your steps but the SVG wont centre align. Dont know whats wrong
@SEWebDesign3 жыл бұрын
You can hire me through my site to troubleshoot your CSS!
@charliebirch93353 жыл бұрын
What if your svg is an original file vs an icon hosted on a stock site with an embed code?
@SEWebDesign3 жыл бұрын
If you google svgOMG you can upload your file and then copy the svg code into the code block.
@charliebirch93353 жыл бұрын
@@SEWebDesign rocking resource thanks man.
@SEWebDesign3 жыл бұрын
@@charliebirch9335 no problem!
@SenecaWan4 жыл бұрын
How do you add the icon to the nav bar?
@SEWebDesign4 жыл бұрын
You can't add inline svgs to the nav bar, the only way to add an icon there would be to save it as a .png and add it to a link using an after pseudo element. Check out my multi row header tutorial, I use that technique in it