Jump to content

tuanphan

Circle Member
  • Posts

    64,819
  • Joined

  • Last visited

  • Days Won

    517

Posts posted by tuanphan

  1. 5 hours ago, SGSocial said:

    Thanks Tuan. Can you share the CSS code and the steps to insert the icon on a page?

    You can share link to page + let me know which position you want to add icon, we can check easier.

    Because they are font code, need to use CSS code to declare them.

  2. On 4/17/2024 at 12:56 AM, thearrivalyoga said:

    Hi there - having a similar issue with my product description page for the two products on my site. I have managed to change the font for my shop page, but when I click into the product description page the heading font for the product "The Arrival Bag" is shows italicized and in the wrong font.

    https://www.thearrivalyoga.com/shop/p/sagecedarwood-b2wfg

    Any ideas on script here? My uploaded custom font is 'KnockoutCruiserweight' in my CSS.

    I see you solved with this CSS code

    .pdp-layout .pdp-details .pdp-details-title {
        font-family: 'KnockoutCruiserweight';
        font-size: 29px !important;
        font-style: normal !important;
    }

     

  3. On 4/17/2024 at 11:28 PM, Justin G said:

    @tuanphan Thanks for getting back with me. I don't have a plug-in on the Gallery page. A "Load More Images" link or button would be great instead of a never-ending stream of images. So, option 2 sounds like the way to go.

    Thanks!

    I tried doing a quick demo, you can check

    https://tuanphan-demo01.squarespace.com/cbutton-show-section?noredirect

    pass: abc

  4. On 4/17/2024 at 7:05 AM, JessicaWare said:

    @tuanphan we have a business plan. That would be amazing if you could test - thanks so much

    You can use this CSS code

    [data-section-id="660f3e4a407c38034e075266"] {
    .user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
        background-image: none !important;
    }
    button:nth-child(2) .user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area:after {
        content: "\e009";
        font-family: 'squarespace-ui-font';
        display: block;
        transform: rotate(-90deg);
        font-size: 40px;
    }
    button:nth-child(1) .user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area:after {
        content: "\e009";
        font-family: 'squarespace-ui-font';
        display: block;
        transform: rotate(90deg);
        font-size: 40px;
    }}

     

  5. On 4/18/2024 at 12:27 AM, alana said:

    Hi @tuanphan!

    I have a similar issue that I'm looking to resolve. I've got a custom hamburger menu on a 7.1 site here:

    https://www.esplanadewakefield.ca/?password=demo
    Password = demo

    Looking to find a way to change the colour of the hamburger menu on scroll and have it stay fixed (Like I have setup for the logo.) The white works for the first section but need it to be this green #746837 for the rest. 

    Any chance you'd be able to help with a solution? Many thanks! 

    Alana

    Add this code to bottom of Code Injection > Footer

    <script>
      $(function(){
     var visibleTop = 800;
      $(window).scroll(function() {
        var scroll = getCurrentScroll();
          if ( scroll >= visibleTop ) {
               $('header#header').addClass('test-something');
            }
            else {
                $('header#header').removeClass('test-something');
            }
      });
    function getCurrentScroll() {
        return window.pageYOffset || document.documentElement.scrollTop;
        }
    });
    </script>
    <style>
      .test-something .burger-inner>div {
        background-color: #746837 !important;
    }
    </style>

     

  6. On 4/17/2024 at 5:05 AM, _yohandeschamps_ said:

    Your screenshot is on mobile? The desktop show white color. I think mobile device control style and we can't control it.

    But you can try this code to Website > Website Tools > Custom CSS, maybe it work

    .product-details .variant-option select {
        background-color: #f1f !important;
    }

     

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.