Jump to content

tuanphan

Circle Member
  • Posts

    64,586
  • Joined

  • Last visited

  • Days Won

    515

Posts posted by tuanphan

  1. On 3/31/2023 at 8:44 PM, SebG said:

    Hello again @tuanphan
    As I mention, I managed to change the logo for a different one on my home page only.

    That works on the computer browser but I notice it does not work on the mobile version, it still shows the normal logo.

    The code that I paste on the home page to change it is:

    <meta name="facebook-domain-verification" content="26n6zcyj3h5175htuyob39h0hfc0o4" />

    <style>
      .header-title-logo img {
        visibility: hidden;
    }
      .header-title-logo a {
        background-image: url(https://static1.squarespace.com/static/619e77369696e6457e9209eb/t/6419f238c47b3325e502a05f/1679422008311/Website_Logo_v01center130px_WHITE.png);
        background-size: cover;
        background-repeat: no-repeat;
    }
    </style>

     

    -

    It is a code I copied from here.

    So, what should I do to change the logo on the mobile version of the home too?

    my website:

    www.sebastiagalbany.com

    Thanks in advance.

    Use this new code

    <style>
     header#header img {
       content: url(https://static1.squarespace.com/static/619e77369696e6457e9209eb/t/6419f238c47b3325e502a05f/1679422008311/Website_Logo_v01center130px_WHITE.png);
    }
    </style>

     

  2. On 3/31/2023 at 6:50 PM, lina1570047784 said:

     

    Hi, this is what I've been looking for ...  the header to go away when scrolling down, but reappear when scrolling up. I have Wexley 7.0 and this code doesn't work. I Do you happen to know if there is a code for this? Thanks in advance.

    Can you share link to your site?

  3. On 3/31/2023 at 5:33 PM, Michelle777 said:

    Hi Tuan, yes sure, it's www.clearenergytherapy.co.uk

    Thank you! 

    Your font-face code missing some characters. Use this new code

    @font-face {
        font-family: minervamodern;
        src: url(https://static1.squarespace.com/static/63d3d0c937b09408f17db985/t/64245808a621432b903366ea/1680103433057/MINERVAMODERNRegular.otf);
    }
    .header--menu-open .header-menu-nav-folder-content a {
        font-family: minervamodern;
        font-size: 30px;
    }

     

  4. On 3/31/2023 at 10:43 AM, BobInAustin said:

    Hey @tuanphan

    Yes, homepage. 

    Here is a link to that person's website: https://www.johngreenbooks.com/

    I very much appreciate the help, Tuan. 

    Add to Design > Custom CSS

    /* Sticky Section Homepage */
    @media screen and (min-width:768px) {
    body.homepage #page>article>section:first-child {
        width: 50% !important;
        float: left;
        position: sticky;
        position: -webkit-sticky;
        top: 0;
        height: 100vh;
        z-index: 999999999 !important;
    }
    body.homepage #page>article>section:not(:first-child) {
        margin-left: 50%;
    }
    footer.sections {
        z-index: 99999999999999999999999999999 !important;
    }
    }

     

  5. With Colored nav bar, add this to Design > Custom CSS

    /* Fullwidth Nav background */
    .header-layout-branding-center-nav-center .header-title-nav-wrapper {
        flex: 100% !important;
        flex-direction: column;
        width: 100% !important
    }
    .header-display-desktop {
        flex-direction: column
    }
    .header-announcement-bar-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0px !important;
    }
    .header-nav-item--divider {
        padding: .1rem 0;
        border-right: 1px solid #000 !important
    }
    .header-nav {
        width: 100% !important;
        background-color: #20417f;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    div.header-nav-item>a {
        color: white !important;
    }

    With Phone/Search

    Do you use Personal or Business or Commerce Plan?

  6. #1. I don't know this

    #2. Use this new code

    .sqs-audio-player {
        background-color: unset !important;
        box-shadow: unset !important;
        border: none !important;
    }
    .sqs-audio-player .controls {
        border: 1px solid black;
        border-radius: 50%;
        box-shadow: 0 0 8px rgba(0,0,0,.8);
    }

    It will apply all pages

  7. On 3/31/2023 at 2:16 AM, Lesh said:

    Hi,

    I have a similar issue. Site url: http://daybreakbrokerage.com/mortgage.
    My client is a brokerage company and has a third party mortgage calculator widget on a page that isn't responsive on mobile (which the mortgage company says should be and believes Squarespace has some kind of code that is interfering). I've tried adding div tags and custom CSS similar to what was initially tried for the Google Map but it hasn't worked. Should I add something similar to the code you suggested earlier: 

    /* GG Map */
    iframe.responsive-iframe[src*="maps"] {
        width: 100% !important;
        height: 700px;
    }

    Screen Shot 2023-03-30 at 12.05.53 PM.png

    Screen Shot 2023-03-30 at 12.05.23 PM.png

    Screen Shot 2023-03-30 at 12.04.42 PM.png

    use this

    @media screen and (max-width: 767px) {
        iframe#DaybreakId {
            width:100% !important;
            min-width: 350px !important;
            height: 1600px !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.