Jump to content

ClareD

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by ClareD

  1. I came across this problem recently (May 2023) and here is my solution - below is the code I inserted into the Page Header Code Injection in my case - incase it's helpful for anyone else searching for a solution to this problem 🙂 <style> /* Set a different logo for this page only - on desktop and mobile (if needed) */ div.header-title-logo a { content:url("INSERT_IMG_LINK"); max-width: 290px; margin-left: auto; margin-right: auto; } /* Hide Logo A when the mobile menu is open */ .header--menu-open .header-title-logo a { content: none; } /* Insert Logo B (as a background image) when the mobile menu is open */ .header--menu-open .header-title-logo a { background-image: url(INSERT_IMG_LINK); background-size: cover; background-repeat: no-repeat; } </style>
  2. Thank you Ziggy, that's really useful to know! I didn't even realise this would be a problem - I'll use that code to fix sections that span the whole width on larger screens. Shame there is no native way to change the mobile breakpoint to be higher than 768px.... Is there any way to change the layout of the columns using CSS? I might be able to use such code in a media query for particular sections that are too squashed? Thanks 🙂
  3. Hi 🙂 I have some sections on a page of my website that I want to show in mobile view (i.e. stacked) on screen widths of less than 1024px. I have searched the forum, but can't find code that seems to work in my case. I want to stack the two sections that have 4 columns across (as they become too squashed when the screen gets much below 1024px). Can anyone help me with code? I have tried the below custom CSS, but it doesn't seem to work: @media only screen and (max-width:1023px) { section[data-section-id="63ff72ad1ff37c208d22c17d"] .col { width: 100% !important; margin-bottom: 10px; } } The page link is below and it has a password: ebw https://ebw-global-dev-site.squarespace.com/business-eq-assessment Thanks in advance for any help anyone can offer 😄
×
×
  • 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.