youroleksii
Circle Member-
Posts
12 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Everything posted by youroleksii
-
@tuanphan Hi! How to change the font weight within the button in the accordion block? Thank you!
-
Attaching the code i used below It is working but as soon as I click on the accordion block, that this link opens, the color of the link goes back to the default. How to code the relationship between the link and the block that this link opens? section[data-section-id="64d10fdacb42bb51bdc96a48"] a:link { color: #29201a !important; text-decoration: none !important; } section[data-section-id="64d10fdacb42bb51bdc96a48"] active a { color: #a48f7d !important; text-decoration: none !important; }``` https://bullfrog-oboe-ll4p.squarespace.com/branding password : ollie Attached the screenshots below
-
How to inject this code in Squarespace?
youroleksii replied to youroleksii's topic in Customize with code
@Ziggy Where would I add tags and where would i place a code block? Thank you! -
Hi, trying to make the hyperlink on my page change color after a click on it with the code below. I am not sure where to insert it and where to insert a block ID to target the hyperlink. $('.item').click(function(){ $('div').removeClass('highlight'); $(this).addClass('highlight'); }); .highlight { color: red; } <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <section id="section"> <div class="item">Item 1</div> <div class="item">Item 2</div> <div class="item">Item 3</div> </section> Thanks in advance!
-
@tuanphan https://bullfrog-oboe-ll4p.squarespace.com/branding PASSWORD ollie Thank you, that would really help!
- 3 replies
-
- java
- javascript
-
(and 2 more)
Tagged with:
-
Hi! Does anyone know how to change the color of the text after clicking on it? Thanks in advance, O
- 3 replies
-
- java
- javascript
-
(and 2 more)
Tagged with:
-
Hi all, trying to hide the accordion block and make it appear after clicking on a button. Here is the code that I use, Could anyone look and say where is the pain point here? <SCRIPT> function ShowAndHide() { var x = document.getElementById('section[data-section-id="64d15395c579ed75d02954dc"]'); if (x.style.display == 'none') { x.style.display = 'block'; } else { x.style.display = 'none'; } } </SCRIPT> <BUTTON ONCLICK="ShowAndHide()">Strategy</BUTTON> <DIV ID="section[data-section-id="64d15395c579ed75d02954dc"]" STYLE="display:none">Text to be shown and hidden</DIV> Thank you!
- 1 reply
-
- javascript
- java
-
(and 1 more)
Tagged with:
-
Hi everyone, trying to replicate this design for my website and can’t figure out how to make the text appear on the same page after you click the button. Attached the screen recording of the example. https://wearemotto.com/services/ Thank you for any help. Screen Recording 2023-08-07 at 12.06.21.mov