-
Posts
58 -
Joined
-
Last visited
Reputation Activity
-
angelaw reacted to tuanphan in Custom Gradient form button + hover states
Use this code
a.list-item-content__button.sqs-block-button-element:hover { color: #303030 !important; background-image: -webkit-linear-gradient(to right, #d2ba81, #fdf6c3, #d2ba81)!important; background-image: linear-gradient(to right, #d2ba81, #fdf6c3, #d2ba81)!important; }
-
angelaw got a reaction from Ziggy in list section button css
@Ziggy thank you so much!! The second option finally worked!!!
-
angelaw reacted to Ziggy in list section button css
Chances are that hasn't worked, but you should be able to affect "secondary buttons" which that one is by adding this:
.secondary-button-style-solid .sqs-button-element--secondary:hover { color: black; background-color: #6AEFAB; } Let me know if that works for you.
-
angelaw reacted to tuanphan in Interchanging text custom CSS
Add a Code Block > Use this code
<h1> I want to make you feel <div class="rotating-words"> <span class="word" style="">safe</span> <span>free</span> <span>enough</span> <span>safe</span> <span>embodied</span> <span>good</span> <span>soft</span> </div> </h1> <style> .rotating-words .word { border-bottom: 2px solid #000; font-style: italic } .rotating-words { display: unset } .rotating-words span:not(:first-child) { display: none } </style> <script> setTimeout(function(){ $('.rotating-words').each(function(){ var rotatingWord = $(this).children().first(), words = [], i = 0; $(this).children('span').each(function(){words.push($(this).text());}); setInterval(function(){ rotatingWord.fadeOut(100, function(){ $(this).html(words[i=(i+1)%words.length]).fadeIn(100); }); }, 3000); });}, 1000); </script> Demo: https://thung.squarespace.com/rotate-words2?noredirect
Pass: abc
-
angelaw reacted to tuanphan in List section image placement
List Slideshow, List Carousel or?
This is an example with List Banner Slideshow: https://thung.squarespace.com/list-section-left-image-right-text?noredirect
Pass: abc
Add code to Page Header
<style> @media screen and (min-width:992px) { .user-items-list-banner-slideshow[data-card-horizontal-position="left"] .slide { justify-content: space-between; grid: unset !important; } .user-items-list-banner-slideshow .slide-media-container { width: 50%; } .user-items-list-banner-slideshow .slide-content { margin-left: 55%; } .desktop-arrows.arrow-container.arrow-container--right { right: calc(50% + 6vw) !important; } button.user-items-list-banner-slideshow__arrow-button * { display: none; } button.user-items-list-banner-slideshow__arrow-button.user-items-list-banner-slideshow__arrow-button--left:before { content: "\f053"; font-family: "Font Awesome 5 Free"; font-weight: bold; font-size: 30px; color: white; } button.user-items-list-banner-slideshow__arrow-button.user-items-list-banner-slideshow__arrow-button--right:before { content: "\f054"; font-family: "Font Awesome 5 Free"; font-weight: bold; font-size: 30px; color: white; } } </style>
And here for List Carousel: https://thung.squarespace.com/list-carousel-half-text
Pass: abc
Add code to Page Header
<style> @media screen and (min-width:992px) { ul.user-items-list-carousel__slides.user-items-list-carousel__slides--initialized { grid-gap: 0 !important; padding: 0 !important; } .user-items-list-carousel__gutter { padding: 0 !important; } li.user-items-list-carousel__slide.list-item { flex-direction: row !important; align-items: center !important; } .list-item-content { padding: 20px; } .user-items-list-carousel__arrow-positioner { padding-bottom: 30% !Important; } } </style>
-
angelaw reacted to tuanphan in css make capital letters of H1 only a different font
use this
<h1 style="text-align:center;"><span style="font-family:monospace;">H</span>eading 1 example</h1>
-
angelaw reacted to tuanphan in css make capital letters of H1 only a different font
Replace h1 text with Code Block
<h1><span style="font-family:monospace;">H</span>eading 1 example</h1>