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

neeklamy

Member
  • Content Count

    2,655
  • Joined

  • Last visited

Everything posted by neeklamy

  1. You only need one style element per page and instead of using protocol URLs, use protocol-relative URLs (that is: drop the http). Also – code always looks better and is easier to follow when it’s nested nicely: <style> #about { background-image: url(//static1.squarespace.com/static/55525aaae4b03147c4b943df/t/5558bacce4b01c8e63a70f6c/1431878348238/pinkbg.jpg); } #team { background-image: url(//static1.squarespace.com/static/55525aaae4b03147c4b943df/t/5558c3fce4b086d6f584a4eb/1431880700909/bluebg.jpg); } #product { background-image: url(//static1.squarespace.com/static/55525aaae4b03147c4b943df/t/5558c721e4b00de931f2f91a/1431881505176/greenbg.jpg); } </style>
  2. How to create a rollover/hover image title?
  3. Could this be expanded to work with other platforms, to identify WordPress themes for instance?
  4. @SOIN, is that a delay in the window or tab opening? Could you post a link to a page that shows this?
  5. They’re saying that every time the page is viewed, the YUI IDs change, so you can’t use those to target an element on the page.
  6. I’ve formatted the code in your answer. To format code, just highlight the lines of code and use the 5th button in the toolbar:
  7. @SOIN – EmBee has two blocks of CSS, I just combined the separate answers together. If you want to make use of both, just paste both lots into the CSS Editor.
  8. cotupha has placed the instructions in the GitHub repository: Squarespace Installation
  9. @EmBee – I’ve joined your two answers together. For the first block of CSS, I’ve made a slight change too – using the Less syntax makes for less repetitive CSS, this uses simple nested rules. And I’ve formatted the code. To format code, just highlight the lines of code and use the 5th button in the toolbar:
  10. @LogoDesign – please don’ bother spamming this site!
  11. @cstine – I’ve formatted the code in your answer – the HTML was getting mangled by this site. To format code, just highlight the lines of code and use the 5th button in the toolbar:
  12. @Jordaniels1 – near the end there’s this line: window.location = "http://www.something.com/destinationpage"; Just change that URL to whatever you would like.
  13. Glad I could help – it’d be handy if Squarespace could somehow show an error and how to get around it, eh!
  14. @Simon_S This and the original question from @turansky may well come down to viewing the site over an https connection with content coming from an insecure, http source. I can’t see my custom code while logged into my site. Why is that?
  15. Could you post a link to the page where you’ve added this?
  16. You’re welcome, the only thing I should add is that currently Squarespace’s version of Less is at 1.3.3 and the official Less project is at 2.0. I’m not sure how much this affects us though, the official documentation is a bit thin on the ground when it comes to what’s changed.
  17. @Cragg, I’ve put the <script> tags back in, formatted the code in your answer and added detail of where to add it. To format code, just highlight the lines of code and use the 5th button in the toolbar:
  18. @mdmclean88, I’ve tidied up your answer a little bit and formatted the CSS so it appears as code. There’s no technical limits on trial sites either, so I removed that bit at the end. One question for you, do you mean for all of those elements (h1, h2, h3, p and strong) to have the same style (black in this case)? If you do, that code can be simplified further through the power of Less: #collection-546acd18e4b07469c8b9ee9f .desc-wrapper { h1, h2, h3, p, { color: black !important; } }
  19. @mtrapani, whereabouts on your site are you after justifying the text, what text is it? And could you post a link to the page?
  20. @groundcontact – I’ve found an even easier way to fix funny formatting and edge cases with Markdown, just add in your own <pre><code> tags (and close them at the end).
  21. @isabellemt – I’ve formatted the code in your answer. To format code, just highlight the lines of code and use the 5th button in the toolbar: I have changed your inline comment to use the CSS syntax: /* comment goes here */ – just in case anyone copies and pastes your code without editing it.
  22. Excellent, glad to help! I only have a never updated website, it’s linked to in my profile, I really do keep meaning to regularly add new content. Good luck with the startup, Squarespace is great but – as we know – it’s still a lot to understand for everyone else. And everyone wants a website these days.
  23. Try adding this: #canvas-wrapper { margin-bottom: 0 !important }
  24. @Guizones, I’ve added to @startzman’s answer, that should color the tex, background and links, you will want to change the a and a:hover colors.
×
×
  • Create New...