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

Search the Community

Showing results for tags 'code'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forum
    • News and Announcements
    • Getting Started With Squarespace
    • Coding and Customization
    • Commerce
    • Feedback on Your Site
    • Images and Videos
    • Pages and Content
    • SEO and Marketing
    • Site Design and Styles

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Website


Location

Found 227 results

  1. Hi! I'm super new to CSS and coding so please be as thorough as possible. I downloaded a custom font (HelveticaNow) and I have successfully applied it to my headers and body text through CSS. If it's relevant, the template I am using is Native. Here is what has worked for me as far as body text goes: @font-face { font-family: 'HELVETICANOW'; src: url('https://static1.squarespace.com/static/5d6c2d758a0acc000187f3f5/t/5d795050146faa22dd3e6e24/1568231504475/HelveticaNowDisplayXBlk.otf'); } p {font-family: 'helveticanow';} font-size: 14px; I've also gotten the headers to work using a nearly identical code (just putting h1, h2, h3, etc., in place of the p on line 6). My trouble now comes with trying to apply this to the site title. I've looked at numerous Q&A's and videos but nothing has worked for me. I also have yet to attempt adding a custom font to the navigation bar, though I would also like to eventually do that aswell; if someone could include the coding for the navigation bar in addition to the site title, that would be awesome. Thanks! (p.s.) Since I am so incredibly new to CSS, I would greatly appreciate a simple copy-and-paste solution, if possible :)
  2. Here's the page that needs help.http://briandorseystudios.com/shootproof-index(the codeblock seems to want to right justify the content) Here's the code that's called. <script type="text/javascript">var _spRemote={width:1920,height:1080} ;var _ce = parseInt(Math.random() * 99999999);document.write('<sc' + 'ript type="text/javascript" src="https://photos.briandorseystudios.com/remote/embed?ce=' + _ce + '"></sc' + 'ript>');</script> I'm not a coder. Can anyone explain to me (in simple terms...) how to get the output of this block centered on the page? Since it's a code block, i can't use spacer blocks. Thanks!
  3. Hi everyone. I'm trying to add a little text block in our shop page. The shop page doesnt allow you to add text blocks for whatever reason... The SS technician suggested I post on here as she said it might be possible with a code, but as we know SS dont deal with codes, so it's something I must figure out! Any help appreciated!
  4. I need to hide the "member login" button in the footer on certain pages only on this website. Is there code I can use to do this? Thank you!https://formula-sense.squarespace.com/ingredient-interpreter-1
  5. Hello, Is it possible to upload js files? Thanks a lot in advance,Marinske.
  6. This page: www.myweddingphotographer.co.nz/wedding-photographer-christchurch is set as my home page for my site. This means if anyone types in: www.myweddingphotographer.co.nz it will bring them too:www.myweddingphotographer.co.nz Given this page has an actual url of: www.myweddingphotographer.co.nz/wedding-photographer-christchurch I am wondering if I should set the canonical tag for this page (even though it now the home page) via the Advanced custom code? At the end of the day, I want search engines to know that /wedding-photographer-christchurch is the page for this search term on my site. I'm obviously confused that SS can pull up this page and just show: www.myweddingphotographer.co.nz without the /wedding-photographer-christchurch bit. Any pointers greatly appreciated. T
  7. A couple of feature requests that I have recently submitted to Customer Support require, I am told, custom code modifications. However, I have been further advised that Squarespace does not provide assistance for these types of modification and to seek help on the Answers Forum. Happy to provide you with further details if you feel that you might be able to help. Thank you.
  8. I got half the problem down, at first I just wanted to make my header have a max width of 1600px; I inserted this code into custom CSS #header { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; max-width: 1600px; background: #fff; margin-left: auto; margin-right: auto; } This is pretty great, It makes my header only stretch out so far with width. However It presented me with quite a peculiar problem that I do not think happens normally, I think it is an issue from squarespace, it shifts the header to the left most edge, even though margin: auto. Upon playing with it in the inspector I found that changing the left value to anything over zero centered the header. I can attach a video of that if you would like to see, but i'm just wondering if anyone has run into this bug before and knows how to fix it. Here is the url of my site, zoom out on the page and you will see the header float to the left.
  9. My website (I'm using the Hyde template) mainly uses a white logo, however on some pages this means that the logo pretty much disappears into the white background. I've managed to get a darker version of the logo onto the majority of pages that need it, however I can't seem to find a way to add it to the search pages? Example of what I mean I tried using the same code for the dark logo on the product pages in the custom CSS box, but that ended up changing all the logos throughout my site to the dark logo. Thanks in advance for your help!
  10. Hi there, It seems that there is some automatically added structured data to our website. Is it possible to remove it ? - http://prntscr.com/p31y0b Only "Corporation" is added by me, the other is automatically generated and is actually not proper for the type of business. I read an article on why the localbusiness markup is added but there was no answer on how to remove it. Regarding "Organization" and "Website" I have no idea why they marked and how to remove them. Thanks!
  11. How can I add thumbnail images for the previous/next blog posts using the code?
  12. The titles on my homepage slideshow are off-centre (only on every 1 in 3 run throughs). I have worked out that is it a problem with my custom CSS because when I delete my custom CSS, they centre up. But this also deletes all my website style/design. I don't know much about coding and was hoping someone could help me find the part of my code that could be causing this weird occasional off-centre titles? site url: https://www.jo-kempphotography.com/ Thank you!!
  13. I'm using a template that doesn't have a hyperlink style. So my hyperlinks are not highlighted in anyway from normal body text. What would be the custom CSS I would use to have my body text hyperlinks have a differ colour?
  14. Hi, I'm struggling with this...I want to block thumbnails view on my homepage so people can only see the images big. But I don't want to change anything on the other galleries.Is there a way with code that I could do that? Thank you all.
  15. We're seeing GTM containers and a global site tag in the source code of our site, but can't locate these codes anywhere in code injection, through FTP or on the pages individually. The site is https://www.reitenright.com/ and I cannot say for sure what template is being used without turning off developer mode. @Paul2009 Can you please elaborate on what settings you would need to know? Thank you.
  16. Good afternoon all, So this has been driving me mad for a little while and I can't seem to get this to work So i've put this on my order confirmation page but its not displaying the survey opt in module? I thought it was something to do with the date, so removed all and just put in a date. The survey opt in module still doesn't work. I've put this coding on my advanced settings - ORDER CONFIRMATION PAGE! <!-- BEGIN GCR Opt-in Module Code --> <script src="https://apis.google.com/js/platform.js?onload=renderOptIn" async defer></script> <script>// <![CDATA[ var currentTime = new Date() var day = currentTime.getDate() + 10 var month = currentTime.getMonth() + 1 var year = currentTime.getFullYear() var final =(day + "/" + month + "/" + year) window.renderOptIn = function() { window.gapi.load('surveyoptin', function() { window.gapi.surveyoptin.render( { // REQUIRED FIELDS "merchant_id": "****", "order_id": "{orderId}", "email": "{customerEmailAddress}", "delivery_country": "UK", "estimated_delivery_date": "final", }); }); } </script> Any ideas what may be wrong? anybody else got the google merchant survey opt in module on their Squarespace to collect reviews?
  17. I have had to put in a Markdown block and add in code to make two sections into white text & centered.(they are on two different pages) The rest of my website had a css code put in to justify all the text which I was fine with until I realized it affected my headings which I had to code in as mentioend above. How can I get my body text to remain justified but at the same time have my markdown block also respond to the css code to keep it centered... Markdown CSS used: < html> < head> < style> div.a { text-align: center; color: #ffffff style="color:#fff;font-family:ltc-bodoni-175;" font-size:3em } div.b { text-align: center; color: #ffffff style="color:#fff;font-family:nunito;" font-size:1em } Get in touch <p>Let's have a chat and see how we can best help you!</p> </ div> </ body> </ html> Custom CSS: p { text-align: justify !important; } url: https://love-petsphotography.squarespace.compw: LovePets#1
  18. Maybe be able to change position, size, hover background on the Previous/Next arrows on the Ishimoto template?
  19. I'm using the Ready template and want to add a border color. The color code is hsl(224, 85%, 33%). Can someone teach me how to do this?
  20. I'm building out a new site for my client from the ground up though Squarespace. The client has some old Dreamweaver-built exhibit galleries that they want to continue to have access to through the new site. Is there a way to house these existing DW exhibits within the new Squarespace site I've built? Example of the DW exhibit: http://americanbeethovensociety.org/exhibits/beethovensvienna/index.html Currently the DW pages are hosted on webhostinghub.com, and I want to close that account out entirely for the client. Thanks in advance for the help.
  21. I am using a custom font for my client's website, and incorporated it into the website using a Code Block. However, I am having issues with a ton of spacing around each code block and I can't figure out how to get rid of it! It's causing some spacing issues on the desktop site, but especially on mobile - creating huge gaps between the code blocks and other text/image blocks, making it look not so great. See screenshots below (the scripted text is the code block). Desktop is the first image, and mobile is the second. I've tried a few different codes targeting the padding of the code blocks, but nothing seems to do the trick to fix this issue. Any CSS or HTML suggestions?? Greatly appreciated!!! Website: https://www.wildlyyoursweddings.com/
  22. Is there a way to remove padding inside of a code block? I've inserted an image using a Code block and want the block to fit snug around the image itself, but I'm getting an extra padding on all sides. Here is a link to the site for reference Password: weddings This is the code I currently tried to use: .sqs-block-code .sqs-block-content { padding-top: 0px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; } Any help would be much appreciated!
  23. Just trying to improve my homepage and the font sizes are too small under each picture in the summary, they're not very eye-catching which is why I also want to add a background color. ultimately to make them look engaging.
  24. We have had complaints that the 'add to cart' method is not the most intuitive way of completing the checkout as customers aren't always aware that they then have to go and search for the cart button after they've added the product. Is there a way to move/copy the cart icon to be within the product description - or even just closer to the 'add to cart' button - so it's a little more obvious to customers?
  25. Hello World! While I'm able to change the logo on a single page, I'm wondering if it's possible to change the logo on the cart page slug /cart ( pre check out page ) Template Brine. Thank you!!
×
×
  • Create New...