Jump to content

tuanphan

Circle Member
  • Posts

    64,963
  • Joined

  • Last visited

  • Days Won

    517

Posts posted by tuanphan

  1. On 4/18/2024 at 7:10 PM, Dalves said:

    I needed something exactly like this one how do i achieve it?

    The video section will be first section or?

    If first, it will be easier, I can create a quick demo, then if you are okay, I will send code

    With another position, you can add a section with Video Background then share site url, I will give some code to achieve similar effect (not same 100%)

  2. First, you need to enable Gallery Grid Caption

    Enable Gallery Caption 02 Min

    Next, add some Text

    Next, use this code to Website > Website Tools > Custom CSS

    figcaption.gallery-caption.gallery-caption-grid-simple {
        background-color: rgba(0,0,0,0.5);
        position: absolute;
        bottom: 0;
        text-align: right;
        padding: 0 !important;
    }
    figure.gallery-grid-item {
        position: relative;
    }
    figcaption.gallery-caption.gallery-caption-grid-simple p {
        color: white;
        margin-right: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    Result

    image.thumb.png.2dcca12407d7eff8f9674433b4c14824.png

  3. With Header, use this code to Website > Website Tools > Custom CSS

    header#header a.icon[href*="warpcast"] {
        background-image: url(https://static1.squarespace.com/static/66185d42e9845f297b4d7dd5/t/661ffc93737a253f769db565/1713372307528/warpcast+bw.png);
        background-size: 100%;
        background-repeat: no-repeat
    }
    header#header a.icon[href*="t.me"] {
        background-image: url(https://static1.squarespace.com/static/66185d42e9845f297b4d7dd5/t/66203d3ea92e4d34ce745446/1713388862578/telegram+black.png);
        background-size: 100%;
        background-repeat: no-repeat
    }
    header#header a.icon[href*="t.me"] svg {
        display: none;
    }

    image.png.927be15b152f573867ea5429ae9ce32c.png

  4. On 4/19/2024 at 4:33 AM, jallory said:

    @tuanphan Thank you very much! This works! It's just a little confusing for users because the accordion down content won't show unless they click more than once. If there's a fix for that, it would be much appreciated. But, I am happy to have some sort of solution regardless! 🙏 🙏 🙏

    Add this code under

    <style>
      [data-expanded] section {
        height: auto !important;
    }
    [data-expanded] section[aria-hidden="true"] {
        height: 0 !important;
    }
    </style>

     

  5. On 4/19/2024 at 5:17 AM, Chriseittinger said:

    Hi! I'm interested in using this layout for my own website (my website: https://www.christophereittinger.com/). Was wondering if you know how they did it! Specifically how the elements such as the videos take up the whole screen of the webpage. 

    This is the website I wish to reference. 

    https://www.khalidmohtaseb.com/

     

    Would be be much appreciated. 

     

    Thanks!

    I don't see video on homepage. Just a grid with 30 items only

  6. On 4/19/2024 at 5:23 AM, _yohandeschamps_ said:

    @tuanphan as you can see on the screen shot.

    The social is present when editing, but once I exit the editor, they are gone.

    Any idea where could be the issues?

    I removed spark plugin, I removed all my CSS to check but nothing change.

    Screenshot2024-04-19at6_21_13am.thumb.png.7a387396e90d4aedc5a4a7d978e50b37.pngScreenshot2024-04-19at6_21_23am.thumb.png.c64d12929f3252708131ed81cc8ef4aa.png

    You try remove Icons > Save > reload site > Add again > Save

    If problem still appears, I think you can consider using Code Block to add Social (if you want this, I can provide the code)

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