Jump to content

Move buttons in header to the right - help please :)

Recommended Posts

Hi there, I am wanting to move the buttons in the header to the right hand side, and make them white on the home page so they are visible on a mainly black image, but black on the other pages. Also, where do I copy/paste the code? Thanks!

Screen Shot 2022-07-14 at 9.17.20 AM.png

Link to comment
  • Replies 8
  • Views 901
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

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

For the moving elements around please see the following.

For the color add the following to Design > Custom CSS.

.homepage:not( .header--menu-open ) .header-nav-wrapper a {

  color : white;
  
  }

This is for v7.1 and specific to the posters need.

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

Hi Creedon, thanks for sending that through. For the homepage it's working to move the buttons to the RHS, but not the colour change. I have then added in the movement code on the other pages to move the buttons over (but keep them black), and it's not working?

Link to comment
Quote

it's working to move the buttons to the RHS, but not the colour change

It appears to work to me.

1774647291_ScreenShot2022-07-19at5_27_42PM.png.4655a408b2988cdc58012d331885031c.png

The code I cited to move the nav only indicates one place to install the code. The effect is site-wide when installed there. It should not need to be installed anywhere else.

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

Weird, I'm definitely not seeing that. This is the code I have in the Design > Custom CSS

.header-actions.header-actions--right {
    flex-direction: row-reverse;
    justify-content: flex-start;
}
header#header a.btn {
    font-weight: bold !important;
}
.homepage:not( .header--menu-open ) .header-nav-wrapper a {
  color : white;
  }

 

Screen Shot 2022-07-20 at 2.12.59 PM.png

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.