Jump to content

My image (100% width of the site) disappears completely in the mobile site

Recommended Posts

Site URL: https://www.thelibertyproject.org/

Hey, so on the linked site, I have hidden the traditional logo title on the header so that I can add it as an image (.png) that spans across the entire width of the site and is in a fixed position. I've succeeded in the web version, but when I open the site up on my phone, the entire image has simply disappeared.

Is there a way to make it appear? Or I don't even mind if I have to set the traditional logo title back to "visible" as long as it doesn't show up in the web version. I hope that made sense. Thank you all in advance for your help ❤️

Link to comment
  • Replies 2
  • Views 255
  • Created
  • Last Reply

Top Posters In This Topic

Don't remove any code in your current code. Add this to Design > Custom CSS

/* Image on mobile */
@media screen and (max-width:767px) {
#block-yui_3_17_2_1_1647188477754_5514 {
    transform: translatey(-100%) !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.