Jump to content

Recommended Posts

  • Replies 4
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

On 4/2/2024 at 7:54 PM, HeloiseStudioJone said:

Hi tuanphanYes I mean this 🙂

You can use this code to Website > Website Tools > Code Injection > Footer. Replace example text/url with your text/url

<ul class="side-nav">
  <li><a href="https://www.google.com">Réserver</a></li>
  <li><a href="https://www.facebook.com">Offres</a></li>
  <li><a href="https://www.amazon.com">Calendrier</a></li>
  <li><a href="https://www.instagram.com">FAQ</a></li>
</ul>

and this code to Custom CSS box

ul.side-nav {
  list-style-type: none;
  padding: 10px 0;
  margin: 0;
  width: 50px;
  background-color: #a6bcdb;
  border-radius: 10px;
  position: fixed;
  right: 0;
  left: unset;
}

ul.side-nav li {
  display: flex;
  justify-content: center;
}

ul.side-nav li a {
  color: #000;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  background-color: inherit;
  writing-mode: vertical-rl;
  padding: 12px 8px;
  text-align: center;
  border-radius: 10px;
  font-family: Roboto, sans-serif;
}

ul.side-nav li a.active, ul.side-nav li a:hover {
  background-color: #fff;
  color: black;
  cursor: pointer;
}

image.png.e6911521312b7f2850b41f9366111fe9.png

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.