tarun Posted March 9 Posted March 9 (edited) Hi - I have a client who chose the Hidano theme. I wasn't a huge fan of the design but the client wanted to choose it so I started work. When reached a midpoint, I shared what I had and, of course, she wasn't a fan of the menu navigation on the front of the page. Her existing site has a menu that is bottom-left justified. I took a look at the CSS and there are hundreds of styles governing this portfolio-menu, which appears to be the class that controls this. I tried to use the flex that I knew to adjust, but I'm hitting the limits of my knowledge. Can someone help unblock me with some CSS injection that would achieve moving the main "navigation" to the bottom left? https://tarantula-gerbil-46xy.squarespace.com pw: cwdesign Edited March 9 by tarun added link and pw
tarun Posted March 9 Author Posted March 9 Here's the website by the way: https://tarantula-gerbil-46xy.squarespace.com
sorca_marian Posted March 9 Posted March 9 Password of the site? 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design Services 📅 Todoist alternative | Increase your Productivity 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 300 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn
tarun Posted March 9 Author Posted March 9 Playing around with the CSS, I do see I can set a property to `flex-end` which helps, but I can't get the text to left justify and also I'd prefer the size to be fixed (doesn't grow with the page, but does flow when resized.
Solution tarun Posted March 9 Author Solution Posted March 9 Figured it out; Hidano does have a few built in options to set the size (they are referred to as portfolio settings); then it was a matter of filling out the following CSS. The last bit is a bit of a bad hack to get things to align to the site title, but it flows fine so going to leave it... .portfolio-hover[data-vertical-align="middle"][data-mode="hover-cover"] .portfolio-hover-items { justify-content: flex-end; } .portfolio-hover[data-layout="inline"][data-delimiter="forward-slash"] .portfolio-hover-item:not(:last-child) .portfolio-hover-item-title::after, .portfolio-hover[data-layout="inline"][data-delimiter="forward-slash"][data-mode="hover-cover"] li:not(:last-child) .portfolio-hover-item .portfolio-hover-item-title::after { content: "|"; } @media screen and (max-width: 575px) { .portfolio-hover[data-layout="inline"][data-delimiter="forward-slash"] .portfolio-hover-item:not(:last-child) .portfolio-hover-item-title::after, .portfolio-hover[data-layout="inline"][data-delimiter="forward-slash"][data-mode="hover-cover"] li:not(:last-child) .portfolio-hover-item .portfolio-hover-item-title::after { content: none; } } .portfolio-hover[data-horizontal-align="center"][data-mode="hover-cover"] .portfolio-hover-items { align-items: flex-start; } .portfolio-hover[data-horizontal-align="center"][data-mode="hover-cover"] .portfolio-hover-items-list { align-items: flex-start; justify-content: flex-start; text-align: left; } .portfolio-hover[data-mode="hover-cover"] .portfolio-hover-items-list { padding: 1.5vw; } .portfolio-hover-items-list { margin-left: -30px; }
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment