Jump to content

ClareD

Member
  • Posts

    3
  • Joined

  • Last visited

Reputation Activity

  1. Like
    ClareD got a reaction from noblestudio in Changing logo colour ONLY in mobile menu overlay (7.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. Like
    ClareD got a reaction from Ziggy in How can I change the Mobile Breakpoint for particular sections on my page?   
    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. Like
    ClareD reacted to Ziggy in How can I change the Mobile Breakpoint for particular sections on my page?   
    I don't know if a particularly good way to natively change the mobile breakpoint to be higher than 768px.
    Looking that section on your website, it suffers from a different problem on larger screen and fixing this will slightly help your columns be more even on smaller screens.

    We can fix these uneven columns by making that section full-width with Custom CSS:
    section[data-section-id="63ff72ad1ff37c208d22c17d"] { .fluid-engine { --sqs-site-max-width:100vw; --sqs-site-gutter:0vw; } } Hope that helps!
×
×
  • 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.