Jump to content

sorca_marian

Circle Member
  • Posts

    621
  • Joined

  • Last visited

Posts posted by sorca_marian

  1. You used the wrong quote signs on the second line.

    You can check linting sites for Less or CSS like https://www.lesstester.com/

    @font-face {
       font-family : "Favorit-regular";
       src: url("https://static1.squarespace.com/static/65d1754e7d3e4c35639d2e85/t/65dab3053b8dd007fc1c505e/1708831494401/ABCFavorit-Regular.ttf");
    }
    
    // Headings
    
    // Heading 1
    h1 {
       font-family: 'Favorit-regular';
    }
    
    // Heading 2
    h2 {
       font-family: 'Favorit-regular';
    }
    
    // Heading 3
    h3 {
       font-family: 'Favorit-regular';
    }
    
    // Heading 4
    h4 {
       font-family: 'Favorit-regular';
    }
    
    // Paragraphs
    
    // Paragraph 1
    .sqsrte-large {
       font-family: 'Favorit-regular';
    }
    
    // Paragraph 2
    p {
       font-family: 'Favorit-regular';
    }
    
    // Paragraph 3
    .sqsrte-small {
       font-family: 'Favorit-regular';
    }

     

    Screenshot 2024-03-10 at 04.50.40.png

  2. Add the below code in Custom CSS, at the bottom, below all existing code

    .header-title {
        flex-grow: 20;
    }
    
    .header-title-logo {
        display : flex;
        align-items : center;
    }
    
    .header-title-logo a {
        flex-basis : 227px;
        flex-shrink: 0;
    }
    
    .header-title-logo::after {
        width: 100%;
        padding : 0!important;
        text-align : center;
    }
    
    @media (max-width: 767px) {
        .header-title-logo::after {
            display: none;
        }
    }

     

    Screenshot 2024-03-10 at 03.15.27.png

    Screenshot 2024-03-10 at 03.15.35.png

  3. Add the below code in Custom CSS 

    #footer-sections .sqs-block-newsletter {
        background : transparent;
    }
    
    #footer-sections .sqs-block-newsletter input {
        background : transparent;
        border : solid var(--form-field-border-thickness) var(--dynamic-border-color, #A9A9A9);
        border-radius: .4rem;
    }
    
    #footer-sections .sqs-block-newsletter input::placeholder {
        color : #fff;
    }
    
    #footer-sections .sqs-block-newsletter button {
        background : #fff!important;
        color : #000!important;
    }

     

    Screenshot 2024-03-09 at 21.22.21.png

  4. Add the below code in the Page header code injection of the homepage.
    Upload your logo and add the url(LINK TO YOUR LOGO)

    <style>
      #sections > :first-child .content::after {
            content:"";
            width: 100vh;
            height: 25vh;
            z-index: 9999;
            top: 50%;
            left: 50%;
            background: url(https://images.squarespace-cdn.com/content/6429afef9d28c96ab5cab093/be66b182-e373-4150-88ac-0e45d062a3c5/Asset+18.png) no-repeat;
            background-size: contain;
            transform: translate(-50%,-50%);
            position: fixed
    }
    
    @media (max-width: 1100px) {
    
        #sections > :first-child .content::after {
            width : 70vw;
        }
    
    }
    </style>

     

    Screenshot 2024-03-09 at 16.11.06.png

    Screenshot 2024-03-09 at 16.11.14.png

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