Jump to content

How to stack multiple buttons vertically for desktop

Recommended Posts

  • Replies 6
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

On 1/18/2024 at 12:01 PM, kbw2024 said:

Can someone please help me figure out how to get these three buttons to stack vertically in my site header using code? I used code to create 2 of the 3 buttons. On desktop, I have to zoom out very far to see all three buttons. They look fine on mobile. 

https://chipmunk-bell-rjrp.squarespace.com

Password: deeproots123

Screenshot 2024-01-17 at 10.57.13 PM.png

You can add this code to Website Tools (under Not Linked) > Custom CSS

.header-actions .header-actions-action--cta {
    display: flex;
    flex-direction: column;
}

image.thumb.png.b8a623f2c20649148c6b292a1d9bb1a4.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

It appears you are using some really old code of mine. I suggest removing it and using to code cited in the following post.

The recent code has settings for column and row orientation.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
11 hours ago, kbw2024 said:

ah. which code specifically from that post should i use?

I pointed right to it but if you are not being taken there then look for my September 10, 2020 post in that thread.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
1 hour ago, kbw2024 said:

I see the post and updated the code but the problem persists.

I see no signs of my latest code and the old code is still installed.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.