jadeeleanor Posted February 9, 2022 Posted February 9, 2022 Site URL: https://www.jadeeleanor.com/ Hiya, I have a couple of double worded navigation titles that I'd like to stack on two lines - "Wedding Photography' and 'Brand Photography' and I'd like to stack them on two lines so my navigation title/menu isn't too long on desktop. Is there a way to do that? Thanks so much!
tuanphan Posted February 18, 2022 Posted February 18, 2022 On 2/10/2022 at 2:52 AM, jadeeleanor said: Site URL: https://www.jadeeleanor.com/ Hiya, I have a couple of double worded navigation titles that I'd like to stack on two lines - "Wedding Photography' and 'Brand Photography' and I'd like to stack them on two lines so my navigation title/menu isn't too long on desktop. Is there a way to do that? Thanks so much! Add to Design > Custom CSS nav.Header-nav.Header-nav--primary>div>span:nth-child(2):before { content: "Wedding"; font-size: 13px; text-align: center; display: block; } nav.Header-nav.Header-nav--primary>div>span:nth-child(3):before { content: "Brand"; font-size: 13px; text-align: center; display: block; } nav.Header-nav.Header-nav--primary>div>span:nth-child(2):after, nav.Header-nav.Header-nav--primary>div>span:nth-child(3):after { content: "Photography"; display: block; font-size: 13px; } nav.Header-nav.Header-nav--primary>div>span:nth-child(2), nav.Header-nav.Header-nav--primary>div>span:nth-child(3) { font-size: 0; } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment