Jump to content

Is there a way to toggle floating menu in mobile view?

Recommended Posts

Site URL: https://terrier-plane-hgbb.squarespace.com/portfolio

Hi,

I research on here and google ways to toggle or hide the floating menu on mobile view. I tried various code but couldn't find a way to do it. Its case study for UX design and I want the viewer to be able to hide the floating menu when in mobile so it doesn't take up the screen. 

https://terrier-plane-hgbb.squarespace.com/portfolio

password: leslie

Thank you for the help. 

 

Screen Shot 2022-04-20 at 3.18.07 PM.png

Link to comment
  • Replies 4
  • Views 293
  • Created
  • Last Reply

Top Posters In This Topic

Hi Tuan, 

I have the Personal plan. :x So far I manage to get it to change color upon hover. I would prefer a small toggle to hide the menu. I am think perhaps something similar to this? Would it possilbe to do on the personal plan.

 

Screen Shot 2022-04-25 at 4.05.56 PM.png

Link to comment
1 hour ago, lfang2 said:

And I'm not sure what happen but my before & after section images are not showing up. Did I type something in the code that broke it? I tested it by creating a simple list on another page and images show up.

 

Screen Shot 2022-04-25 at 4.31.22 PM.png

Ok, It the code block that cause this issues.

Quote

<ul class="tp-float-buttons">
        <li><a href="#research">Research</a></li>
        <li><a href="#ideation">Ideation & Lo Fi</a></li>
        <li><a href="#evaluation">Evaluation & Iteration</a></li>
        <li><a href="#highfi">High-Fi Design</a></li>
        <li><a href="#documentation">Doucmentation</a></li>
</ul>
<style>
ul.tp-float-buttons {
    position: fixed;
    top: 65%;
    left: 6px;
    z-index: 999;
    list-style: none;
    padding-left: 6px;
    margin: 10;
}
ul.tp-float-buttons a {
    color: lightgrey;
    background-color: transparent; 
    padding: 6px;
    margin-bottom: 10px !important;
    display:left-block;
    min-width: 25px;
    text-align: left;
}

  }

How would I go about fixing this in the CSS? 

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.