Jump to content

Moving the Log In button on a paywall page

Recommended Posts

Posted

Site URL: https://www.resetnutrition.co/membership-home

Hi there,

I have a client site using the membership platform, and I wondered if anyone knew of a way to move the login button on the paywall page, up to under the product description at the top. 

I can't quite figure out how to target it on this page, being a system page.

Its not to bad on desktop, but most of the users of the site are on mobile and the login button is hidden on most mobile devices. For better user experience, it'd be ideal to have it higher and visible upon launch of this page.

Screenshot attached of the mobile site appearance and arrow indicating where the button would ideally sit.

Many thanks in advance to anyone who has any ideas or a solution!

Screenshot 2024-11-20 at 2.20.30 PM.png

  • Replies 1
  • Views 106
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Posted

Hi @MeaganH, You can add this code under Website > Pages > Website Tools > Custom CSS to move the membership login button right below the description text.

@media screen and (max-width: 767px) {
    [data-test="paywall-page-root"] {
        display: flex;
        flex-direction: column;
    }

    [data-test="paywall-page-root"] #headline {
        order: 1;
    }

    [data-test="paywall-page-root"] #description {
        order: 2;
    }

    [data-test="paywall-page-root"] .sqs-editable-button.sqs-button-element--primary.sign-in-button {
        order: 3;
        width: fit-content;
        margin: 0 auto;
    }

    [data-test="paywall-page-root"] .product-blocks-container {
        order: 4;
    }
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Create an account or sign in to comment

You need to be a member in order to leave a comment


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