Jump to content

CalvinEK

Member
  • Posts

    15
  • Joined

  • Last visited

Posts posted by CalvinEK

  1. 7 hours ago, bangank36 said:

    It seems that we need to set style in general, not specific element. Kindly remove all my previous codes and add the following one

    @media only screen and (max-width: 767px) {
      .embed-block .embed-block-wrapper.embed-block-provider-Spotify > iframe {
        height: unset !important;
      }
    
      .embed-block + div {
        margin-top: 20px !important;
      }
    }

    Let me know how my new codes work on your site

    Hope it helps you

    Yes, this works. Thank you very much @bangank36!  

  2. 9 hours ago, bangank36 said:

    Hi,

    I find that your block id has been changed. Kindly replace my previous code with the following one on your Custom Css

    @media only screen and (max-width: 767px) {
      /*change your id to apply change*/
    	#block-yui_3_17_2_1_1637960750049_2648 {
    		.embed-block-wrapper {
    			iframe {
    				height: unset;
    			}
    		}
    		+ {
    			div {
    				margin-top: 30px;
    			}
    		}
    	}
    }

    If you get this issue again, you can find the id and replace it on your own by using the extension: Squarespace ID Finder

    Here is how to use it: https://recordit.co/kUIH4uco0b

    Hope it can help you

    Thank you again.

    When I add this code, Squarespace says "Syntax Error on line 52" (the line with "         + { "). So I didn't save it and don't know what would happen if I did. 

    Thank you for the link to the plugin and the instruction video. 

    I looked at the first blog and second blog post:

    https://www.calvin.no/en-slags-grind/hunden

    https://www.calvin.no/en-slags-grind/aronsen

    and found that their respective embedded Spotify players have different block ids.

    So if I replace the old block id with the new, the fix will (apparently) only work on the second blog post. And it will reoccur on the first blog post.

    Will I have to add more custom CSS every time I add embed a Spotify player in a blog post? Like this: 

    @media only screen and (max-width: 767px) {
      #block-yui_3_17_2_1_1637960750049_2648 .embed-block-wrapper iframe {
        height: unset;
      }
    
      #block-08104326c4a328c45446 {
        margin-top: 30px;
      }
    }
    
    @media only screen and (max-width: 767px) {
      #block-yui_3_17_2_1_1637351429136_2825 .embed-block-wrapper iframe {
        height: unset;
      }
    
      #block-yui_3_17_2_1_1637351524693_2665 {
        margin-top: 30px;
      }
    }

    It seems to solve the problem. But it is laborious. 

  3. 17 minutes ago, bangank36 said:

    Try adding to Home > Design > Custom Css

    @media only screen and (max-width: 767px) {
      #block-yui_3_17_2_1_1637351429136_2825 .embed-block-wrapper iframe {
        height: unset;
      }
    
      #block-yui_3_17_2_1_1637351524693_2665 {
        margin-top: 30px;
      }
    }

    Let me know how it works on you site

    Press 👍 or mark this answer as solution to help another one too

    It works beautifully! Thank you very much! 

  4. On 1/9/2020 at 3:22 PM, tuanphan said:

    Can you share link to comment on your site?

    I wonder about this too. 

    How to display "Comments", "Newest First"/"Oldest First"/"Most Liked"/"Least Liked", "Preview", "Edit", "Post Comment...", "Not Logged In", "Just now", "A minute ago" and so on, in another Language. Norwegian in my case. 

    And "COMMENT AWAITING MODERATION", "Your comment has been successfully posted and is awaiting moderation." 

    Example page: https://www.calvin.no/solo/aske 

  5. Site URL: https://www.calvin.no/

    On the front page https://www.calvin.no/, how do I go about changing these things? 

    • Date format from "MM/DD/YY" to "DD.MM.YYYY"
    • "Read more" to "Les mer"

    And on blog post pages, like https://www.calvin.no/solo/korrespondentbrev   

    • Date format from "Oct 26" to "26. oktober" (and so on) 

    In the contact form, https://www.calvin.no/kontakt, is it possible for me to change the labels under the name fields ("First Name" and "Last Name") to the Norwegian "Fornavn" and "Etternavn"?  

×
×
  • 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.