Jump to content

Navigation Bar Customization - Page title on two lines

Recommended Posts

48 minutes ago, bmceuen said:

Site URL: https://onbrand.shop/

Hey all - just wondering if it's possible to make one of the pages on your nav bar have it's title appear across two lines?

Is it the result you want to achieve?

image.thumb.png.cb54ebb45ae84b69111a19d9a324cbf3.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
3 minutes ago, bmceuen said:

Nope - looking to have the single item "Text a Personal Stylist" on two lines - the rest of them on one line.

 

Hope that makes sense!

Try

.header-nav-item:first-child {
  width: 100%;
}

Let me know if it works properly on your site

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
32 minutes ago, bmceuen said:

Ah I see. That's not quite it. So I'm looking to create something like this

"Text A<br>Personal Stylist"     "Blog"     "FAQs"     "About"     "Log In"     "BUTTON" 

You can try the following Css code

.header-nav-item:first-child {
	width: 100%;
	position: relative;
}

.header-nav-item:first-child  a {
	display: flex;
	visibility: hidden;
	width: 0;
	position: static;
}

.header-nav-item:first-child a:before {
	position: absolute;
	right: 0;
	content: 'Text A';
	color: #294f6b;
	visibility: visible !important;
	width: 50%;
	color: inherit;
	font-size: inherit;
}

.header-nav-item:first-child a:after {
	content: 'Personal Stylist';
	color: #294f6b;
	visibility: visible !important;
	width: 50%;
	position: absolute;
	bottom: -33px;
	right: 0;
	color: inherit;
	font-size: inherit;
}

.header-nav-item:last-child {
	margin-right: 170px;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.