Jump to content

Add heading to background image on store page

Recommended Posts

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Can you share the code you're currently using? 

Am I understanding correctly that you want to add another line of text above the image, with H2 tags?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

Link to comment

Thanks for looking.  Yes h2 heading 'LONDON DELIVERY AREA'

div.page-description:after {
    content: "";
    background-image: url(https://images.squarespace-cdn.com/content/v1/5a045bf8a9db09cbf239e375/1668605799566-YJNNVYE1J0T804QWFSV1/Delivery+area+map+2021+1024x1024+1024x1024.jpg);
    background-size: cover;
    width: 50%;
    height: 40vw;
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
    margin-top: 30px;
}

Link to comment

Hi again,

I don't know whether there's a better solution than the above. .. what I'd ideally like to achieve is to have a link or button that when clicked shows the image above in a popup... without going to another page (as happens in the Lightbox Plugin...)  Is there a way to use a popup form in some way? Any ideas welcome!

thanks

Link to comment

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.