neeklamy
Member-
Posts
2,655 -
Joined
-
Last visited
Content Type
Forums
Downloads
Store
Events
Blogs
Gallery
Profiles
Everything posted by neeklamy
-
@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:
-
Could you post a link to the page where you’ve added this?
-
Could there be some kind of integration with Dropbox (or similar) via a 3rd-party site?
-
I removed the bit about the form from the title, I didn’t think it would materially change the nature of question (just shorten it). The opening line sums it up nicely too.
-
Jake - you’ve got a bit of repetition in there. Step 6 is unnecessary, if you look at the screen at step 7, you will see: “Enter code that will be injected into the ‘head’ tag on every page of your site” Further on, on adding a Code Block you include the jQuery, jQuery eventmove and TwentyTwenty files again! So on every page with the slider you’re including it all twice, and on one page you have it included 3 times.
- 32 replies
-
- code-injection
- code
-
(and 1 more)
Tagged with:
-
@florideja – it’s difficult to say what’s happening without seeing your site. Could you give us the address of a page where you’re trying to make the change?
-
@sossy – Just try adding the CSS from @jhughes92 answer, the very worst thing that can happen is that you don’t like the changes it makes. Or it doesn’t even work. Either way it’s easy enough to undo.
-
@jhughes92 – I’ve reduced your CSS down, there was some redundancy in there and code that didn’t do anything: opacity: 0 is meaningless when the element is hidden. I would urge everyone else that has taken this CSS verbatim to look at it again and see if they can simplify their use – remember, simpler code = faster, more efficient websites!
-
@ImaadBKK – Please don’t take this wrongly, but I would suggest reading up on CSS a little bit, try this SitePoint CSS Reference. That CSS is awful, there’s redundancy (all those <style> tags, duplicate display: none) and code that doesn’t do anything (opacity: 0). Here it is rewritten: <style> .product-price, .product-quantity-select, .sqs-add-to-cart-button-wrapper { display: none; } </style>
-
…That’s what Paul said in his question: Yes, I know I can add a code block and add some HTML code to create the table. That's fine for me, but my users just want to do it like they would in any other application I do wonder, depending on what kind of data would be uploaded, whether a series of Google Forms and a bit of embedding would do it. Failing that, it sounds like more of a custom code thing.
-
Not in Squarespace, you might have to look at some sort of hosted system. How about Google Forms?
-
You don't need to add the first Code Block, all web browsers understand the # fragment as the top of the document. Just make that bottom Code Block: <a href="#">Back to top</a>
-
That's an interesting hack, re-adding the text-indent: -40px does so much, but beyond that I don't know, sorry. I would be inclined to say that it would be simpler to draw an up arrow and make that the background.
-
@jddowell - You will need to set the regular state of the scrollup class. I've just copied the hover color, try adding this to your Custom CSS, .scrollup: color: #7daed3; So it should look something like: .scrollup { width: 60px; height: 40px; position: fixed; bottom: 50px; right: 100px; display: none; color: #7daed3; }
-
There is, in step 4, just change the text inside of the anchor from "Scroll" to whatever text link you would prefer. Then all you need to do is adjust the CSS, resize the box width and height and remove the text-indenting and background. Something like this: .scrollup { width: 60px; height: 40px; position: fixed; bottom: 50px; right: 100px; display: none; }
-
I've made some substantial changes to the answer, you wasn't seeing the widget because Hammadd forgot to link to the jQuery library, doh! I've fixed the code formatting, made it clearer as to what goes where and included a working example too.