Jump to content

How to move the Back button on navigation sub-menu

Go to solution Solved by tuanphan,

Recommended Posts

Hi Tuanphan,

Thanks for your help.

That code has moved the Back button to the bottom, which is what I was looking for.

However, now the menu items are reversed. I have attached an image. The order should be the same as the desktop menu, which is as follows.

Screeding:

  • Liquid Screed
  • Self-levelling
  • Products

Other Services:

  • Floor Preparation
  • Laitance Removal
  • Remedials

Best,

Alex 

Order reversed.JPG

Edited by AlexRich
Link to comment
  • Solution

Use this new code

[data-folder]:not([data-folder="root"])>div {
    flex-direction: column-reverse;
}
[data-folder]:not([data-folder="root"])>div>div:nth-child(2) {
    order: 4;
}
[data-folder]:not([data-folder="root"])>div>div:nth-child(3) {
    order: 3;
}
[data-folder]:not([data-folder="root"])>div>div:nth-child(4) {
    order: 2;
}

 

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.