Jump to content

Customising mobile and desktop navigation menu

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hi,

Can I please get some help with my site,

1. I would like to move the promotional pop-up to the centre of the screen on mobile, and use custom fonts on both desktop and mobile for this block.

2. On the homepage nav block in desktop, there is a black overlay that pops up as I scroll, which I would like to remove.

3. Mobile menu pop-up: on some pages the alternative logo displays cream on cream background, on mobile menu pop-up the logo should always be black, on some pages the 'x' icon is also cream, this should always be black too.

4. Homepage mobile menu cross item I would like to be black.

5. When viewed on large desktop / 24-27inch imac, H1 becomes smaller as the page gets bigger, which I don't want to happen.

Appreciate the help!

Thanks,

Holly

 

https://porpoise-mandarin-63tw.squarespace.com/

p/w: besos

  • Replies 2
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
Posted

#1. To use custom font, add this code to Website Tools (under Not Linked) > Custom CSS

/* Popup font */
div.sqs-slide-layer-content * {
    font-family: 'span' !important;
}

To center popup on mobile, use this CSS code

@media screen and (max-width:767px) {
.sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] .sqs-slide {
    top: 50% !important;
    bottom: unset !important;
    transform: translate(-50%, -50%) !important;
    position: fixed !important;
    left: 50%;
}
}

#2. Use this CSS

/* remove header overlay */
header#header {
    background-color: transparent !important;
}

#3. Can you share link to a page where you have problem?

#4. Use this CSS code

body.homepage .burger-inner>div {
    background-color: black !important;
}

#5. 

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!)

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.